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

Change subject: IMPALA-10432: INSERT INTO Iceberg tables with partition 
transforms
......................................................................


Patch Set 3:

(4 comments)

Thanks for working on this new feature!

http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/analysis/InsertStmt.java
File fe/src/main/java/org/apache/impala/analysis/InsertStmt.java:

http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/analysis/InsertStmt.java@922
PS3, Line 922: funcNameStr == ""
For string type compared, maybe "funcNameStr.equals("")" is better?


http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/analysis/InsertStmt.java@944
PS3, Line 944: tranform
typo: transform


http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/analysis/InsertStmt.java@948
PS3, Line 948:       case HOUR: return "from_timestamp";
             :       case DAY: return "to_date";
             :       case MONTH: return "from_timestamp";
Shall we use:
      case HOUR:
      case MONTH: return "from_timestamp";
      case DAY: return "to_date";
to remove unnecessary?


http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java
File fe/src/main/java/org/apache/impala/util/IcebergUtil.java:

http://gerrit.cloudera.org:8080/#/c/16939/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java@538
PS3, Line 538: String HIVE_NULL = "__HIVE_DEFAULT_PARTITION__";
Shall we use 'DEFAULT_NULL_PARTITION_KEY_VALUE' in MetaStoreUtil to replace 
this string constant?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3edf02048cea78703837b248c55219c22d512b78
Gerrit-Change-Number: 16939
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: wangsheng <[email protected]>
Gerrit-Comment-Date: Fri, 15 Jan 2021 08:14:30 +0000
Gerrit-HasComments: Yes

Reply via email to