You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/07/31 23:35:31 UTC

[GitHub] [spark] maropu commented on pull request #29311: [SPARK-32501][SQL] Convert null to "null" in structs, maps and arrays while casting to strings

maropu commented on pull request #29311:
URL: https://github.com/apache/spark/pull/29311#issuecomment-667427163


   Looks a reasonable change. Actually, hive does so;
   ```
   hive> select named_struct('a', 1, 'b', null);
   {"a":1,"b":null}
   
   hive> select array(1, 2, null);
   [1,2,null]
   
   hive> select map('a', 1, 'b', null);
   {"a":1,"b":null}
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org