RE: "select as" in Flink SQL

2016-08-31 Thread Davran Muzafarov
Thank you Timo. From: Timo Walther [mailto:twal...@apache.org] Sent: Wednesday, August 31, 2016 4:28 AM To: user@flink.apache.org Subject: Re: "select as" in Flink SQL Hi Davran, Flink SQL uses a lexical policy similar to Java: The case of identifiers is preserved whether or no

Re: "select as" in Flink SQL

2016-08-31 Thread Timo Walther
Hi Davran, Flink SQL uses a lexical policy similar to Java: The case of identifiers is preserved whether or not they are quoted; after which, identifiers are matched case-sensitively. Unlike Java, back-ticks allow identifiers to contain non-alphanumeric characters. So "select assetClass as `a

"select as" in Flink SQL

2016-08-30 Thread Davran Muzafarov
I am try to execute simple sql like this: DataSet dataSet0 = env.fromCollection( infos0 ); tableEnv.registerDataSet( "table0", dataSet0 ); Table table = tableEnv.sql( "select assetClass as \"asset class\" from tabel0" ); I am getting: org.apache.calcite.sql.parser.SqlParseExcept