alamb commented on issue #10720: URL: https://github.com/apache/datafusion/issues/10720#issuecomment-2152331409
> Hey @alamb, need some help while implementing the wildcard functions. Did datafusion support select from a wildcard of external files, e.g., select * from 's3://some-bucket/test/*.parquet'. I read through the doc but failed to find a proper example.. I don't think it supports wildcards but instead the Listing table to read all the files in a directory (that have the correct extension): https://datafusion.apache.org/user-guide/sql/ddl.html#create-external-table ```sql CREATE EXTERNAL TABLE test STORED AS CSV LOCATION '/path/to/directory/of/files' OPTIONS ('has_header' 'true'); ``` -- 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]
