Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The CLASSIFIER() command simply returns the defined pattern classifier that was matched for the respective column.
A very simple test case which could be added to match.iq is
select * from "hr"."emps" match_recognize ( order by "empid" desc measures "commission" as c, "empid" as empid, CLASSIFIER() as cl pattern (s up) define up as up."commission" < prev(up."commission")); C EMPID CL ---- ----- -- 1000 100 S 500 200 UP !ok
Attachments
Issue Links
- is related to
-
CALCITE-1935 Reference implementation for MATCH_RECOGNIZE
- Closed
- relates to
-
CALCITE-3341 Implement FINAL modifier functionality
- Open
- links to