You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/26 13:31:16 UTC
[GitHub] [arrow-datafusion] alamb opened a new issue #178: AggregateExpression name inconsistency
alamb opened a new issue #178:
URL: https://github.com/apache/arrow-datafusion/issues/178
*Note*: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11622
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 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org