You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/04/29 06:57:00 UTC
[jira] [Created] (FLINK-22523) TUMBLE TVF should throw helpful
exception when specifying second interval parameter
Jark Wu created FLINK-22523:
-------------------------------
Summary: TUMBLE TVF should throw helpful exception when specifying second interval parameter
Key: FLINK-22523
URL: https://issues.apache.org/jira/browse/FLINK-22523
Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Reporter: Jark Wu
Fix For: 1.14.0, 1.13.1
Currently, the following query can run and no exception is thrown.
However, the second interval parameter (i.e. the offset parameter) is not supported yet. We should throw a exception for this.
{code:sql}
select
date_format(window_end, 'yyyy-MM-dd') as date_str,
date_format(window_end, 'HH:mm') as time_str,
count(distinct user_id) as uv
from table(tumble(table user_behavior, descriptor(ts), interval '10' minute, interval '1' day))
group by window_start, window_end;
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)