alamb commented on PR #16332: URL: https://github.com/apache/datafusion/pull/16332#issuecomment-2970544930
> rather than a function for each file type (read_parquet, read_csv, etc). You are correct that the latter is more common so will for this. I think the reason that DuckDB et al use a function for each file type is that it simplifies option handling (there are many options that are better suited for parquet that are not csv) That being said, adding a function like `read_file(..)` or `read_data(...)` that handled all file types might be a reasonable thing to do in `datafusion-cli` as then you could probably reuse most of the ListingTable code -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org