calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Wysakowicz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-2747) No exception when ambigous column reference defined in PARTITION BY and MEASURES clause
Date Tue, 18 Dec 2018 14:13:00 GMT
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)

Mime
View raw message