Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Add support DISTINCT in dataStream SQL as follow:
DATA:
(name, age) (kevin, 28), (sunny, 6), (jack, 6)
SQL:
SELECT DISTINCT age FROM MyTable"
RESULTS:
28, 6
To DataStream:
inputDS .keyBy() // KeyBy on all fields .flatMap() // Eliminate duplicate data
fhueske do we need this feature?
Attachments
Issue Links
- is blocked by
-
FLINK-6491 Add QueryConfig to specify state retention time for streaming queries
- Closed
- links to