Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6248

Make the optional() available to all offered patterns.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: CEP
    • Labels:
      None

      Description

      Currently the optional() quantifier is available as a separate pattern. This issue proposes to make it available as a flag to all patterns.

      This implies that:
      1) a singleton pattern with optional=true will become the current OPTIONAL,
      2) a oneToMany will become zeroToMany,
      3) the zeroToMany will not exist as a direct option in the Pattern class, and
      4) the times() will require some changes in the NFACompiler.

        Activity

        Hide
        kkl0u Kostas Kloudas added a comment -

        Merged at b3de48d0e2c1fec6ccab3a8dd0f02b711dc0ae0a

        Show
        kkl0u Kostas Kloudas added a comment - Merged at b3de48d0e2c1fec6ccab3a8dd0f02b711dc0ae0a
        Hide
        kkl0u Kostas Kloudas added a comment -

        This is the PR that addresses it https://github.com/apache/flink/pull/3761

        Show
        kkl0u Kostas Kloudas added a comment - This is the PR that addresses it https://github.com/apache/flink/pull/3761

          People

          • Assignee:
            kkl0u Kostas Kloudas
            Reporter:
            kkl0u Kostas Kloudas
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development