kevinjqliu commented on code in PR #3743:
URL: https://github.com/apache/iceberg-python/pull/3743#discussion_r3700337731
##########
tests/integration/test_writes/test_partitioned_writes.py:
##########
@@ -748,8 +748,11 @@ def
test_dynamic_partition_overwrite_evolve_partition(spark: SparkSession, sessi
tbl.dynamic_partition_overwrite(arrow_table)
result = tbl.scan().to_arrow()
- assert result["place"].to_pylist() == ["Groningen", "Amsterdam",
"Drachten"]
- assert result["inhabitants"].to_pylist() == [238147, 921402, 44940]
+ assert sorted(zip(result["place"].to_pylist(),
result["inhabitants"].to_pylist(), strict=True)) == [
Review Comment:
this change is necessary because it was previously relying on the ordering
of the manifest.
Merge append may reorder manifests, and Iceberg scans do not guarantee row
order.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]