CREATE EXTERNAL TABLE
does not support schema (fully qualified names)
#12607
Labels
bug
Something isn't working
Describe the bug
DataFusion will create external tables with qualified names as though they were single names
For example, this statement will create a table name
"staging.foo"
in the default schema, rather than a table namedfoo
in thestaging
schemaTo Reproduce
Create foo.csv:
Run SQL:
Note the table is in the default (
public
) schema:Expected behavior
The external table should be named
foo
in thestaging
schemaNote this works as expected for
CREATE TABLE
(just notCREATE EXTERNAL TABLE
)Additional context
Found by @matthewmturner in datafusion-contrib/datafusion-dft#154 (comment)
The text was updated successfully, but these errors were encountered: