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: [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]

Reply via email to