@@ -362,6 +362,23 @@ emp_no:integer | salary:integer | type:keyword | pvalue:double
362362;
363363
364364
365+ where with shadowing
366+ required_capability: change_point
367+
368+ FROM employees
369+ | KEEP emp_no, salary
370+ | EVAL salary=CASE(emp_no==10015, -1000000, salary)
371+ | WHERE emp_no < 10025
372+ | CHANGE_POINT salary ON emp_no AS type, emp_no
373+ | WHERE emp_no IS NOT NULL
374+ | RENAME emp_no AS pvalue
375+ ;
376+
377+ salary:integer | type:keyword | pvalue:double
378+ -1000000 | dip | 0.0
379+ ;
380+
381+
365382stats after change point
366383required_capability: change_point
367384
@@ -673,7 +690,7 @@ height:double | salary:integer | type:keyword | pvalue:doub
673690;
674691
675692
676- too much data (change inside limit)
693+ too much data (change point inside limit)
677694required_capability: change_point
678695
679696ROW key1=["A","B","C","D","E","F","G","H","I","J","K","L","M"],
@@ -697,7 +714,7 @@ I42 | 1000 | step_change | 0.0
697714;
698715
699716
700- too much data (change outside limit)
717+ too much data (change point outside limit)
701718required_capability: change_point
702719
703720ROW key1=["A","B","C","D","E","F","G","H","I","J","K","L","M"],
@@ -780,3 +797,43 @@ time:integer | val:integer | type:keyword | pvalue:double
78079724 | 9 | null | null
78179825 | 10 | null | null
782799;
800+
801+
802+ values null column
803+ required_capability: change_point
804+
805+ ROW time=[7,13,12,17,14,5,16,10,19,18,20,2,3,21,25,4,22,15,6,23,9,11,1,8,24], values=NULL::INTEGER
806+ | MV_EXPAND time
807+ | CHANGE_POINT values ON time
808+ ;
809+
810+ warning:Line 3:3: warnings during evaluation of [CHANGE_POINT values ON time]. Only first 20 failures recorded.
811+ warning:Line 3:3: java.lang.IllegalArgumentException: values contain nulls; treating them as zeroes
812+
813+ time:integer | values:integer | type:keyword | pvalue:double
814+ 1 | null | null | null
815+ 2 | null | null | null
816+ 3 | null | null | null
817+ 4 | null | null | null
818+ 5 | null | null | null
819+ 6 | null | null | null
820+ 7 | null | null | null
821+ 8 | null | null | null
822+ 9 | null | null | null
823+ 10 | null | null | null
824+ 11 | null | null | null
825+ 12 | null | null | null
826+ 13 | null | null | null
827+ 14 | null | null | null
828+ 15 | null | null | null
829+ 16 | null | null | null
830+ 17 | null | null | null
831+ 18 | null | null | null
832+ 19 | null | null | null
833+ 20 | null | null | null
834+ 21 | null | null | null
835+ 22 | null | null | null
836+ 23 | null | null | null
837+ 24 | null | null | null
838+ 25 | null | null | null
839+ ;
0 commit comments