alamb commented on PR #12002:
URL: https://github.com/apache/datafusion/pull/12002#issuecomment-2291057188

   > Yes, I think what we need is to support string type, or cast the string to 
date. Not sure what is the exact solution. But I expect we should get the 
correct result for that query
   
   The type coercsion system is supposed to handle adding this kind of cast. 
   
   I wonder if we can could remove the `Any(3)` signature  a new signature to 
`generate_series` :
   
   
https://github.com/apache/datafusion/blob/e24a5dd5a508ba605686206c853c914a2d0cc095/datafusion/functions-nested/src/range.rs#L125-L129
   
   I think that would then ensure DataFusion actually casts the arguments to 
the supported types


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