You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/06 10:16:55 UTC

[GitHub] [spark] ulysses-you commented on pull request #33654: [SPARK-36429][SQL] JacksonParser should throw exception when data type unsupported.

ulysses-you commented on pull request #33654:
URL: https://github.com/apache/spark/pull/33654#issuecomment-894160037


   Test failed in : https://github.com/ulysses-you/spark/runs/3259999523?check_suite_focus=true
   ```
   [info]   Cause: java.lang.Exception: Unsupported type: void
   [info]   at org.apache.spark.sql.errors.QueryExecutionErrors$.unsupportedTypeError(QueryExecutionErrors.scala:777)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.makeConverter(JacksonParser.scala:334)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.$anonfun$makeConverter$17(JacksonParser.scala:313)
   [info]   at scala.collection.immutable.List.map(List.scala:297)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.makeConverter(JacksonParser.scala:313)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.makeStructRootConverter(JacksonParser.scala:88)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.makeRootConverter(JacksonParser.scala:81)
   [info]   at org.apache.spark.sql.catalyst.json.JacksonParser.<init>(JacksonParser.scala:58)
   [info]   at org.apache.spark.sql.execution.datasources.json.JsonFileFormat.$anonfun$buildReader$2(JsonFileFormat.scala:121)
   [info]   at org.apache.spark.sql.execution.datasources.FileFormat$$anon$1.apply(FileFormat.scala:148)
   [info]   at org.apache.spark.sql.execution.datasources.FileFormat$$anon$1.apply(FileFormat.scala:133)
   [info]   at 
   ```
   
   Seems `JacksonParser` didn't match `NullType`. I created https://github.com/apache/spark/pull/33668
   


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