[ https://issues.apache.org/jira/browse/SPARK-34759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302501#comment-17302501 ]
Apache Spark commented on SPARK-34759: -------------------------------------- User 'zengruios' has created a pull request for this issue: https://github.com/apache/spark/pull/31852 > run JavaSparkSQLExample failed with Exception. > ---------------------------------------------- > > Key: SPARK-34759 > URL: https://issues.apache.org/jira/browse/SPARK-34759 > Project: Spark > Issue Type: Bug > Components: Examples > Affects Versions: 3.0.1, 3.1.1 > Reporter: zengrui > Priority: Minor > > run JavaSparkSQLExample failed with Exception. > The Exception is thrown in function runDatasetCreationExample, when execute > ‘spark.read().json(path).as(personEncoder)’. > The exception is 'Exception in thread "main" > org.apache.spark.sql.AnalysisException: Cannot up cast `age` from bigint to > int.' -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org