Impala Public Jenkins has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/24678
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M tests/custom_cluster/test_automatic_invalidation.py
1 file changed, 9 insertions(+), 9 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

Objections:
  Steve Carlin: I would prefer this is not merged as is

--
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: merged
Gerrit-Change-Id: I3298ea681f2a40bcd48eeadbf08b1c819c7e6765
Gerrit-Change-Number: 24678
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to