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

Forbidden `IS NOT DISTINCT FROM `(or an expanded version) in LookupJoin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.10.0
    • 1.9.0
    • Table SQL / Planner
    • None

    Description

      Example1:

      `SELECT T.id, T.len, T.content, D.name FROM T JOIN userTable for system_time as of T.proctime AS D ON T.id = D.id OR (T.id is null and D.id is null)`
      

      Example2:

      "SELECT T.id, T.len, T.content, D.name FROM T JOIN userTable for system_time as of T.proctime AS D ON T.id IS NOT  DISTINCT FROM  D.id"
      

      In 1.9 version, we can simply throw exception in compile phase for the above sql and add proper support in FLINK-13648.

      Attachments

        Issue Links

          Activity

            People

              jingzhang Jing Zhang
              jingzhang Jing Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: