[
https://issues.apache.org/jira/browse/FLINK-13902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Knauf updated FLINK-13902:
-------------------------------------
Labels: (was: stale-major)
Removed "stale-critical|major|minor" label in line with
https://issues.apache.org/jira/browse/FLINK-22429.
> Can not use index to convert FieldReferenceExpression to RexNode
> ----------------------------------------------------------------
>
> Key: FLINK-13902
> URL: https://issues.apache.org/jira/browse/FLINK-13902
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Reporter: Jingsong Lee
> Priority: Major
>
> Now, we can not use inputCount+inputIndex+FieldIndex to construct rex input
> reference of calcite.
> See QueryOperationConverter.SingleRelVisitor.visit(AggregateQueryOperation).
> Calcite will shuffle the output order of groupings.(See RelBuilder.aggregate,
> it use ImmutableBitSet to store groupings) So the output fields order will be
> changed too. This lead to the output fields orders of
> AggregateOperationFactory is different from calcite output orders.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)