[ 
https://issues.apache.org/jira/browse/BEAM-9543?focusedWorklogId=481822&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-481822
 ]

ASF GitHub Bot logged work on BEAM-9543:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Sep/20 00:52
            Start Date: 11/Sep/20 00:52
    Worklog Time Spent: 10m 
      Work Description: aaltay commented on pull request #12735:
URL: https://github.com/apache/beam/pull/12735#issuecomment-690808007


   Is this ready to be merged?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 481822)
    Time Spent: 2h 50m  (was: 2h 40m)

> BeamSQL Pattern Recognization Functionality
> -------------------------------------------
>
>                 Key: BEAM-9543
>                 URL: https://issues.apache.org/jira/browse/BEAM-9543
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Priority: P2
>              Labels: gsoc, gsoc2020, mentor
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The goal of this Jira is to support the following syntax in BeamSQL:
> {code:sql}
> SELECT T.aid, T.bid, T.cid
> FROM MyTable
>     MATCH_RECOGNIZE (
>       PARTITION BY userid
>       ORDER BY proctime
>       MEASURES
>         A.id AS aid,
>         B.id AS bid,
>         C.id AS cid
>       PATTERN (A B C)
>       DEFINE
>         A AS name = 'a',
>         B AS name = 'b',
>         C AS name = 'c'
>     ) AS T
> {code}
> match_recognize is in SQL standard 2016. Currently Calcite also supports it. 
> A good reference to match_recognize is [1]
> This will requires touch core components of BeamSQL:
> 1. SQL parser to support the syntax above.
> 2. SQL core to implement physical relational operator.
> 3. Distributed algorithms to implement a list of functions in a distributed 
> manner.
> other references:
> Calcite match_recognize syntax [2]
> [1]: 
> https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/streaming/match_recognize.html
> [2]: https://calcite.apache.org/docs/reference.html#syntax-1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to