alamb commented on code in PR #3675:
URL: https://github.com/apache/arrow-datafusion/pull/3675#discussion_r985086988


##########
datafusion/sql/src/planner.rs:
##########
@@ -152,6 +152,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
                 verbose,
                 statement,
                 analyze,
+                format: _,

Review Comment:
   here is the support for explain plan format



##########
datafusion/sql/src/planner.rs:
##########
@@ -1720,22 +1721,22 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
                 ],
             }),
 
-            SQLExpr::Value(Value::Interval {
+            SQLExpr::Array(arr) => self.sql_array_literal(arr.elem, schema),
+
+            SQLExpr::Interval {

Review Comment:
   Intervals are no longer literals (`Value`) but can have exprs so the AST was 
updated to match in https://github.com/sqlparser-rs/sqlparser-rs/pull/609



-- 
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]

Reply via email to