avantgardnerio commented on code in PR #4701:
URL: https://github.com/apache/arrow-datafusion/pull/4701#discussion_r1054714984


##########
datafusion/expr/src/expr.rs:
##########
@@ -218,7 +218,7 @@ pub enum Expr {
         /// The identifier of the parameter (e.g, $1 or $foo)
         id: String,
         /// The type the parameter will be filled in with
-        data_type: DataType,
+        data_type: Option<DataType>,

Review Comment:
   Make the data type optional, since we might not know it during initial 
conversion from SQL ast.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to