comphead opened a new issue, #16187:
URL: https://github.com/apache/datafusion/issues/16187

   ### Describe the bug
   
   The query below crashes 
   ```
   > select map_values(map([named_struct('a', 1, 'b', null)], 
[named_struct('a', 1, 'b', null)]))[0] as a;
   
   thread 'main' panicked at 
/Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-array-55.0.0/src/array/null_array.rs:149:9:
   NullArray data should not contain a null buffer, as no buffers are required
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   It is expected to handle this gracefully, if index is not found it should 
return NULL
   
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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