Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
object_name_to_table_reference in datafusion::sql::planner - Rust
[go: Go Back, main page]

Function object_name_to_table_reference

Source
pub fn object_name_to_table_reference(
    object_name: ObjectName,
    enable_normalization: bool,
) -> Result<TableReference, DataFusionError>
Expand description

Create a TableReference after normalizing the specified ObjectName

Examples

['foo']          -> Bare { table: "foo" }
['"foo.bar"]]    -> Bare { table: "foo.bar" }
['foo', 'Bar']   -> Partial { schema: "foo", table: "bar" } <-- note lower case "bar"
['foo', 'bar']   -> Partial { schema: "foo", table: "bar" }
['foo', '"Bar"'] -> Partial { schema: "foo", table: "Bar" }