Skip to content

Commit

Permalink
export both now and random functions (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist authored May 23, 2021
1 parent efdbdbb commit 174226c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions datafusion/src/logical_plan/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,9 @@ unary_scalar_expr!(Acos, acos);
unary_scalar_expr!(Atan, atan);
unary_scalar_expr!(Floor, floor);
unary_scalar_expr!(Ceil, ceil);
unary_scalar_expr!(Now, now);
unary_scalar_expr!(Round, round);
unary_scalar_expr!(Random, random);
unary_scalar_expr!(Trunc, trunc);
unary_scalar_expr!(Abs, abs);
unary_scalar_expr!(Signum, signum);
Expand Down
10 changes: 5 additions & 5 deletions datafusion/src/logical_plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ pub use expr::{
abs, acos, and, array, ascii, asin, atan, avg, binary_expr, bit_length, btrim, case,
ceil, character_length, chr, col, combine_filters, concat, concat_ws, cos, count,
count_distinct, create_udaf, create_udf, exp, exprlist_to_fields, floor, in_list,
initcap, left, length, lit, ln, log10, log2, lower, lpad, ltrim, max, md5, min,
octet_length, or, regexp_match, regexp_replace, repeat, replace, reverse, right,
round, rpad, rtrim, sha224, sha256, sha384, sha512, signum, sin, split_part, sqrt,
starts_with, strpos, substr, sum, tan, to_hex, translate, trim, trunc, upper, when,
Expr, ExprRewriter, ExpressionVisitor, Literal, Recursion,
initcap, left, length, lit, ln, log10, log2, lower, lpad, ltrim, max, md5, min, now,
octet_length, or, random, regexp_match, regexp_replace, repeat, replace, reverse,
right, round, rpad, rtrim, sha224, sha256, sha384, sha512, signum, sin, split_part,
sqrt, starts_with, strpos, substr, sum, tan, to_hex, translate, trim, trunc, upper,
when, Expr, ExprRewriter, ExpressionVisitor, Literal, Recursion,
};
pub use extension::UserDefinedLogicalNode;
pub use operators::Operator;
Expand Down
6 changes: 3 additions & 3 deletions datafusion/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ pub use crate::execution::context::{ExecutionConfig, ExecutionContext};
pub use crate::logical_plan::{
array, ascii, avg, bit_length, btrim, character_length, chr, col, concat, concat_ws,
count, create_udf, in_list, initcap, left, length, lit, lower, lpad, ltrim, max, md5,
min, octet_length, regexp_replace, repeat, replace, reverse, right, rpad, rtrim,
sha224, sha256, sha384, sha512, split_part, starts_with, strpos, substr, sum, to_hex,
translate, trim, upper, JoinType, Partitioning,
min, now, octet_length, random, regexp_replace, repeat, replace, reverse, right,
rpad, rtrim, sha224, sha256, sha384, sha512, split_part, starts_with, strpos, substr,
sum, to_hex, translate, trim, upper, JoinType, Partitioning,
};
pub use crate::physical_plan::csv::CsvReadOptions;

0 comments on commit 174226c

Please sign in to comment.