Skip to content

Commit fb32cfb

Browse files
opensearch-trigger-bot[bot]github-actions[bot]bowenlan-amzn
authored
[Backport 2.x] Fix auto date histogram rounding assertion bug (#17175) (#17211)
* Fix auto date histogram rounding assertion bug (#17023) * Add comments explanations for auto date histo increaseRoundingIfNeeded. * Add testFilterRewriteWithTZRoundingRangeAssert() to reproduce auto date histo assertion bug per #16932 * Fix #16932. Ensure optimized path can only increase preparedRounding of agg. * Spotless apply * Fast fail filter rewrite opt in data histo aggs for non UTC timezones * Remove redundant UTC check from getInterval(). * Save a call to prepareRounding if roundingIdx is unchanged. * Spotless apply * Changelog * Add ZoneId getter for date histo filter rewrite canOptimize check. * Spotless apply * Disable ff optimzation for composite agg in canOptimize. * Spotless apply * Handle utc timezone check * Remove redundant timeZone getter. * Simplify ff prepared rounding check. --------- (cherry picked from commit de59264) * Remove breaking abstract isUTC() getter from Rounding.java. * Remove unused ZoneId getter. --------- (cherry picked from commit a79c6e8) Signed-off-by: Finn Carroll <carrofin@amazon.com> Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: bowenlan-amzn <bowenlan23@gmail.com>
1 parent b006c0f commit fb32cfb

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)