Page properties | ||||||||
---|---|---|---|---|---|---|---|---|
|
Table of Contents |
---|
Motivation
...
- Make Table API users to easily leverage the powerful features in SQL, e.g. deduplication, topn, etc
- Provide convenient frequently used functionalities, e.g. introducing a series of methods for null data handling (it will become a problem if there are hundreds of columns) and data sampling and splitting (it is very common in ML to split a data set into multiple splits separately for training and validation)
Public Interfaces
...
Align SQL functionalities
deduplicate
Specification:
...
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) |
...