[ https://issues.apache.org/jira/browse/FLINK-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske closed FLINK-6614. -------------------------------- Resolution: Fixed Fix Version/s: 1.4.0 1.3.0 Fixed for 1.3.0 with 51fb7ed791bc8c5c1c35dffcd9855a2e5a8f3087 Fixed for 1.4.0 with 9fc42df68d746c633b0d3c8995e0031064bfd362 > Applying function on window auxiliary function fails > ---------------------------------------------------- > > Key: FLINK-6614 > URL: https://issues.apache.org/jira/browse/FLINK-6614 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Affects Versions: 1.3.0, 1.4.0 > Reporter: Fabian Hueske > Assignee: Fabian Hueske > Fix For: 1.3.0, 1.4.0 > > > SQL queries that apply a function or expression on a window auxiliary > function ({{TUMBLE_START}}, {{TUMBLE_END}}, {{HOP_START}}, etc). cannot be > translated and fail with a {{CodeGenException}}: > > {code} > Exception in thread "main" org.apache.flink.table.codegen.CodeGenException: > Unsupported call: TUMBLE_END > {code} > Example query: > {code} > SELECT > a, > toLong(TUMBLE_END(rowtime, INTERVAL '10' MINUTE)) AS t, > COUNT(b) AS cntB > FROM myTable > GROUP BY a, TUMBLE(rowtime, INTERVAL '10' MINUTE) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)