paleolimbot commented on PR #24865:
URL: https://github.com/apache/datafusion/pull/24865#issuecomment-6524461369

   > Why isn't the simplifier being run in your usecase?
   
   It's being run, but the return type is also being computed before it runs 
(e.g., asking for the schema of the unoptimized logical plan). For something 
like `st_buffer(coalesce(geom, other_geom))`, we get an execution error 
"st_buffer: no kernel matching arguments" because our extension type aware 
version of the Signature rejects an unqualified Binary; however, I believe this 
would also show up as an unexpected/mismatched schema result between an 
optimized an unoptimized plan.
   
   Agreed that we need to fix more to get this to work end to end, but we do 
also need to fix the `return_field()`.


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