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: copy into table with columns. #11371

Merged
merged 5 commits into from
May 11, 2023
Merged

Conversation

youngsofun
Copy link
Member

@youngsofun youngsofun commented May 9, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • support PARQUET and non-PARQUET
  • support PARQUET copy with transform

e.g.

copy into test_copy_p3(b, c) from @my_stage FILE_FORMAT = (type = CSV)
copy into test_copy_p3(b, c) from @my_stage FILE_FORMAT = (type = PARQUET)
copy into test_copy_p3(b, c) from (select t.b+1, t.c+1 from @my_stage t) FILE_FORMAT = (type = PARQUET)"

Closes #10582


This change is Reviewable

@vercel
Copy link

vercel bot commented May 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
databend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 11, 2023 0:21am

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label May 9, 2023
@youngsofun youngsofun requested review from Xuanwo and sundy-li May 9, 2023 04:42
@mergify mergify bot merged commit 98a6ff1 into databendlabs:main May 11, 2023
@BohuTANG
Copy link
Member

This is a transform feature during data loading, it would be greate we introduce it in the doc, cc @soyeric128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support columns for COPY INTO <TABLE>
4 participants