cloud-fan commented on a change in pull request #27670: [SPARK-30937][DOC] 
Group Hive upgrade guides together
URL: https://github.com/apache/spark/pull/27670#discussion_r383805108
 
 

 ##########
 File path: docs/sql-migration-guide.md
 ##########
 @@ -330,10 +330,14 @@ license: |
 
   - Since Spark 3.0, `SHOW CREATE TABLE` will always return Spark DDL, even 
when the given table is a Hive serde table. For generating Hive DDL, please use 
`SHOW CREATE TABLE AS SERDE` command instead.
 
-  - Since Spark 3.0, we upgraded the built-in Hive from 1.2 to 2.3. This may 
need to set `spark.sql.hive.metastore.version` and 
`spark.sql.hive.metastore.jars` according to the version of the Hive metastore.
+  - Since Spark 3.0, we upgraded the built-in Hive from 1.2 to 2.3 and it 
brings following impacts:
+  
+    - This may need to set `spark.sql.hive.metastore.version` and 
`spark.sql.hive.metastore.jars` according to the version of the Hive metastore.
   For example: set `spark.sql.hive.metastore.version` to `1.2.1` and 
`spark.sql.hive.metastore.jars` to `maven` if your Hive metastore version is 
1.2.1.
   
-  - Since Spark 3.0, we upgraded the built-in Hive from 1.2 to 2.3. You need 
to migrate your custom SerDes to Hive 2.3 or build your own Spark with 
`hive-1.2` profile. See HIVE-15167 for more details.
+    - You need to migrate your custom SerDes to Hive 2.3 or build your own 
Spark with `hive-1.2` profile. See HIVE-15167 for more details.
+
+    - The string representation of a decimal can be different between Hive 1.2 
and Hive 2.3 when using `TRANSFORM` syntax in SQL for script transformation, 
which depends on hive's behavior. In Hive 1.2, the string representation omits 
trailing zeroes. But in Hive 2.3, it is always padded to 18 digits with 
trailing zeroes if necessary.
 
 Review comment:
   TRANSFORM syntax -> TRANSFORM operator

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to