Arnab Karmakar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24678
Change subject: IMPALA-15255: Fix test_invalidation_metrics flake with Calcite planner ...................................................................... IMPALA-15255: Fix test_invalidation_metrics flake with Calcite planner The test_invalidation_metrics test was flaking in CI when the Calcite planner was enabled. With a 1s TTL, complex queries like COUNT(*) and JOIN operations could take long enough to compile and execute that TTL invalidation would trigger while the same query was still in flight, causing re-requests of table metadata and inflating the invalidation counter beyond expected values. This changes test queries to use DESCRIBE for single-table tests and a simple UNION ALL for multi-table tests. These operations load table metadata with minimal planning and execution overhead, ensuring each TTL invalidation round completes before the timeout expires and keeping invalidation counts predictable. Testing: - Verified no test flakiness when stress-testing 50 runs with Calcite enabled and 50 runs without, all passing with strict assertions. Change-Id: I3298ea681f2a40bcd48eeadbf08b1c819c7e6765 --- M tests/custom_cluster/test_automatic_invalidation.py 1 file changed, 9 insertions(+), 9 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/78/24678/1 -- To view, visit http://gerrit.cloudera.org:8080/24678 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3298ea681f2a40bcd48eeadbf08b1c819c7e6765 Gerrit-Change-Number: 24678 Gerrit-PatchSet: 1 Gerrit-Owner: Arnab Karmakar <[email protected]>
