friendlymatthew opened a new pull request, #14672:
URL: https://github.com/apache/datafusion/pull/14672

   Closes #14613 
   
   `array_prepend` would error when attempting to concatenate certain `List` 
data types due to an incorrect offset type assumption. The error occurs because 
the implementation eagerly matches by the inner `List` type and hardcodes the 
corresponding offset type when calling `concat_internal`, potentially 
mismatching the outer list's offset type.
   
   This commit keeps the offset type used for `concat_internal` consistent with 
the dynamically provided offset type. 
   
   ## Are these changes tested?
   
   Yes, see the uncommented SQL statement.
   
   ## Are there any user-facing changes?
   
   No.


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