beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-4194) [SQL] Support LIMIT on Unbounded Data
Date Fri, 22 Jun 2018 21:07:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rui Wang updated BEAM-4194:
---------------------------
    Fix Version/s:     (was: Not applicable)
                   2.6.0

> [SQL] Support LIMIT on Unbounded Data
> -------------------------------------
>
>                 Key: BEAM-4194
>                 URL: https://issues.apache.org/jira/browse/BEAM-4194
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Anton Kedin
>            Assignee: Rui Wang
>            Priority: Major
>             Fix For: 2.6.0
>
>          Time Spent: 10h 20m
>  Remaining Estimate: 0h
>
> We need to support queries with "LIMIT xxx".
> Problem is that we don't know when aggregates will trigger, they can potentially accumulate
values in global window and never trigger.
> If we have some trigger syntax (BEAM-4193), then the use case becomes similar to what
we have at the moment, where the user defines the trigger upstream for all inputs. In this
case LIMIT probably can be implemented as sample.any(5) with trigger at count.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message