Amrish Lal created HUDI-6521:
--------------------------------

             Summary: Test Bulk Insert Into Bucket Index Table in 
TestInsertTable.scala is failing
                 Key: HUDI-6521
                 URL: https://issues.apache.org/jira/browse/HUDI-6521
             Project: Apache Hudi
          Issue Type: New Feature
            Reporter: Amrish Lal


The test case is failing in multiple builds with the following stack trace 
shown below. Disable test case to unblock the build until the failure can be 
investigated. The test case is failing as a result of changes made in this PR: 
https://github.com/apache/hudi/pull/9156
Expected Array([8]), but got Array([3])
ScalaTestFailureLocation: org.apache.spark.sql.hudi.HoodieSparkSqlTestBase at 
(HoodieSparkSqlTestBase.scala:109)
org.scalatest.exceptions.TestFailedException: Expected Array([8]), but got 
Array([3])
        at 
org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:528)
        at 
org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
        at org.scalatest.Assertions$class.assertResult(Assertions.scala:1023)
        at org.scalatest.FunSuite.assertResult(FunSuite.scala:1560)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase.checkAnswer(HoodieSparkSqlTestBase.scala:109)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65$$anonfun$apply$24$$anonfun$apply$25.apply(TestInsertTable.scala:1268)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65$$anonfun$apply$24$$anonfun$apply$25.apply(TestInsertTable.scala:1198)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase.withTempDir(HoodieSparkSqlTestBase.scala:77)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65$$anonfun$apply$24.apply(TestInsertTable.scala:1198)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65$$anonfun$apply$24.apply(TestInsertTable.scala:1197)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65.apply(TestInsertTable.scala:1197)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33$$anonfun$apply$mcV$sp$65.apply(TestInsertTable.scala:1196)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33.apply$mcV$sp(TestInsertTable.scala:1196)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33.apply(TestInsertTable.scala:1196)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26$$anonfun$apply$mcV$sp$33.apply(TestInsertTable.scala:1196)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase.withSQLConf(HoodieSparkSqlTestBase.scala:188)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26.apply$mcV$sp(TestInsertTable.scala:1195)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26.apply(TestInsertTable.scala:1195)
        at 
org.apache.spark.sql.hudi.TestInsertTable$$anonfun$26.apply(TestInsertTable.scala:1195)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase$$anonfun$test$1.apply(HoodieSparkSqlTestBase.scala:85)
        at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
        at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
        at org.scalatest.Transformer.apply(Transformer.scala:22)
        at org.scalatest.Transformer.apply(Transformer.scala:20)
        at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
        at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
        at org.scalatest.FunSuite.withFixture(FunSuite.scala:1560)
        at 
org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
        at 
org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
        at 
org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
        at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
        at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
        at org.scalatest.FunSuite.runTest(FunSuite.scala:1560)
        at 
org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
        at 
org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
        at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
        at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
        at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
        at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
        at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229)
        at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
        at org.scalatest.Suite$class.run(Suite.scala:1147)
        at 
org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
        at 
org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
        at 
org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
        at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
        at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase.org$scalatest$BeforeAndAfterAll$$super$run(HoodieSparkSqlTestBase.scala:44)
        at 
org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
        at 
org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
        at 
org.apache.spark.sql.hudi.HoodieSparkSqlTestBase.run(HoodieSparkSqlTestBase.scala:44)
        at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
        at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1340)
        at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1334)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1334)
        at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
        at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
        at 
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
        at 
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
        at org.scalatest.tools.Runner$.run(Runner.scala:850)
        at org.scalatest.tools.Runner.run(Runner.scala)
        at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2or3(ScalaTestRunner.java:43)
        at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:26)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to