Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4194

[SQL] Support LIMIT on Unbounded Data

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Done
    • None
    • 2.6.0
    • dsl-sql
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              amaliujia Rui Wang
              kedin Anton Kedin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h 20m
                  10h 20m