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

[feature] support spark overwrite into starrocks #126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ZhendongBai
Copy link

@ZhendongBai ZhendongBai commented Nov 14, 2024

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #125

Problem Summary(Required) :

  1. We implement the overwrite operation by using a temporary partition and atomically replacing the partition. After the job finishes, we create a new table and write to it.
  2. The swap table statement can be used to perform the overwrite operation on the entire table.
  3. However, expression partitioning does not allow the creation of partitions through the ALTER TABLE statement. This limitation means that tables using expression partitioning do not support the overwrite operation.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
  • I have added documentation for my new feature or new function

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2024

CLA assistant check
All committers have signed the CLA.

@ZhendongBai ZhendongBai force-pushed the feature_support_overwrite branch from 6c538db to fc044b3 Compare November 14, 2024 10:44
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.

support overwrite writing starrocks.
2 participants