You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Anton Kedin (JIRA)" <ji...@apache.org> on 2018/02/02 19:23:00 UTC
[jira] [Closed] (BEAM-3610) [SQL] Fix HOP definition
[ https://issues.apache.org/jira/browse/BEAM-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Kedin closed BEAM-3610.
-----------------------------
> [SQL] Fix HOP definition
> ------------------------
>
> Key: BEAM-3610
> URL: https://issues.apache.org/jira/browse/BEAM-3610
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Reporter: Anton Kedin
> Assignee: Anton Kedin
> Priority: Major
> Fix For: Not applicable
>
>
> Current HOP implementation has parameters in wrong order, according to Calcite doc. Sliding window size and frequency are swapped
>
> According to [Calcite docs|https://calcite.apache.org/docs/reference.html#grouped-window-functions] the syntax is:
> {code:SQL}
> HOP(timestamp_field, frequency_interval, window_size)
> {code}
> We have
> {code:SQL}
> HOP(timestamp_field, window_size, frequency_interval)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)