Xiaoqing Gao has posted comments on this change. ( http://gerrit.cloudera.org:8080/18729 )
Change subject: IMPALA-4052: CREATE TABLE LIKE for Kudu tables ...................................................................... Patch Set 29: (1 comment) http://gerrit.cloudera.org:8080/#/c/18729/29/fe/src/main/java/org/apache/impala/catalog/FeKuduTable.java File fe/src/main/java/org/apache/impala/catalog/FeKuduTable.java: http://gerrit.cloudera.org:8080/#/c/18729/29/fe/src/main/java/org/apache/impala/catalog/FeKuduTable.java@151 PS29, Line 151: for (RangeWithHashSchema rangeWithHashSchema : Hi, Alexey Can this interface be public for users to call? https://github.com/apache/kudu/blob/master/java/kudu-client/src/main/java/org/apache/kudu/client/PartitionSchema.java#L213 I also tried calling other interfaces. For example, the create statement is as follows: create table custom_hash_range_single (id int, c2 int, primary key(id, c2)) partition by hash(id) partitions 3, range (c2) ( partition 0 <= values < 10 , partition 10 <= values < 20 hash partitions 2 , partition 20 <= values < 30 hash(c2) partitions 3 , partition 30 <= values < 40 hash(id) partitions 4 , partition 40 <= values < 50 hash(id, c2) partitions 5 ) stored as kudu; For this case, kuduTable.getRangePartitions(BackendConfig.INSTANCE.getKuduClientTimeoutMs()) returns five partitions. partitionSchema.getRangesWithHashSchemas() returns four range with hash schemas. I didn't find a flag that can match the two one by one. -- To view, visit http://gerrit.cloudera.org:8080/18729 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia3d276a6465301dbcfed17bb713aca06367d9a42 Gerrit-Change-Number: 18729 Gerrit-PatchSet: 29 Gerrit-Owner: Xiaoqing Gao <gaoxq...@gmail.com> Gerrit-Reviewer: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com> Gerrit-Reviewer: Xiaoqing Gao <gaoxq...@gmail.com> Gerrit-Comment-Date: Wed, 14 Dec 2022 04:38:09 +0000 Gerrit-HasComments: Yes