krishvishal commented on issue #16187:
URL: https://github.com/apache/datafusion/issues/16187#issuecomment-2910982153

   Hi, this will be my first time contributing to datafusion. 
   
   I've made the fix,  which now emits the following for problematic queries:
   
   ```
   > select map_values(map([named_struct('a', 1, 'b', null)], 
[named_struct('a', 1, 'b', null)]))[0] as a;
   +------+
   | a    |
   +------+
   | NULL |
   +------+
   
   > select [named_struct('a', 1, 'b', null)][0] as a;
   +------+
   | a    |
   +------+
   | NULL |
   +------+
   1 row(s) fetched. 
   Elapsed 0.005 seconds.
   ```
   
   Is this the expected behavior?
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to