This repository was archived by the owner on Jan 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: automatically converting csv to parquet (#181)
**Summary**: Automatically converting CSV to Parquet before generating stats on the Parquet files. **Demo**:  **Details**: * For robustness, we don't use schema inference. We build a temporary DataFusion context, create the tables with the DDL statements, and then get the schema from DataFusion. * I forked csv2parquet [here](https://github.com/wangpatrick57/arrow-tools). One notable change is that it's now a library instead of a binary. Also, we turn empty strings for nullable Utf8 columns into nulls in-memory, because arrow's CSV reader doesn't seem to do this for Utf8 types. This has a huge effect on q-error on JOB.
- Loading branch information
1 parent
182b052
commit 5255d8d
Showing
6 changed files
with
180 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.