[ 
https://issues.apache.org/jira/browse/FLINK-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982492#comment-15982492
 ] 

ASF GitHub Bot commented on FLINK-6250:
---------------------------------------

Github user rtudoran commented on the issue:

    https://github.com/apache/flink/pull/3732
  
    @fhueske @stefanobortoli  I suggest we merge this temporary solution into 
flink (with using a special marker for distinct) until the flink module will be 
upgraded to the next calcite release. I have fixed the issue into calcite. 
    However, the advantages of pushing already this is that:
    1) we can reuse the code
    2) when we have the distinct marker we can simply modify the check for 
distinct for the aggregates in the DataStreamOver 


> Distinct procTime with Rows boundaries
> --------------------------------------
>
>                 Key: FLINK-6250
>                 URL: https://issues.apache.org/jira/browse/FLINK-6250
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: radu
>            Assignee: Stefano Bortoli
>
> Support proctime with rows boundaries
> Q1.1. `SELECT SUM( DISTINCT  b) OVER (ORDER BY procTime() ROWS BETWEEN 2 
> PRECEDING AND CURRENT ROW) FROM stream1`
> Q1.1. `SELECT COUNT(b), SUM( DISTINCT  b) OVER (ORDER BY procTime() ROWS 
> BETWEEN 2 PRECEDING AND CURRENT ROW) FROM stream1`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to