vinothchandar commented on pull request #3003:
URL: https://github.com/apache/hudi/pull/3003#issuecomment-876175319


   SQL tests 
   
   ```
     org.apache.spark.SparkException: Job aborted due to stage failure: 
Task 0 in stage 27.0 failed 1 times, most recent failure: Lost task 0.0 in 
stage 27.0 (TID 25, localhost, executor driver): 
java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: 
YearOfEra
           at java.time.Instant.getLong(Instant.java:603)
           at 
java.time.format.DateTimePrintContext.getValue(DateTimePrintContext.java:298)
           at 
java.time.format.DateTimeFormatterBuilder$NumberPrinterParser.format(DateTimeFormatterBuilder.java:2540)
           at 
java.time.format.DateTimeFormatterBuilder$CompositePrinterParser.format(DateTimeFormatterBuilder.java:2179)
           at 
java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1746)
           at 
java.time.format.DateTimeFormatter.format(DateTimeFormatter.java:1720)
           at 
org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:67)
           at 
org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:53)
           at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
           at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
           at 
scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
           at 
scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
           at 
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
           at 
scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
           at 
org.apache.spark.sql.hudi.command.SqlKeyGenerator.getPartitionPath(SqlKeyGenerator.scala:53)
           at 
org.apache.hudi.keygen.BaseKeyGenerator.getKey(BaseKeyGenerator.java:62)
           at 
org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:167)
           at 
org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:159)
   ```
   
   and the following seem to fail?
   
   ```
   [INFO] Results:
   [INFO] 
   [ERROR] Errors: 
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsWithOffset_OutputTimezoneAsUTC:304
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsZ_OutputTimezoneAsUTC:286
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsWithOffset_OutputTimezoneAsUTC:322
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsEST:340
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsUTC:268
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormat_ISO8601WithMsZ_OutputTimezoneAsUTC:232
 » HoodieKeyGenerator
   [ERROR]   
TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormats_ISO8601WithMsZ_OutputTimezoneAsInputDateTimeZone:250
 » HoodieKeyGenerator
   ```


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


Reply via email to