tshauck commented on issue #19046: URL: https://github.com/apache/datafusion/issues/19046#issuecomment-3617876921
@2010YOUY01 -- How do you imagine... ``` > CREATE EXTERNAL TABLE hits STORED AS PARQUET LOCATION '/foo/bar.parquet'; ``` ... be handled then? The current behavior is to create an empty `hits` table, which is why this gets to the point to fail with a schema error. IMO, it'd be better to error in this case, then presumably we'd improve the error message for this case too. This is somewhat of a drastic change in behavior, which would be my only hesitatiion. As a comparison, duckdb does not have `CREATE EXTERNAL TABLE`, just a create from select, which does error if the file isn't found. For spark, which has `CREATE EXTERNAL TABLE` capabilities, I believe it will also fail due to the file not existing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
