gruuya commented on PR #13468:
URL: https://github.com/apache/datafusion/pull/13468#issuecomment-2485332792

   > I'm also looking at whether the issue arises somewhere in TypeCoercion 
analyzer
   
   Ok, looks like `TypeCoercion` works as intended, and it seems like 
`SimplifyExpressions` is the culprit behind the particular problem in delta-rs. 
From the new issue https://github.com/apache/datafusion/issues/13481 I've 
opened:
   
   > Basically TypeCoercion injects the CAST, while SimplifyExpressions omits 
it. Consequently OptimizeProjections folds the two projections, but the schema 
is computed from the outermost projection expressions, which now lack the 
proper type info (i.e. the non-standard list item field names).


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