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

Throw meaningful exceptions for unsupported SQL features

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.1.0
    • 1.1.0
    • Table SQL / API
    • None

    Description

      We must explicitly exclude unsupported SQL features such as Grouping Sets from being translated to Flink programs.
      Otherwise, the resulting program will compute invalid results.

      For that we must restrict the Calcite rules that translate Logical RelNodes into DataSetRel or DataStreamRel nodes.
      We may only translate to DataSetRel or DataStreamRel nodes if these support the semantics of the RelNode.

      Not translating a RelNode will yield a Calcite CannotPlanException that we should catch and enrich with a meaningful error message.

      Attachments

        Issue Links

          Activity

            People

              fhueske Fabian Hueske
              vkalavri Vasia Kalavri
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: