athlcode opened a new pull request, #21933: URL: https://github.com/apache/datafusion/pull/21933
Which issue does this PR close? Part of https://github.com/apache/datafusion/issues/15914 Rationale for this change Spark compatible semantics for floor function What changes are included in this PR? Implements SparkFloor UDF with Spark-compatible return types: Float/Integer inputs -> Int64 Decimal128(p, s) -> Decimal128(p-s+1, 0) Are these changes tested? Yes . Added unit tests and SLT tests Are there any user-facing changes? -- 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]
