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

   ### Describe the bug
   
   `array_has` nested function fails if the null data rows and non-nulls lives 
in the same parquet file. 
   
   In memory stream or 2 separate parquet files works fine, that is why 
existing tests doesn't show issues
   
   ### To Reproduce
   
   ```
   statement ok
   COPY (select [[true, false], [false, true]] a, [false, true] b union select 
[[null, null]], null) to 
'test_files/scratch/array/array_has/single_file.parquet' stored as parquet;
   
   statement ok
   CREATE EXTERNAL TABLE array_has STORED AS PARQUET location 
'test_files/scratch/array/array_has/single_file.parquet';
   
   query B
   select array_contains(a, b) from array_has;
   ----
   ```
   
   ### 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: [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