You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/03/24 14:21:01 UTC
[jira] [Resolved] (SPARK-34759) run JavaSparkSQLExample failed with
Exception.
[ https://issues.apache.org/jira/browse/SPARK-34759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-34759.
----------------------------------
Resolution: Duplicate
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org