Joe McDonnell created IMPALA-15209:
--------------------------------------

             Summary: TestHBO tests are failing when using Calcite
                 Key: IMPALA-15209
                 URL: https://issues.apache.org/jira/browse/IMPALA-15209
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend, Test
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


Several tests in query_test/test_hbo.py are failing when using the Calcite 
planner. These are due to different row sizes (IMPALA-15019):
{noformat}
query_test/test_hbo.py:73: in 
test_single_scan_cardinality_partitioned_with_stats
    self._run_hbo_explains('QueryTest/hbo-single-scan-partitioned-stats')
        self       = <test_hbo.TestHBO object at 0x7f712c263a10>
query_test/test_hbo.py:63: in _run_hbo_explains
    assert actual_cardinality_lines == expected_cardinality_lines,
...

assert ['|  row-size...5 (from HBO)'] == ['|  row-size...5 (from HBO)']
  At index 2 diff: '   row-size=21B cardinality=365 (from HBO)' != '   
row-size=17B cardinality=365 (from HBO)'
  Full diff:
    [
     '|  row-size=8B cardinality=1',
     '|  row-size=8B cardinality=3',
  -  '   row-size=17B cardinality=365 (from HBO)',
  ?                -
  +  '   row-size=21B cardinality=365 (from HBO)',
  ?               +
    ]{noformat}
Until IMPALA-15019 is addressed, we should not run these tests with Calcite.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to