This is an automated email from the ASF dual-hosted git repository.

jakevin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 7b90474adf Minor: Add ticket reference as comment (#5822)
7b90474adf is described below

commit 7b90474adf6c1afbb4a5988a5677834b07347321
Author: Andrew Lamb <[email protected]>
AuthorDate: Sun Apr 2 14:47:50 2023 +0200

    Minor: Add ticket reference as comment (#5822)
---
 datafusion/expr/src/expr_schema.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/datafusion/expr/src/expr_schema.rs 
b/datafusion/expr/src/expr_schema.rs
index bfe464b232..23125e592e 100644
--- a/datafusion/expr/src/expr_schema.rs
+++ b/datafusion/expr/src/expr_schema.rs
@@ -70,6 +70,7 @@ impl ExprSchemable for Expr {
             Expr::ScalarVariable(ty, _) => Ok(ty.clone()),
             Expr::Literal(l) => Ok(l.get_datatype()),
             Expr::Case(case) => {
+                // https://github.com/apache/arrow-datafusion/issues/5821
                 // when #5681 will be fixed, this code can be reverted to:
                 // case.when_then_expr[0].1.get_type(schema)
                 let then_types = case

Reply via email to