Aleksandr Efimov has posted comments on this change. ( http://gerrit.cloudera.org:8080/24852 )
Change subject: IMPALA-15358: Cap Kudu DML writers to hash partition count ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/24852/2/fe/src/main/java/org/apache/impala/planner/DistributedPlanner.java File fe/src/main/java/org/apache/impala/planner/DistributedPlanner.java: http://gerrit.cloudera.org:8080/#/c/24852/2/fe/src/main/java/org/apache/impala/planner/DistributedPlanner.java@372 PS2, Line 372: computeKuduHashPartitionCount((FeKuduTable) dmlStmt.getTargetTable()); With hash + range partitions, Kudu numbers partitions hash-first, so this cap can put an insert into one range on a single writer. On master, HASH(id) PARTITIONS 4 plus 4 ranges, 12 writers: an insert into one range used 3 of them, with the cap of 4 it would be 1. Maybe cap only when there are no range partitions? -- To view, visit http://gerrit.cloudera.org:8080/24852 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia3644fb245ceac72e91ed70c8c0392f65df75fde Gerrit-Change-Number: 24852 Gerrit-PatchSet: 2 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: David Rorke <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Thu, 24 Sep 2026 06:07:27 +0000 Gerrit-HasComments: Yes
