Andy Grove created ARROW-11622:
----------------------------------

             Summary: [Rust] [DataFusion] AggregateExpression name inconsistency
                 Key: ARROW-11622
                 URL: https://issues.apache.org/jira/browse/ARROW-11622
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust - DataFusion
            Reporter: Andy Grove


I have an aggregate query and the AggregateExpr has this name
{code:java}
 SUM(l_extendedprice Multiply Int64(1)){code}
This is hiding the fact that the expression has a CAST operation:
{code:java}
 expr: BinaryExpr { left: Column { name: "l_extendedprice" }, op: Multiply, 
right: CastExpr { expr: Literal { value: Int64(1) }, cast_type: Float64 } }, 
nullable: true }{code}
In Ballista, this causes a problem with serde because after a rountrip, the 
expression has a name that includes the CAST and this causes a schema mismatch.
{code:java}
SUM(l_extendedprice Multiply CAST(Int64(1) AS Float64)) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to