shehabgamin commented on code in PR #14440: URL: https://github.com/apache/datafusion/pull/14440#discussion_r1960718930
########## datafusion/functions/src/datetime/date_part.rs: ########## @@ -95,24 +96,29 @@ impl DatePartFunc { signature: Signature::one_of( vec![ TypeSignature::Coercible(vec![ - TypeSignatureClass::Native(logical_string()), - TypeSignatureClass::Timestamp, + Coercion::new_exact(TypeSignatureClass::Native(logical_string())), Review Comment: > the function used to accept _anything coercible to_ "logical string" now it accepts _anything that is_ "logical string" > > Is this a breaking change? Anything coercible to "logical string" was behavior before DataFusion 43. Starting at DataFusion 43 the behavior changed to anything that is "logical string". https://github.com/apache/datafusion/pull/14268 attempted to fix this, although I'm not sure if anything in there is relevant anymore after this PR. -- 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