Re: How to run table api in 1.1-SNAPSHOT

2016-06-06 Thread Cody Innowhere
Yes, it's the name "count" that caused the problem, thanks for your explanation. Still, the word-count example uses an embarrassing field name in table API case that I would naturally use "select word, count" in SQL while forgetting the keyword... On Mon, Jun 6, 2016 at 4:31 PM, Ufuk Celebi wrote

Re: How to run table api in 1.1-SNAPSHOT

2016-06-06 Thread Ufuk Celebi
On Mon, Jun 6, 2016 at 8:35 AM, Vasiliki Kalavri wrote: > column "count"? Can you try renaming it to "myCount" or something else? I For String expressions, it's also possible to escape it via "...as `count`...", but I'm not sure how this translates to the DSL expressions. Any ideas, Fabian or Alj

Re: How to run table api in 1.1-SNAPSHOT

2016-06-05 Thread Vasiliki Kalavri
Hi Cody, could it be you're getting this error because you've named a SQL table column "count"? Can you try renaming it to "myCount" or something else? I think the parser recognizes the aggregate function instead :) Cheers, -V. On Jun 2, 2016 1:56 PM, "Cody Innowhere" wrote: > Hi guys, > I'm tr

How to run table api in 1.1-SNAPSHOT

2016-06-02 Thread Cody Innowhere
Hi guys, I'm trying to run Table-API in master trunk using the sql/registerDataSet APIs in TableEnvironment class. According to the doc in table.md, after registering a table, I should be able to use a sql query on the tabelEnv, so I made a slight change in WordCountTable.scala by simply adding tw