You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/02 12:26:55 UTC
[GitHub] [arrow-datafusion] Jimexist commented on a change in pull request #476: add random and now function
Jimexist commented on a change in pull request #476:
URL: https://github.com/apache/arrow-datafusion/pull/476#discussion_r643910304
##########
File path: python/src/functions.rs
##########
@@ -149,13 +157,27 @@ fn md5(value: expression::Expression) -> expression::Expression {
}
}
+#[pyfunction]
+fn now(value: expression::Expression) -> expression::Expression {
+ expression::Expression {
+ expr: logical_plan::now(value.expr),
Review comment:
maybe because they all take one arg which is the `&[Arg]`?
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org