houqp commented on pull request #1078:
URL: https://github.com/apache/arrow-datafusion/pull/1078#issuecomment-939234696
OK, I think I have narrowed the problem a little bit more. This is caused by
a bug in the common subexpression eliminate optimization rule where it rewrites
a column expression with qualifier merged into the field name. See the second
projection at:
```
Projection: abs(Column { relation: Some("8W08BEQUQG"), name: "value" }),
sin(Column { relation: Some("8W08BEQUQG"), name: "value" }), cos(Column {
relation: Some("8W08BEQUQG"), name: "value" }), tan(Column { relation:
Some("8W08BEQUQG"), name: "value" }), asin(Column { relation:
Some("8W08BEQUQG"), name: "value" }), acos(Column { relation:
Some("8W08BEQUQG"), name: "value" }), exp(Column { relation:
Some("8W08BEQUQG"), name: "value" }), ln(Column { relation: None, name:
"BinaryExpr-+Literal1Column-8W08BEQUQG.value" } AS 8W08BEQUQG.value +
Int32(1)), log2(Column { relation: None, name:
"BinaryExpr-+Literal1Column-8W08BEQUQG.value" } AS 8W08BEQUQG.value +
Int32(1)), log10(Column { relation: None, name:
"BinaryExpr-+Literal1Column-8W08BEQUQG.value" } AS 8W08BEQUQG.value +
Int32(1)), random()
Projection: Column { relation: Some("8W08BEQUQG"), name: "value" } +
Int32(1) AS BinaryExpr-+Literal1Column-8W08BEQUQG.value, Column { relation:
None, name: "8W08BEQUQG.value" }
```
--
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]