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)