|
@@ -216,6 +216,23 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos greater than, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos > TO_DATE_NANOS("2023-10-23T12:27:28.948000000Z") | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos > TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948000000Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date only
|
|
implicit casting to nanos, date only
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -236,6 +253,29 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date only, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos > "2023-10-23"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos > \\\"2023-10-23\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date only, equality test
|
|
implicit casting to nanos, date only, equality test
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -248,6 +288,21 @@ FROM date_nanos
|
|
|
millis:date | nanos:date_nanos
|
|
millis:date | nanos:date_nanos
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date only, equality test, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos == "2023-10-23"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos == \\\"2023-10-23\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
|
|
|
|
|
implicit casting to nanos, date plus time to seconds
|
|
implicit casting to nanos, date plus time to seconds
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
@@ -269,6 +324,29 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to seconds, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos > "2023-10-23T00:00:00"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos > \\\"2023-10-23T00:00:00\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date plus time to seconds, equality test
|
|
implicit casting to nanos, date plus time to seconds, equality test
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -281,6 +359,21 @@ FROM date_nanos
|
|
|
millis:date | nanos:date_nanos
|
|
millis:date | nanos:date_nanos
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to seconds, equality test, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos == "2023-10-23T12:27:28"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos == \\\"2023-10-23T12:27:28\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date plus time to millis
|
|
implicit casting to nanos, date plus time to millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -301,6 +394,29 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos > "2023-10-23T00:00:00.000"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos > \\\"2023-10-23T00:00:00\.000\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date plus time to millis, equality test
|
|
implicit casting to nanos, date plus time to millis, equality test
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -314,6 +430,22 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to millis, equality test, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos == "2023-10-23T12:27:28.948"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos == \\\"2023-10-23T12:27:28\.948\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date plus time to nanos
|
|
implicit casting to nanos, date plus time to nanos
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -334,6 +466,29 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to nanos, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos > "2023-10-23T00:00:00.000000000"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos > \\\"2023-10-23T00:00:00\.000000000\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
implicit casting to nanos, date plus time to nanos, equality test
|
|
implicit casting to nanos, date plus time to nanos, equality test
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_implicit_casting
|
|
required_capability: date_nanos_implicit_casting
|
|
@@ -347,6 +502,22 @@ millis:date | nanos:date_nanos
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+implicit casting to nanos, date plus time to nanos, equality test, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos == "2023-10-23T12:27:28.948000000"
|
|
|
|
|
+| SORT nanos DESC
|
|
|
|
|
+| KEEP millis, nanos;
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos == \\\"2023-10-23T12:27:28\.948000000\\\"\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos greater than millis
|
|
date nanos greater than millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -361,6 +532,23 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos greater than millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos > TO_DATETIME("2023-10-23T12:27:28.948Z") | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos > TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos greater than or equal
|
|
date nanos greater than or equal
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
|
required_capability: date_nanos_binary_comparison
|
|
required_capability: date_nanos_binary_comparison
|
|
@@ -376,6 +564,24 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos greater than or equal, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos >= TO_DATE_NANOS("2023-10-23T12:27:28.948Z") | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos >= TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos greater than or equal millis
|
|
date nanos greater than or equal millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -391,6 +597,23 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos greater than or equal millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos >= TO_DATETIME("2023-10-23T12:27:28.948Z") | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos >= TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
|
|
|
date nanos less than
|
|
date nanos less than
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
@@ -411,12 +634,39 @@ millis:date | nanos:date_nanos | num:long
|
|
|
// end::to_date_nanos-result[]
|
|
// end::to_date_nanos-result[]
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos less than, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos < TO_DATE_NANOS("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos < TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos less than millis
|
|
date nanos less than millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
|
|
|
|
|
|
FROM date_nanos | WHERE MV_MIN(nanos) < TO_DATETIME("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
FROM date_nanos | WHERE MV_MIN(nanos) < TO_DATETIME("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
+date nanos less than millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos < TO_DATETIME("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos < TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
millis:date | nanos:date_nanos | num:long
|
|
millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
@@ -434,6 +684,21 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos less than equal, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos <= TO_DATE_NANOS("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos <= TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos less than equal millis
|
|
date nanos less than equal millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -446,6 +711,20 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos less than equal millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos <= TO_DATETIME("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos <= TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
|
|
|
date nanos equals
|
|
date nanos equals
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
@@ -457,6 +736,19 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos equals, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos == TO_DATE_NANOS("2023-10-23T12:27:28.948000000Z");
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos == TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948000000Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos equals millis exact match
|
|
date nanos equals millis exact match
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -467,6 +759,19 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos equals millis exact match, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos == TO_DATETIME("2023-10-23T12:27:28.948Z");
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos == TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos equals millis without exact match
|
|
date nanos equals millis without exact match
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -476,6 +781,18 @@ FROM date_nanos | WHERE MV_MIN(nanos) == TO_DATETIME("2023-10-23T13:33:34.937");
|
|
|
millis:date | nanos:date_nanos | num:long
|
|
millis:date | nanos:date_nanos | num:long
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos equals millis without exact match, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos == TO_DATETIME("2023-10-23T13:33:34.937");
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos == TO_DATETIME\(\\\"2023-10-23T13:33:34\.937\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos not equals
|
|
date nanos not equals
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
|
required_capability: date_nanos_binary_comparison
|
|
required_capability: date_nanos_binary_comparison
|
|
@@ -492,6 +809,25 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos not equals, no mv min
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_binary_comparison
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos != TO_DATE_NANOS("2023-10-23T12:27:28.948000000Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos != TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948000000Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos not equals millis
|
|
date nanos not equals millis
|
|
|
required_capability: date_nanos_type
|
|
required_capability: date_nanos_type
|
|
|
required_capability: date_nanos_compare_to_millis
|
|
required_capability: date_nanos_compare_to_millis
|
|
@@ -508,6 +844,25 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+date nanos not equals millis, no mv min
|
|
|
|
|
+required_capability: date_nanos_type
|
|
|
|
|
+required_capability: date_nanos_compare_to_millis
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos | WHERE nanos != TO_DATETIME("2023-10-23T12:27:28.948Z") AND millis > "2000-01-01" | SORT nanos DESC;
|
|
|
|
|
+warningRegex:Line 1:25: evaluation of \[nanos != TO_DATETIME\(\\\"2023-10-23T12:27:28\.948Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 1:25: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T13:53:55.832Z | 2023-10-23T13:53:55.832987654Z | 1698069235832987654
|
|
|
|
|
+2023-10-23T13:52:55.015Z | 2023-10-23T13:52:55.015787878Z | 1698069175015787878
|
|
|
|
|
+2023-10-23T13:51:54.732Z | 2023-10-23T13:51:54.732102837Z | 1698069114732102837
|
|
|
|
|
+2023-10-23T13:33:34.937Z | 2023-10-23T13:33:34.937193000Z | 1698068014937193000
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+2023-10-23T12:15:03.360Z | 2023-10-23T12:15:03.360103847Z | 1698063303360103847
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
Date nanos date extract
|
|
Date nanos date extract
|
|
|
required_capability: date_nanos_date_extract
|
|
required_capability: date_nanos_date_extract
|
|
|
|
|
|
|
@@ -530,6 +885,34 @@ nn:date_nanos | year:long | ns:long
|
|
|
2023-03-23T12:15:03.360103847Z | 2023 | 360103847
|
|
2023-03-23T12:15:03.360103847Z | 2023 | 360103847
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+Date nanos date extract, no mv max
|
|
|
|
|
+required_capability: date_nanos_date_extract
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| EVAL nn = nanos
|
|
|
|
|
+| EVAL year = DATE_EXTRACT("year", nn), ns = DATE_EXTRACT("nano_of_second", nn)
|
|
|
|
|
+| KEEP nn, year, ns
|
|
|
|
|
+| SORT nn DESC;
|
|
|
|
|
+# NB: sorting of the MV results isn't deterministic, so we ignore ordering here
|
|
|
|
|
+ignoreOrder:true
|
|
|
|
|
+warning:Line 3:15: evaluation of [DATE_EXTRACT(\"year\", nn)] failed, treating result as null. Only first 20 failures recorded.
|
|
|
|
|
+warning:Line 3:15: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+warning:Line 3:46: evaluation of [DATE_EXTRACT(\"nano_of_second\", nn)] failed, treating result as null. Only first 20 failures recorded.
|
|
|
|
|
+warning:Line 3:46: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+nn:date_nanos | year:long | ns:long
|
|
|
|
|
+2023-10-23T13:55:01.543123456Z | 2023 | 543123456
|
|
|
|
|
+2023-10-23T13:53:55.832987654Z | 2023 | 832987654
|
|
|
|
|
+2023-10-23T13:52:55.015787878Z | 2023 | 015787878
|
|
|
|
|
+2023-10-23T13:51:54.732102837Z | 2023 | 732102837
|
|
|
|
|
+2023-10-23T13:33:34.937193000Z | 2023 | 937193000
|
|
|
|
|
+2023-10-23T12:27:28.948000000Z | 2023 | 948000000
|
|
|
|
|
+2023-10-23T12:15:03.360103847Z | 2023 | 360103847
|
|
|
|
|
+2023-10-23T12:15:03.360103847Z | 2023 | 360103847
|
|
|
|
|
+[2023-01-23T13:55:01.543123456Z, 2023-02-23T13:33:34.937193Z, 2023-03-23T12:15:03.360103847Z] | null | null
|
|
|
|
|
+[2023-03-23T12:15:03.360103847Z, 2023-03-23T12:15:03.360103847Z, 2023-03-23T12:15:03.360103847Z] | null | null
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
date nanos to long, index version
|
|
date nanos to long, index version
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
|
|
|
|
|
@@ -1206,6 +1589,22 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+Date Nanos IN constant date nanos, no mv first
|
|
|
|
|
+required_capability: date_nanos_in_operator
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos IN (TO_DATE_NANOS("2023-10-23T13:55:01.543123456Z"), TO_DATE_NANOS("2023-10-23T12:27:28.948Z"), TO_DATE_NANOS("2017-10-23T13:53:55.832987654Z"));
|
|
|
|
|
+ignoreOrder:true
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos IN \(TO_DATE_NANOS\(\\\"2023-10-23T13:55:01\.543123456Z\\\"\), TO_DATE_NANOS\(\\\"2023-10-23T12:27:28\.948Z\\\"\), TO_DATE_NANOS\(\\\"2017-10-23T13:53:55\.832987654Z\\\"\)\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
Date Nanos IN constant date nanos, implicit casting
|
|
Date Nanos IN constant date nanos, implicit casting
|
|
|
required_capability: date_nanos_in_operator
|
|
required_capability: date_nanos_in_operator
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
@@ -1220,6 +1619,23 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+Date Nanos IN constant date nanos, implicit casting, no mv function
|
|
|
|
|
+required_capability: date_nanos_in_operator
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE nanos IN ("2023-10-23T13:55:01.543123456Z", "2023-10-23T12:27:28.948Z", "2017-10-23T13:53:55.832987654Z");
|
|
|
|
|
+ignoreOrder:true
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[nanos IN \(\\\"2023-10-23T13:55:01\.543123456Z\\\", \\\"2023-10-23T12:27:28\.948Z\\\", \\\"2017-10-23T13:53:55\.832987654Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+2023-10-23T12:27:28.948Z | 2023-10-23T12:27:28.948000000Z | 1698064048948000000
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
Date Nanos IN date nanos field, implicit casting
|
|
Date Nanos IN date nanos field, implicit casting
|
|
|
required_capability: date_nanos_in_operator
|
|
required_capability: date_nanos_in_operator
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
@@ -1232,6 +1648,23 @@ millis:date | nanos:date_nanos | num:long
|
|
|
2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
|
|
+Date Nanos IN date nanos field, implicit casting, no mv function
|
|
|
|
|
+required_capability: date_nanos_in_operator
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: date_nanos_implicit_casting
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE "2023-10-23T13:55:01.543123456Z" IN (nanos);
|
|
|
|
|
+ignoreOrder:true
|
|
|
|
|
+warningRegex:Line 2:9: evaluation of \[\\\"2023-10-23T13:55:01\.543123456Z\\\" IN \(nanos\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+millis:date | nanos:date_nanos | num:long
|
|
|
|
|
+2023-10-23T13:55:01.543Z | 2023-10-23T13:55:01.543123456Z | 1698069301543123456
|
|
|
|
|
+;
|
|
|
|
|
+
|
|
|
|
|
+# TODO: should this one work without the mv function? doesn't seem to.
|
|
|
Date nanos IN millisecond date field
|
|
Date nanos IN millisecond date field
|
|
|
required_capability: date_nanos_in_operator
|
|
required_capability: date_nanos_in_operator
|
|
|
required_capability: to_date_nanos
|
|
required_capability: to_date_nanos
|
|
@@ -1304,3 +1737,28 @@ diff_sec:integer | diff_sec_m:integer | n:date_nanos
|
|
|
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
|
|
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
|
|
|
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
|
|
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
|
|
|
;
|
|
;
|
|
|
|
|
+
|
|
|
|
|
+Regression out of bounds in where clause
|
|
|
|
|
+required_capability: to_date_nanos
|
|
|
|
|
+required_capability: fix_date_nanos_lucene_pushdown_bug
|
|
|
|
|
+
|
|
|
|
|
+FROM date_nanos
|
|
|
|
|
+| WHERE millis > "2020-01-01"
|
|
|
|
|
+| WHERE nanos >= to_datenanos("2010-03-20T15:08:25.608Z") AND nanos <= to_datenanos("2026-03-20T15:08:25.608Z")
|
|
|
|
|
+| KEEP nanos;
|
|
|
|
|
+ignoreOrder:true
|
|
|
|
|
+warningRegex:Line 3:63: evaluation of \[nanos <= to_datenanos\(\\\"2026-03-20T15:08:25\.608Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 3:63: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+warningRegex:Line 3:9: evaluation of \[nanos >= to_datenanos\(\\\"2010-03-20T15:08:25\.608Z\\\"\)\] failed, treating result as null\. Only first 20 failures recorded\.
|
|
|
|
|
+warningRegex:Line 3:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
|
|
|
|
|
+
|
|
|
|
|
+nanos:date_nanos
|
|
|
|
|
+2023-10-23T13:55:01.543123456Z
|
|
|
|
|
+2023-10-23T13:53:55.832987654Z
|
|
|
|
|
+2023-10-23T13:52:55.015787878Z
|
|
|
|
|
+2023-10-23T13:51:54.732102837Z
|
|
|
|
|
+2023-10-23T13:33:34.937193Z
|
|
|
|
|
+2023-10-23T12:27:28.948Z
|
|
|
|
|
+2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+2023-10-23T12:15:03.360103847Z
|
|
|
|
|
+;
|