-
Notifications
You must be signed in to change notification settings - Fork 392
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
[Subtask] support add table property and remove table property for spark-connector #2448
Comments
Hi @FANNG1 could you assign it to me? |
Hi @FANNG1 Should I support all tablechange in one pr? |
One or two PR are ok for me, It's depends on you, please note that some TableChange issues are assigned to other developers. |
got it. |
There is an initial implement about UpdateColumnPostion #2454, you could reference to it if not familiar with spark-connector :) |
…moveProperty ops for spark-connector
…moveProperty for spark-connector (#2456) ### What changes were proposed in this pull request? support add table property and remove table property for spark-connector in AlterTableCommand. ### Why are the changes needed? Implement setProperty and RemoveProperty ops for Spark AlterTableCommand. Fix: [#2448](#2448) ### Does this PR introduce _any_ user-facing change? Yes, users can run the following commands to modify the table properties using spark sql. ``` -- Alter TABLE property Using SET PROPERTIES ALTER TABLE gravitino_catalog.dbx.tab1 SET TBLPROPERTIES ('key1' = 'value1'); -- DROP TABLE PROPERTIES ALTER TABLE gravitino_catalog.dbx.tab1 UNSET TBLPROPERTIES ('key1'); ``` ### How was this patch tested? new uts.
Describe the subtask
Describe the subtask
please add related code to
com.datastrato.gravitino.spark.catalogGravitinoCatalog.java
, transfrom Spark TableChange to Gravitino TableChange, you could refer torenameTable
implementRelated Spark SQL should add to
SparkIT.java
, please refer https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-alter-table.htmlParent issue
#1227
The text was updated successfully, but these errors were encountered: