-
Notifications
You must be signed in to change notification settings - Fork 85
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
Support COPY TO statement #1716
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1716 +/- ##
==========================================
- Coverage 89.53% 89.49% -0.04%
==========================================
Files 827 834 +7
Lines 30310 30482 +172
==========================================
+ Hits 27138 27281 +143
- Misses 3172 3201 +29
☔ View full report in Codecov by Sentry. |
7d9dc88
to
f065099
Compare
src/include/planner/logical_plan/logical_operator/logical_copy_to.h
Outdated
Show resolved
Hide resolved
src/include/planner/logical_plan/logical_operator/logical_copy_to.h
Outdated
Show resolved
Hide resolved
934dcd1
to
943b716
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up to planning looks good to me. Good job.
acd94db
to
fbdfe2a
Compare
8e015b1
to
efda387
Compare
cee196a
to
71a3e39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR introduces the command
COPY ([QUERY]) TO [file]
.The command above will execute the passed query and store the results into the defined file. In this PR, it only supports
.csv
extension, so.parquet
files will be supported in a separated one.Example:
Related to #1692