You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/01/03 08:20:32 UTC

[GitHub] [calcite] DonnyZone commented on issue #1684: [CALCITE-3627] Incorrect null semantic for ROW function

DonnyZone commented on issue #1684: [CALCITE-3627] Incorrect null semantic for ROW function
URL: https://github.com/apache/calcite/pull/1684#issuecomment-570499622
 
 
   Maybe we need more discussion on the case of all `null` elements for `ARRAY/ROW` function.
   ```
   [null, null, null] is null
   ```
   I investigated the query below in pg:
   ```
   select array[null, null, null] is null
   ```
   It returns `false`.
   
   The function's nullability seems to be a little different with that of row's struct type.
   What I am sure is the `NullPolicy` for `ROW` function should not be `ANY`.
   
   Hi, @zabetak @rubenada, I saw your in-depth discussion in [CALCITE-2464](https://issues.apache.org/jira/browse/CALCITE-2464),  could you help to confirm it? 

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


With regards,
Apache Git Services