Andre9580 commented on PR #4630:
URL: https://github.com/apache/iceberg/pull/4630#issuecomment-1111631982
It seems like a test `org.apache.iceberg.spark.sql.TestDeleteFrom` is
failing for `Spark 3.0` although the test is successful for Spark `3.1` and
`3.2`.
```
org.apache.iceberg.spark.sql.TestDeleteFrom >
testDeleteFromUnpartitionedTable[catalogName = testhadoop, implementation =
org.apache.iceberg.spark.SparkCatalog, config = {type=hadoop}] FAILED
java.lang.AssertionError: [Should not delete when not all rows of a file
match the filter]
Expecting actual throwable to be an instance of:
java.lang.IllegalArgumentException
but was:
org.apache.iceberg.exceptions.ValidationException: Cannot delete file
where some, but not all, rows match filter ref(name="id") < 2:
file:/var/folders/_y/3bcnyg2s5hvfrbvr715c06n40000gn/T/warehouse5192576849229022400.tmp/default/table/data/00000-6-dbcb782f-4f45-4758-97e1-e6635f5fab97-00001.parquet
at
org.apache.iceberg.exceptions.ValidationException.check(ValidationException.java:50)
at
org.apache.iceberg.ManifestFilterManager.manifestHasDeletedFiles(ManifestFilterManager.java:365)
at
org.apache.iceberg.ManifestFilterManager.filterManifest(ManifestFilterManager.java:307)
...(9 remaining lines not displayed - this can be changed with
Assertions.setMaxStackTraceElementsDisplayed)
at
org.apache.iceberg.AssertHelpers.assertThrows(AssertHelpers.java:47)
at
org.apache.iceberg.spark.sql.TestDeleteFrom.testDeleteFromUnpartitionedTable(TestDeleteFrom.java:65)
```
--
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]