cetra3 opened a new pull request, #20543: URL: https://github.com/apache/datafusion/pull/20543
## Which issue does this PR close? There might be an active issue, I will have a look ## Rationale for this change This fixes a problem we have where placeholder types are `Null`, and we need to add explicit type casts in the query. I.e, you can't use placeholders for `date_bin` functions: ```sql select date_bin($resolution, timestamp) ``` This works though: ```sql select date_bin($resolution::interval, timestamp) ``` ## What changes are included in this PR? Adds some extra type coercions ## Are these changes tested? Yes, new tests added ## Are there any user-facing changes? Not really? -- 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]
