HyukjinKwon commented on a change in pull request #27621: 
[SPARK-26071][followup] Improve migration guide of disallowing map type map key
URL: https://github.com/apache/spark/pull/27621#discussion_r381149713
 
 

 ##########
 File path: docs/sql-migration-guide.md
 ##########
 @@ -43,7 +43,7 @@ license: |
 
   - The `ADD JAR` command previously returned a result set with the single 
value 0. It now returns an empty result set.
 
-  - In Spark version 2.4 and earlier, users can create map values with map 
type key via built-in function like `CreateMap`, `MapFromArrays`, etc. Since 
Spark 3.0, it's not allowed to create map values with map type key with these 
built-in functions. Users can still read map values with map type key from data 
source or Java/Scala collections, though they are not very useful.
+  - In Spark version 2.4 and earlier, users can create map values with map 
type key via built-in function like `CreateMap`, `MapFromArrays`, etc. Since 
Spark 3.0, it's not allowed to create map values with map type key with these 
built-in functions, users can use array<struct<key, value>> as map keys 
instead. Users can still read map values with map type key from data source or 
Java/Scala collections, though they are not very useful.
 
 Review comment:
   no need to change but wanted to point out: "like" -> "such as"

----------------------------------------------------------------
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