update test

This commit is contained in:
lgbo-ustc 2022-02-28 17:14:56 +08:00 committed by liangjiabiao
parent 5885cfd869
commit afad4bf414

View File

@ -76,7 +76,7 @@ def test_parquet_in_filter(started_cluster):
logging.info('Start testing groupby ...') logging.info('Start testing groupby ...')
node = started_cluster.instances['h0_0_0'] node = started_cluster.instances['h0_0_0']
result = node.query(""" result = node.query("""
SELECT day, count(*) FROM default.demo_parquet_parts where day = '2021-11-05' and hour in ('00') SELECT count(*) FROM default.demo_parquet_parts where day = '2021-11-05' and hour in ('00')
""") """)
expected_result = """2021-11-05 2""" expected_result = """2021-11-05 2"""
assert result == expected_result assert result == expected_result