Fix order by in test_storage_delta

This commit is contained in:
vdimir 2023-04-18 14:25:21 +00:00
parent c06b580890
commit e34dcabeca
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -251,8 +251,10 @@ def test_checkpoint(started_cluster):
assert (
instance.query(f"SELECT * FROM {TABLE_NAME} ORDER BY 1").strip()
== instance.query(
"SELECT * FROM ("
"SELECT number, toString(number + 1) FROM numbers(5) "
"UNION ALL SELECT number, toString(number + 1) FROM numbers(10, 15) ORDER BY 1"
"UNION ALL SELECT number, toString(number + 1) FROM numbers(10, 15) "
") ORDER BY 1"
).strip()
)