Omega359 commented on code in PR #9435:
URL: https://github.com/apache/arrow-datafusion/pull/9435#discussion_r1513605280
##########
datafusion/functions/src/datetime/mod.rs:
##########
@@ -55,6 +61,21 @@ make_udf_function!(
pub mod expr_fn {
use datafusion_expr::Expr;
+ #[doc = "coerces an arbitrary timestamp to the start of the nearest
specified interval"]
+ pub fn date_bin(args: Vec<Expr>) -> Expr {
+ super::date_bin().call(args)
+ }
+
+ #[doc = "extracts a subfield from the date"]
+ pub fn date_part(args: Vec<Expr>) -> Expr {
+ super::date_part().call(args)
+ }
+
+ #[doc = "truncates the date to a specified level of precision"]
+ pub fn date_trunc(args: Vec<Expr>) -> Expr {
+ super::date_trunc().call(args)
+ }
Review Comment:
Wow, great catch! Though I must wonder if that was the case why the tests
all pass without any issues?
--
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]