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: Add config option to enable converting CSV to columnar #871

Merged
merged 8 commits into from
Aug 27, 2024

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

N/A

Rationale for this change

Allow Comet to accelerate queries that read from CSV files.

What changes are included in this PR?

Add a config option to enable converting CSV file scans into Arrow format so that Comet can operate on the rest of the query.

How are these changes tested?

Simple test added. The feature is disabled by default and should only be enabled once we have more comprehensive tests.

@andygrove
Copy link
Member Author

@parthchandra could you review?

@andygrove andygrove merged commit 3d1dbb0 into apache:main Aug 27, 2024
74 checks passed
@andygrove andygrove deleted the csv branch August 27, 2024 14:38
Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review. LGTM.

himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
)

* CSV

* save progress

* test passes

* Revert additional json test

* fix path

* revert a change

* update docs

* scalastyle

(cherry picked from commit 3d1dbb0)
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.

3 participants