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

Add support for EXCEPT (set minus)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • Table SQL / API
    • None

    Description

      Currently, the Table API and SQL do not support EXCEPT.

      EXCEPT can be executed as a coGroup on all fields that forwards records of the first input if the second input is empty.

      In order to add support for EXCEPT to the Table API and SQL we need to:

      • Implement a DataSetMinus class that translates an EXCEPT into a DataSet API program using a coGroup on all fields.
      • Implement a DataSetMinusRule that translates a Calcite LogicalMinus into a DataSetMinus.
      • Extend the Table API (and validation phase) to provide an except() method.

      Attachments

        Issue Links

          Activity

            People

              ivan.mushketyk Ivan Mushketyk
              fhueske Fabian Hueske
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: