You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/03/16 13:07:00 UTC

[jira] [Assigned] (SPARK-34759) run JavaSparkSQLExample failed with Exception.

     [ https://issues.apache.org/jira/browse/SPARK-34759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-34759:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            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