spark-instrumented-optimizer/examples/src/main
zengruios 5570f817b2 [SPARK-34760][EXAMPLES] Replace favorite_color with age in JavaSQLDataSourceExample
### What changes were proposed in this pull request?
In JavaSparkSQLExample 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;'
Change the column favorite_color to age.

### Why are the changes needed?
Run JavaSparkSQLExample successfully.

### Does this PR introduce _any_ user-facing change?
NO

### How was this patch tested?
test in JavaSparkSQLExample .

Closes #31851 from zengruios/SPARK-34760.

Authored-by: zengruios <578395184@qq.com>
Signed-off-by: Kent Yao <yao@apache.org>
2021-03-18 22:53:58 +08:00
..
java/org/apache/spark/examples [SPARK-34760][EXAMPLES] Replace favorite_color with age in JavaSQLDataSourceExample 2021-03-18 22:53:58 +08:00
python [SPARK-34760][EXAMPLES] Replace favorite_color with age in JavaSQLDataSourceExample 2021-03-18 22:53:58 +08:00
r [SPARK-31962][SQL] Provide modifiedAfter and modifiedBefore options when filtering from a batch-based file data source 2020-11-23 08:30:41 +09:00
resources [SPARK-31816][SQL][DOCS] Added high level description about JDBC connection providers for users/developers 2021-02-10 12:28:28 +09:00
scala/org/apache/spark/examples [SPARK-34415][ML] Randomization in hyperparameter optimization 2021-02-27 08:34:39 -06:00
scripts [SPARK-27897][EXAMPLES] Move the get Gpu resources script to a scripts directory 2019-05-31 08:04:43 -07:00