...
CREATE TEMPORARY VIEW T AS TUMBLE(TABLE table, DESCRIPTOR(rowtime), INTERVAL '10' MINUTES)); FROM ( SELECT *, ROW_NUMBER() OVER (PARTITION BY window_start, window_end, col1 ORDER BY col2 asc, col3 desc) AS rownum FROM T) WHERE rownum <= 3 |
...
hint
Specification:
Table hint(String name, Map<String, String> options) |
...