HyukjinKwon commented on PR #39905:
URL: https://github.com/apache/spark/pull/39905#issuecomment-1419990960

   The test fails:
   
   ```
   2023-02-06T13:38:00.5771066Z [info] - 
SPARK-40819: parquet file with TIMESTAMP(NANOS, true) (with default 
nanosAsLong=false) *** FAILED *** (54 milliseconds)
   2023-02-06T13:38:00.5772303Z [info]   "Job 
aborted due to stage failure: Task 0 in stage 14.0 failed 1 times, most recent 
failure: Lost task 0.0 in stage 14.0 (TID 19) (localhost executor driver): 
org.apache.spark.sql.AnalysisException: Illegal Parquet type: INT64 
(TIMESTAMP(NANOS,true))
   2023-02-06T13:38:00.5773363Z [info]     at 
org.apache.spark.sql.errors.QueryCompilationErrors$.illegalParquetTypeError(QueryCompilationErrors.scala:1284)
   2023-02-06T13:38:00.5774420Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.illegalType$1(ParquetSchemaConverter.scala:109)
   2023-02-06T13:38:00.5841228Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.convertPrimitiveField(ParquetSchemaConverter.scala:183)
   2023-02-06T13:38:00.5847697Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.convertField(ParquetSchemaConverter.scala:94)
   2023-02-06T13:38:00.5848680Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.$anonfun$convert$1(ParquetSchemaConverter.scala:73)
   2023-02-06T13:38:00.5849454Z [info]     at 
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
   2023-02-06T13:38:00.5849987Z [info]     at 
scala.collection.Iterator.foreach(Iterator.scala:943)
   2023-02-06T13:38:00.5850492Z [info]     at 
scala.collection.Iterator.foreach$(Iterator.scala:943)
   2023-02-06T13:38:00.5851023Z [info]     at 
scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
   2023-02-06T13:38:00.5851562Z [info]     at 
scala.collection.IterableLike.foreach(IterableLike.scala:74)
   2023-02-06T13:38:00.5852089Z [info]     at 
scala.collection.IterableLike.foreach$(IterableLike.scala:73)
   2023-02-06T13:38:00.5852623Z [info]     at 
scala.collection.AbstractIterable.foreach(Iterable.scala:56)
   2023-02-06T13:38:00.5853166Z [info]     at 
scala.collection.TraversableLike.map(TraversableLike.scala:286)
   2023-02-06T13:38:00.5853955Z [info]     at 
scala.collection.TraversableLike.map$(TraversableLike.scala:279)
   2023-02-06T13:38:00.5854516Z [info]     at 
scala.collection.AbstractTraversable.map(Traversable.scala:108)
   2023-02-06T13:38:00.5855295Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.convert(ParquetSchemaConverter.scala:70)
   2023-02-06T13:38:00.5856239Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetToSparkSchemaConverter.convert(ParquetSchemaConverter.scala:67)
   2023-02-06T13:38:00.5857130Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$.$anonfun$readSchemaFromFooter$2(ParquetFileFormat.scala:558)
   2023-02-06T13:38:00.5857754Z [info]     at 
scala.Option.getOrElse(Option.scala:189)
   2023-02-06T13:38:00.5858411Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$.readSchemaFromFooter(ParquetFileFormat.scala:558)
   2023-02-06T13:38:00.5859409Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$.$anonfun$mergeSchemasInParallel$2(ParquetFileFormat.scala:538)
   2023-02-06T13:38:00.5860069Z [info]     at 
scala.collection.immutable.Stream.map(Stream.scala:418)
   2023-02-06T13:38:00.5860841Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$.$anonfun$mergeSchemasInParallel$1(ParquetFileFormat.scala:538)
   2023-02-06T13:38:00.5861703Z [info]     at 
org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$.$anonfun$mergeSchemasInParallel$1$adapted(ParquetFileFormat.scala:530)
   2023-02-06T13:38:00.5862534Z [info]     at 
org.apache.spark.sql.execution.datasources.SchemaMergeUtils$.$anonfun$mergeSchemasInParallel$2(SchemaMergeUtils.scala:76)
   2023-02-06T13:38:00.5863177Z [info]     at 
org.apache.spark.rdd.RDD.$anonfun$mapPartitions$2(RDD.scala:863)
   2023-02-06T13:38:00.5863711Z [info]     at 
org.apache.spark.rdd.RDD.$anonfun$mapPartitions$2$adapted(RDD.scala:863)
   2023-02-06T13:38:00.5864291Z [info]     at 
org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
   2023-02-06T13:38:00.5864877Z [info]     at 
org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:373)
   2023-02-06T13:38:00.5865393Z [info]     at 
org.apache.spark.rdd.RDD.iterator(RDD.scala:337)
   2023-02-06T13:38:00.5865932Z [info]     at 
org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
   2023-02-06T13:38:00.5866461Z [info]     at 
org.apache.spark.scheduler.Task.run(Task.scala:131)
   2023-02-06T13:38:00.5867017Z [info]     at 
org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:506)
   2023-02-06T13:38:00.5867565Z [info]     at 
org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1491)
   2023-02-06T13:38:00.5868095Z [info]     at 
org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)
   2023-02-06T13:38:00.5868696Z [info]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   2023-02-06T13:38:00.5869308Z [info]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   2023-02-06T13:38:00.5869799Z [info]     at 
java.lang.Thread.run(Thread.java:750)
   2023-02-06T13:38:00.5870133Z [info]   
   2023-02-06T13:38:00.5870657Z [info]   Driver 
stacktrace:" did not contain "Illegal Parquet type: INT64 
(TIMESTAMP(NANOS,true))." (ParquetSchemaSuite.scala:494)
   2023-02-06T13:38:00.5871221Z [info]   
org.scalatest.exceptions.TestFailedException:
   2023-02-06T13:38:00.5871789Z [info]   at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
   2023-02-06T13:38:00.5872407Z [info]   at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
   2023-02-06T13:38:00.5872999Z [info]   at 
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
   2023-02-06T13:38:00.5873557Z [info]   at 
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
   2023-02-06T13:38:00.5874263Z [info]   at 
org.apache.spark.sql.execution.datasources.parquet.ParquetSchemaSuite.$anonfun$new$13(ParquetSchemaSuite.scala:494)
   2023-02-06T13:38:00.5874954Z [info]   at 
org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   2023-02-06T13:38:00.5875457Z [info]   at 
org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
   2023-02-06T13:38:00.5875954Z [info]   at 
org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   2023-02-06T13:38:00.5876449Z [info]   at 
org.scalatest.Transformer.apply(Transformer.scala:22)
   2023-02-06T13:38:00.5876989Z [info]   at 
org.scalatest.Transformer.apply(Transformer.scala:20)
   2023-02-06T13:38:00.5877551Z [info]   at 
org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
   2023-02-06T13:38:00.5878120Z [info]   at 
org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:190)
   2023-02-06T13:38:00.5878751Z [info]   at 
org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
   2023-02-06T13:38:00.5879391Z [info]   at 
org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
   2023-02-06T13:38:00.5879939Z [info]   at 
org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   2023-02-06T13:38:00.5880500Z [info]   at 
org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
   2023-02-06T13:38:00.5881095Z [info]   at 
org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
   2023-02-06T13:38:00.5881738Z [info]   at 
org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:62)
   2023-02-06T13:38:00.5882355Z [info]   at 
org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
   2023-02-06T13:38:00.5882924Z [info]   at 
org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
   ```


-- 
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