You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2018/12/18 14:13:00 UTC

[jira] [Created] (CALCITE-2747) No exception when ambigous column reference defined in PARTITION BY and MEASURES clause

Dawid Wysakowicz created CALCITE-2747:
-----------------------------------------

             Summary: No exception when ambigous column reference defined in PARTITION BY and MEASURES clause 
                 Key: CALCITE-2747
                 URL: https://issues.apache.org/jira/browse/CALCITE-2747
             Project: Calcite
          Issue Type: Bug
            Reporter: Dawid Wysakowicz
            Assignee: Julian Hyde


Query:
{code}
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
{code}

should fail because of ambiguous {{id}} column.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)