Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2747

No exception when ambiguous column reference defined in PARTITION BY and MEASURES clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Query:

      SELECT *
      FROM MyTable
      MATCH_RECOGNIZE (
        PARTITION BY id
        ORDER BY proctime
        MEASURES
          A.id AS id
        PATTERN (A)
        DEFINE
          A AS name = 'a'
      ) AS T
      

      should fail because of ambiguous id column.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: