-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2447] feat(spark-connector): support alter table AddColumn and Drop…
…Column for spark-connector (#2458) ### What changes were proposed in this pull request? support alterTable addColumn and dropColumn for spark-connector in AlterTableCommand. ### Why are the changes needed? Implement addColumn and dropColumn ops for Spark AlterTableCommand. Fix: [#2447](#2447) ### Does this PR introduce _any_ user-facing change? Yes, users can run the following commands to modify the table columns using spark sql. ``` ALTER TABLE StudentInfo ADD columns (col1 string); ALTER TABLE StudentInfo DROP columns (col1); ``` ### How was this patch tested? New uts.
- Loading branch information
Showing
3 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters