Yikf commented on PR #40699:
URL: https://github.com/apache/spark/pull/40699#issuecomment-1504461118

   > The change LGTM. Can we also check other systems like Preso/Trino/Impala 
and see how they display null values?
   > 
   > cc @HyukjinKwon @viirya
   
   
   > > The change LGTM. Can we also check other systems like Preso/Trino/Impala 
and see how they display null values?
   > 
   > @Yikf Can you help check Preso/Trino ? Also check PostgreSQL?
   
   Sure, Aa following,
   **Trino**
   ```shell
   trino> select ARRAY[1, null];
      _col0
   -----------
    [1, NULL]
   (1 row)
   
   Query 20230412_023104_00007_unnu6, FINISHED, 1 node
   Splits: 1 total, 1 done (100.00%)
   0.03 [0 rows, 0B] [0 rows/s, 0B/s]
   
   trino> select null;
    _col0
   -------
    NULL
   (1 row)
   
   Query 20230412_023108_00008_unnu6, FINISHED, 1 node
   Splits: 1 total, 1 done (100.00%)
   0.07 [0 rows, 0B] [0 rows/s, 0B/s]
   ```
   **PostgreSQL**
   ```shell
   postgres=# select array[1, null];
     array
   ----------
    {1,NULL}
   (1 row)
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to