Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: std.sql.read_csv is compiled to read_csv in SQL by default #3599

Merged
merged 5 commits into from
Oct 4, 2023

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented Oct 4, 2023

Currently the PRQL's read_csv function compiles to read_csv_auto, which exists only in DuckDB, but Polars SQL has read_csv, and read_csv may be also added in DataFusion in the future (apache/datafusion#4850).

I feel it would be more appropriate for PRQL's read_csv to compile to read_csv by default and only in the DuckDB dialect to compile to read_csv_auto.

@max-sixty
Copy link
Member

Very nice, thanks!

@eitsupi eitsupi merged commit 55d9996 into PRQL:main Oct 4, 2023
33 checks passed
@eitsupi eitsupi deleted the duckdb-read_csv branch October 4, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants