You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2023/03/13 10:13:58 UTC

[GitHub] [spark] LuciferYang commented on pull request #40395: [SPARK-42770][CONNECT] Add `truncatedTo(ChronoUnit.MICROS)` to make `SQLImplicitsTestSuite` test pass on Linux

LuciferYang commented on PR #40395:
URL: https://github.com/apache/spark/pull/40395#issuecomment-1465860908

   https://github.com/apache/spark/actions/runs/4318647315/jobs/7537203682
   
   ```
   [info] - test implicit encoder resolution *** FAILED *** (1 second, 329 milliseconds)
   4429[info]   2023-03-02T23:00:20.404434 did not equal 2023-03-02T23:00:20.404434875 (SQLImplicitsTestSuite.scala:63)
   4430[info]   org.scalatest.exceptions.TestFailedException:
   4431[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
   4432[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
   4433[info]   at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
   4434[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
   4435[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.testImplicit$1(SQLImplicitsTestSuite.scala:63)
   4436[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.$anonfun$new$2(SQLImplicitsTestSuite.scala:133)
   4437[info]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
   4438[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   4439[info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
   4440[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   4441[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
   4442[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
   4443[info]   at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
   4444[info]   at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
   4445[info]   at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
   4446[info]   at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
   4447[info]   at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
   4448[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
   4449[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   4450[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
   4451[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
   4452[info]   at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564)
   4453[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
   4454[info]   at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
   4455[info]   at scala.collection.immutable.List.foreach(List.scala:431)
   4456[info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
   4457[info]   at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
   4458[info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
   4459[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
   4460[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268)
   4461[info]   at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564)
   4462[info]   at org.scalatest.Suite.run(Suite.scala:1114)
   4463[info]   at org.scalatest.Suite.run$(Suite.scala:1096)
   4464[info]   at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564)
   4465[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273)
   4466[info]   at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
   4467[info]   at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273)
   4468[info]   at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272)
   4469[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.org$scalatest$BeforeAndAfterAll$$super$run(SQLImplicitsTestSuite.scala:34)
   4470[info]   at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
   4471[info]   at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
   4472[info]   at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
   4473[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.run(SQLImplicitsTestSuite.scala:34)
   4474[info]   at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
   4475[info]   at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
   4476[info]   at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:413)
   4477[info]   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   4478[info]   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   4479[info]   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   4480[info]   at java.base/java.lang.Thread.run(Thread.java:833) 
   ```


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org