Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.10.0, 1.10.1
Description
It is impossible to alias Tuple and Row fields when converting DataStream to Table.
tableEnv.fromDataStream(env.fromElements(Tuple2.of("a", 1)), "f0 as name, f1 as age");
This leads to the following error:
Alias 'name' is not allowed if other fields are referenced by position
org.apache.flink.table.typeutils.FieldInfoUtils#isReferenceByPosition method