Skip to content

Commit

Permalink
fix(tests): make parquet select deterministic with order by (apache#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Sep 2, 2021
1 parent 02798a3 commit 070fdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration_tests/csv_upload_tests.py
Expand Up @@ -420,7 +420,7 @@ def test_import_parquet(setup_csv_upload, create_columnar_files):
data = (
get_upload_db()
.get_sqla_engine()
.execute(f"SELECT * from {PARQUET_UPLOAD_TABLE}")
.execute(f"SELECT * from {PARQUET_UPLOAD_TABLE} ORDER BY b")
.fetchall()
)
assert data == [("john", 1), ("paul", 2)]
Expand All @@ -435,7 +435,7 @@ def test_import_parquet(setup_csv_upload, create_columnar_files):
data = (
get_upload_db()
.get_sqla_engine()
.execute(f"SELECT * from {PARQUET_UPLOAD_TABLE}")
.execute(f"SELECT * from {PARQUET_UPLOAD_TABLE} ORDER BY b")
.fetchall()
)
assert data == [("john", 1), ("paul", 2), ("max", 3), ("bob", 4)]

0 comments on commit 070fdbe

Please sign in to comment.