huaxingao opened a new pull request, #14956:
URL: https://github.com/apache/iceberg/pull/14956
Fix flaky ordering in Spark
`TestSelect.testSelectWithSpecifiedTargetSplitSize()`
```
TestRemoteScanPlanning > testSelectWithSpecifiedTargetSplitSize() >
catalogName = testrest, implementation = org.apache.iceberg.spark.SparkCatalog,
config = {type=rest, cache-enabled=false, uri=http://localhost:36105/,
rest-scan-planning-enabled=true}, binaryTableName =
testrest.default.binary_table FAILED
org.opentest4j.AssertionFailedError: [Should return all expected rows:
row 1 contents should match]
expected: 1L
but was: 2L
at
app//org.apache.iceberg.spark.SparkTestHelperBase.assertEquals(SparkTestHelperBase.java:91)
at
app//org.apache.iceberg.spark.SparkTestHelperBase.assertEquals(SparkTestHelperBase.java:67)
at
app//org.apache.iceberg.spark.sql.TestSelect.testSelectWithSpecifiedTargetSplitSize(TestSelect.java:124)
```
Also fix a few other places that could cause ordering problem.
--
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]