wolffcm commented on issue #4615:
URL: 
https://github.com/apache/arrow-datafusion/issues/4615#issuecomment-1483288017

   We recently ran into this when implementing gap-filling rule `HandleGapFill` 
for IOx which makes use of the logical planner:
   - it looks for a call to a UDF `DATE_BIN_GAPFILL` and if it exists it is 
removed (there is no actual implementation)
   - Inserts a `GapFill` node into the plan
   
   https://github.com/influxdata/influxdb_iox/issues/7330
   
   In this case the rule is really performing "lowering" (compiler jargon) in 
the sense that we need to get rid of this UDF for the query to be valid. Any 
error that occurs should be fatal for the query, so we can return an 
appropriate message to the user.
   
   So I just want to voice that `TypeCoercion` isn't in a category by itself, 
in the sense that it needs to run and succeed for the query to be valid.


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

Reply via email to