NGA-TRAN commented on a change in pull request #1030:
URL: https://github.com/apache/arrow-datafusion/pull/1030#discussion_r713137745
##########
File path: datafusion/src/logical_plan/expr.rs
##########
@@ -1360,24 +1360,63 @@ pub fn in_list(expr: Expr, list: Vec<Expr>, negated:
bool) -> Expr {
pub trait Literal {
/// convert the value to a Literal expression
fn lit(&self) -> Expr;
+
+ /// convert the number to literal expression of timestamp in nanosecond
+ fn lit_timestamp_nanosecond(&self) -> Expr;
Review comment:
@alamb @Dandandan and @houqp I have added a new trait for it. Can you
have a look?
--
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]