[jira] [Updated] (SPARK-34760) run JavaSQLDataSourceExample failed with Exception in runBasicDataSourceExample().

2021-03-16 Thread zengrui (Jira)


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

zengrui updated SPARK-34760:

Description: 
run JavaSparkSQLExample failed with Exception in runBasicDataSourceExample().

when excecute 
'peopleDF.write().partitionBy("favorite_color").bucketBy(42,"name").saveAsTable("people_partitioned_bucketed");'

throws Exception: 'Exception in thread "main" 
org.apache.spark.sql.AnalysisException: partition column favorite_color is not 
defined in table people_partitioned_bucketed, defined table columns are: age, 
name;'

  was:
run JavaSparkSQLExample failed with Exception in runBasicDataSourceExample().

when excecute 
'peopleDF.write().partitionBy("age").bucketBy(42,"name").saveAsTable("people_partitioned_bucketed");'

throws Exception: 'Exception in thread "main" 
org.apache.spark.sql.AnalysisException: partition column favorite_color is not 
defined in table people_partitioned_bucketed, defined table columns are: age, 
name;'


> run JavaSQLDataSourceExample failed with Exception in 
> runBasicDataSourceExample().
> --
>
> Key: SPARK-34760
> URL: https://issues.apache.org/jira/browse/SPARK-34760
> Project: Spark
>  Issue Type: Bug
>  Components: Examples
>Affects Versions: 3.0.1, 3.1.1
>Reporter: zengrui
>Priority: Minor
>
> run JavaSparkSQLExample failed with Exception in runBasicDataSourceExample().
> when excecute 
> 'peopleDF.write().partitionBy("favorite_color").bucketBy(42,"name").saveAsTable("people_partitioned_bucketed");'
> throws Exception: 'Exception in thread "main" 
> org.apache.spark.sql.AnalysisException: partition column favorite_color is 
> not defined in table people_partitioned_bucketed, defined table columns are: 
> age, name;'



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



[jira] [Updated] (SPARK-34760) run JavaSQLDataSourceExample failed with Exception in runBasicDataSourceExample().

2021-03-16 Thread zengrui (Jira)


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

zengrui updated SPARK-34760:

Summary: run JavaSQLDataSourceExample failed with Exception in 
runBasicDataSourceExample().  (was: run JavaSparkSQLExample failed with 
Exception in runBasicDataSourceExample().)

> run JavaSQLDataSourceExample failed with Exception in 
> runBasicDataSourceExample().
> --
>
> Key: SPARK-34760
> URL: https://issues.apache.org/jira/browse/SPARK-34760
> Project: Spark
>  Issue Type: Bug
>  Components: Examples
>Affects Versions: 3.0.1, 3.1.1
>Reporter: zengrui
>Priority: Minor
>
> run JavaSparkSQLExample failed with Exception in runBasicDataSourceExample().
> when excecute 
> 'peopleDF.write().partitionBy("age").bucketBy(42,"name").saveAsTable("people_partitioned_bucketed");'
> throws Exception: 'Exception in thread "main" 
> org.apache.spark.sql.AnalysisException: partition column favorite_color is 
> not defined in table people_partitioned_bucketed, defined table columns are: 
> age, name;'



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