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;'
Attachments
Issue Links
- is duplicated by
-
SPARK-34759 run JavaSparkSQLExample failed with Exception.
- Resolved
- links to