Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23044


Change subject: IMPALA-14142: Fix 
TestIcebergV2Table.test_compute_stats_table_sampling
......................................................................

IMPALA-14142: Fix TestIcebergV2Table.test_compute_stats_table_sampling

TestIcebergV2Table.test_compute_stats_table_sampling was failing in
ARM release builds. However, COMPUTE STATS with TABLESAMPLE is
inherently non-deterministic due to its use of SAMPLED_NDV().

This patch completely rewrites the tests and moves them to
test_stats_extrapolation.py to test Iceberg tables similarly to
legacy tables.

'diff_perc' argument of appx_equals() method was also updated in
the tests, as with the previous value (1.0) it only reported errors
for negative estimates.

Change-Id: I98b07b156aad300827c9e1b7970b8dfacfc6d251
---
D 
testdata/workloads/functional-query/queries/QueryTest/iceberg-v2-compute-stats-table-sampling.test
M tests/metadata/test_stats_extrapolation.py
M tests/query_test/test_iceberg.py
3 files changed, 52 insertions(+), 252 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/44/23044/1
--
To view, visit http://gerrit.cloudera.org:8080/23044
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I98b07b156aad300827c9e1b7970b8dfacfc6d251
Gerrit-Change-Number: 23044
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to