yyy1000 commented on code in PR #9739:
URL: https://github.com/apache/arrow-datafusion/pull/9739#discussion_r1535890652
##########
datafusion/sql/src/unparser/expr.rs:
##########
@@ -599,6 +611,19 @@ mod tests {
}),
"COUNT(DISTINCT *)",
),
+ (Expr::IsNotNull(Box::new(col("a"))), "\"a\" IS NOT NULL"),
+ (
+ Expr::IsTrue(Box::new((col("a") + col("b")).gt(lit(4)))),
+ "((\"a\" + \"b\") > 4) IS TRUE",
Review Comment:
What about using raw strings?
https://doc.rust-lang.org/reference/tokens.html#raw-string-literals
It matches the other tests. :)
--
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]