Github user chetkhatri commented on a diff in the pull request:
https://github.com/apache/spark/pull/20018#discussion_r158454228
--- Diff:
examples/src/main/scala/org/apache/spark/examples/sql/hive/SparkHiveExample.scala
---
@@ -102,8 +101,41 @@ object SparkHiveExample {
// | 4| val_4| 4| val_4|
// | 5| val_5| 5| val_5|
// ...
- // $example off:spark_hive$
+ // Create Hive managed table with parquet
+ sql("CREATE TABLE records(key int, value string) STORED AS PARQUET")
+ // Save DataFrame to Hive Managed table as Parquet format
--- End diff --
@HyukjinKwon Thanks for highlight, improved the same.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]