Skip to content

Conversation

@felixYyu
Copy link
Contributor

@felixYyu felixYyu commented Jan 9, 2022

this PR fix #3558

sql("ALTER TABLE %s ADD IF NOT EXISTS PARTITION (id_bucket=2, data_trunc='2022', ts_hour='2022-01-08-23')", tableName);

sql("ALTER TABLE %s DROP IF EXISTS PARTITION (id_bucket=2, data_trunc='2022', ts_hour='2022-01-08-23')", tableName);

sql("SHOW PARTITIONS %s", tableName);
+---------------------------------------------------+
|partition                                          |
+---------------------------------------------------+
|id_bucket=2/data_trunc=2022/ts_hour=2022-01-08-23|
+---------------------------------------------------+

@RussellSpitzer @rdblue please review this PR code, thanks very much.

@github-actions github-actions bot added the spark label Jan 9, 2022
@felixYyu
Copy link
Contributor Author

@felixYyu
Copy link
Contributor Author

cc @rdblue @jackye1995 can you help me to review. thanks.

@felixYyu
Copy link
Contributor Author

Can you spare time in review @RussellSpitzer

@felixYyu felixYyu requested a review from RussellSpitzer March 2, 2022 05:37
@felixYyu felixYyu requested a review from szehon-ho March 31, 2022 08:45
@github-actions
Copy link

github-actions bot commented Aug 7, 2024

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 7, 2024
@github-actions
Copy link

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spark: Support alter partition in V2 Catalog SparkCatalog Class

4 participants