maropu commented on a change in pull request #26918: [SPARK-30279][SQL] Support
32 or more grouping attributes for GROUPING_ID
URL: https://github.com/apache/spark/pull/26918#discussion_r385594484
##########
File path: docs/sql-migration-guide.md
##########
@@ -341,6 +341,8 @@ license: |
- The decimal string representation can be different between Hive 1.2 and
Hive 2.3 when using `TRANSFORM` operator 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.
+ - Since Spark 3.0, grouping_id() returns long values. In Spark version 2.4
and earlier, this function returns int values. To restore the behavior before
Spark 3.0, you can set `spark.sql.legacy.integerGroupingId` to `true`.
+
Review comment:
Ur, nice suggestion... I personally think its ok to target at v3.1. WDYT?
@HyukjinKwon @dongjoon-hyun @cloud-fan
----------------------------------------------------------------
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]