wangsheng has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16606 )

Change subject: IMPALA-10166 (part 1): ALTER TABLE for Iceberg tables
......................................................................


Patch Set 9:

(4 comments)

Thanks for review!

http://gerrit.cloudera.org:8080/#/c/16606/8//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/16606/8//COMMIT_MSG@9
PS8, Line 9: implement
> nit: implements
Done


http://gerrit.cloudera.org:8080/#/c/16606/8/fe/src/main/java/org/apache/impala/analysis/AlterTableReplaceColsStmt.java
File fe/src/main/java/org/apache/impala/analysis/AlterTableReplaceColsStmt.java:

http://gerrit.cloudera.org:8080/#/c/16606/8/fe/src/main/java/org/apache/impala/analysis/AlterTableReplaceColsStmt.java@25
PS8, Line 25: import org.apache.impala.catalog.FeKuduTable;
> Is this import needed?
Done


http://gerrit.cloudera.org:8080/#/c/16606/8/fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/16606/8/fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java@118
PS8, Line 118: support
> nit: supports
Done


http://gerrit.cloudera.org:8080/#/c/16606/8/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test
File 
testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test:

http://gerrit.cloudera.org:8080/#/c/16606/8/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test@117
PS8, Line 117: ALTER TABLE iceberg_test3 RENAME TO iceberg_test3_new;
> Instead of creating a new table here, could you re-use any of the ones abov
I can use 'iceberg_test3' to replace 'iceberg_test9', since 'iceberg_test3' is 
a normal 'hadoop.tables' table. But iceberg_test10 is necessary here, since we 
don't create a normal 'hadoop.catalog' table above.
So I replace 'iceberg_test9' by 'iceberg_test3', and rename 'iceberg_test10' to 
'iceberg_test9'.
Shall we can reuse these table name, such as 'iceberg_test1' to replace 
'iceberg_test10'?



--
To view, visit http://gerrit.cloudera.org:8080/16606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5104cc47c7b42dacdb52983f503cd263135d6bfc
Gerrit-Change-Number: 16606
Gerrit-PatchSet: 9
Gerrit-Owner: wangsheng <sky...@163.com>
Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <gaborkas...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>
Gerrit-Reviewer: wangsheng <sky...@163.com>
Gerrit-Comment-Date: Fri, 30 Oct 2020 03:00:02 +0000
Gerrit-HasComments: Yes

Reply via email to