Hi,  gyula.fora

If you’re trying convert Table from a Tuple DataStream, Alias the filed by `as` 
expression is no supported yet,
because all fields are referenced by position in this point. You can simply 
alias like following syntax:
```
tableEnv.fromDataStream(env.fromElements(Tuple2.of("a", 1)), “name, age");
```
This should satisfy  your purpose. And back to the 1.10 docs, If you are 
converting Table from a 
POJO(assuming the POJO person has two fields name and age) DataStream, Alias 
the filed by `as` is supported 
because this point all fields are referenced by name, like:
```
tableEnv.fromDataStream(env.fromElements(new Person(“foo", 12)), “age as 
age_alias, name as user_name,");
```


Best,
Leonard, Xu

Reply via email to