zengrui created SPARK-34759: ------------------------------- Summary: 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.1.1, 3.0.1 Reporter: zengrui
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