Re: 答复: Som question about Flink stream sql

2017-01-05 Thread Fabian Hueske
There are several JIRA issues for row windows, some of them might be
assigned.
I haven't seen pull requests and nothing to merged yet.

I would ask on the JIRA issue of the current status.

Best, Fabian

2017-01-05 12:00 GMT+01:00 Hongyuhong :

> Hi Fabian,
>
>
>
> Thanks for the reply.
>
> As you noticed, row windows are already supported by Calcite and FLIP-11
> has planned,
>
> Can you tell something about the progress of the row windows in Table API?
>
>
>
> Regards.
>
> Yuhong
>
>
>
>
>
>
>
>
>
> *发件人:* Fabian Hueske [mailto:fhue...@gmail.com]
> *发送时间:* 2017年1月5日 17:43
> *收件人:* user@flink.apache.org
> *主题:* Re: Som question about Flink stream sql
>
>
>
> Hi Yuhong,
>
> as you noticed, FLIP-11 is about the window operations on the Table API
> and does not include SQL.
>
> The reason is that the Table API is completely Flink domain, i.e., we can
> design and implement the API. For SQL we have a dependency on Calcite.
>
> You are right, that Calcite's JIRA issue for group windows [1] seems to be
> stale. I don't have more information on that. You could ping there and ask
> what the status is.
>
> Row windows are already supported by Calcite (SQL's OVER and WINDOW
> clauses), so these could be implemented for SQL as well.
>
> Maybe it's even easier to start from the SQL side and add the Table API
> later to ensure a compatible compilation process.
>
> Best, Fabian
>
>
>
>
>
> 2017-01-05 4:40 GMT+01:00 Hongyuhong :
>
> Hi,
>
> We are currently exploring on Flink streamsql ,
>
> And I see the group-window has been implemented in Table API, and
> row-window is also planning in FLIP-11. It seems that row-window grammar is
> more similar to calcite over clause.
>
> I’m curious about the detail plan and roadmap of stream sql, cause
> FLIP-11 just mentioned Table API.
>
> And is that streamsql priority implement row-window? Or if group-window is
> considered, what is the status on calcite integration?
>
> The issue on calcite jira was raised in August, what’s the status right
> now?
>
> Thanks in advance!
>
>
>
> Regards
>
> Yuhong
>
>
>
>
>
>
>
>
>


答复: Som question about Flink stream sql

2017-01-05 Thread Hongyuhong
Hi Fabian,

Thanks for the reply.
As you noticed, row windows are already supported by Calcite and FLIP-11 has 
planned,
Can you tell something about the progress of the row windows in Table API?

Regards.
Yuhong




发件人: Fabian Hueske [mailto:fhue...@gmail.com]
发送时间: 2017年1月5日 17:43
收件人: user@flink.apache.org
主题: Re: Som question about Flink stream sql

Hi Yuhong,
as you noticed, FLIP-11 is about the window operations on the Table API and 
does not include SQL.
The reason is that the Table API is completely Flink domain, i.e., we can 
design and implement the API. For SQL we have a dependency on Calcite.
You are right, that Calcite's JIRA issue for group windows [1] seems to be 
stale. I don't have more information on that. You could ping there and ask what 
the status is.
Row windows are already supported by Calcite (SQL's OVER and WINDOW clauses), 
so these could be implemented for SQL as well.
Maybe it's even easier to start from the SQL side and add the Table API later 
to ensure a compatible compilation process.
Best, Fabian


2017-01-05 4:40 GMT+01:00 Hongyuhong 
mailto:hongyuh...@huawei.com>>:
Hi,
We are currently exploring on Flink streamsql ,
And I see the group-window has been implemented in Table API, and row-window is 
also planning in FLIP-11. It seems that row-window grammar is more similar to 
calcite over clause.
I’m curious about the detail plan and roadmap of stream sql, cause FLIP-11 just 
mentioned Table API.
And is that streamsql priority implement row-window? Or if group-window is 
considered, what is the status on calcite integration?
The issue on calcite jira was raised in August, what’s the status right now?
Thanks in advance!

Regards
Yuhong