You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/physical/local/ReplaceRoundToWithQueryAndTags.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/physical/local/ReplaceRoundToWithQueryAndTagsTests.java
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -391,6 +391,60 @@ public void testDateTruncBucketNotTransformToQueryAndTagsWithFork() {
391
391
}
392
392
}
393
393
394
+
// If the number of rounding points is 127 or less, the query is rewritten to use QueryAndTags.
395
+
// If the number of rounding points is 128 or more, the query is not rewritten.
0 commit comments