You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/10/02 00:43:49 UTC

[GitHub] [iceberg] wangyum commented on a diff in pull request #5783: [WIP] Build: Update Spark to 3.3.1

wangyum commented on code in PR #5783:
URL: https://github.com/apache/iceberg/pull/5783#discussion_r985161505


##########
build.gradle:
##########
@@ -96,6 +96,7 @@ allprojects {
   group = "org.apache.iceberg"
   version = projectVersion
   repositories {
+    maven { url  "https://repository.apache.org/content/repositories/orgapachespark-1418/" }

Review Comment:
   @Fokko Do you know how to run a single test? I'd like to run these tests locally:
   ```
   org.apache.iceberg.spark.extensions.TestRewriteDataFilesProcedure > testRewriteDataFilesOnNonPartitionTable[catalogName = testhive, implementation = org.apache.iceberg.spark.SparkCatalog, config = {type=hive, default-namespace=default}] FAILED
       java.lang.AssertionError: Action should rewrite 10 data files and add 1 data files: row 1 col 1 contents should match expected:<10> but was:<7>
           at org.junit.Assert.fail(Assert.java:89)
           at org.junit.Assert.failNotEquals(Assert.java:835)
           at org.junit.Assert.assertEquals(Assert.java:120)
           at org.apache.iceberg.spark.SparkTestBase.assertEquals(SparkTestBase.java:181)
           at org.apache.iceberg.spark.SparkTestBase.assertEquals(SparkTestBase.java:163)
           at org.apache.iceberg.spark.extensions.TestRewriteDataFilesProcedure.testRewriteDataFilesOnNonPartitionTable(TestRewriteDataFilesProcedure.java:104)
   
   org.apache.iceberg.spark.extensions.TestRewriteDataFilesProcedure > testRewriteDataFilesWithZOrder[catalogName = testhive, implementation = org.apache.iceberg.spark.SparkCatalog, config = {type=hive, default-namespace=default}] FAILED
       java.lang.AssertionError: Action should rewrite 10 data files and add 1 data files: row 1 col 1 contents should match expected:<10> but was:<7>
           at org.junit.Assert.fail(Assert.java:89)
           at org.junit.Assert.failNotEquals(Assert.java:835)
           at org.junit.Assert.assertEquals(Assert.java:120)
           at org.apache.iceberg.spark.SparkTestBase.assertEquals(SparkTestBase.java:181)
           at org.apache.iceberg.spark.SparkTestBase.assertEquals(SparkTestBase.java:163)
           at org.apache.iceberg.spark.extensions.TestRewriteDataFilesProcedure.testRewriteDataFilesWithZOrder(TestRewriteDataFilesProcedure.java:171)
   ```



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org