impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4524: Batch ALTER TABLE...ADD PARTITION calls.
Date Mon, 23 Oct 2017 17:20:28 GMT
Philip Zeyliger has posted comments on this change. (

Change subject: IMPALA-4524: Batch ALTER TABLE...ADD PARTITION calls.

Patch Set 8:


Thanks for the review, Alex!

I believe I addressed your comments. I've re-run test_alter_table_create_many_partitions (the
new test). I'm kicking off a full test run (
to make sure my Lists.partition() change wasn't fat-fingered somehow.

LD_LIBRARY_PATH=./toolchain/kudu-bec2a24/release/lib:$LD_LIBRARY_PATH infra/python/env/bin/py.test
tests/metadata/ -k test_alter_table_create_many_partitions -s
File fe/src/main/java/org/apache/impala/service/
PS7, Line 1958:           Lists.partition(allHmsPartitionsToAdd, MAX_PARTITION_UPDATES_PER_RPC))
> While you are here, can you also change bulkAlterPartitions() to use Lists.
File tests/metadata/
PS7, Line 514:     service.wait_for_metric_value(class_cache_misses_metric, class_cache_misses)
> This test doesn't belong in the TestLibCache class.
I moved it up in this faile in test_ddl. Good catch that this file had multiple classes; I
missed that somehow.

I found a test that does have multi-partition
add alter, but it's all about Hive/Impala compatibility, so I think is a slightly
better home here. I'm very happy to defer to you.
PS7, Line 519:     cache. create_stmts is the list of CREATE statements to be executed in
> "use" can generally cause problems in tests because we sometimes run a test
PS7, Line 527:     self.client.set_configuration(vector.get_value("exec_option"))
> This comment can become stale quickly. I suggest not adding it an output ro

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I95f8221ff08c0f126f951f7d37ff5e57985f855f
Gerrit-Change-Number: 8238
Gerrit-PatchSet: 8
Gerrit-Owner: Philip Zeyliger <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Philip Zeyliger <>
Gerrit-Comment-Date: Mon, 23 Oct 2017 17:20:28 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message