[
https://issues.apache.org/jira/browse/FLINK-13902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-13902.
------------------------------------
Resolution: Won't Fix
> 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.20.10#820010)