Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of time zone in date_histogram rewrite #31407

Merged
merged 2 commits into from
Jun 20, 2018

Commits on Jun 18, 2018

  1. Fix use of timezone in date_histogram rewrite

    Currently, DateHistogramAggregationBuilder#rewriteTimeZone uses the aggregation
    date math parser and time zone to check whether all values in a read have the
    same timezone to speed up computation. However, the upper and lower bounds to
    check are retrieved as longs in epoch_millis, so they don't need to get parsed
    using a time zone or a parser other than "epoch_millis". This changes this
    behaviour that was causing problems when the field type mapping was specifying
    only "epoch_millis" as a format but a different timezone than UTC was used.
    
    Closes elastic#31392
    Christoph Büscher committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    add3c67 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. iter

    Christoph Büscher committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    057de43 View commit details
    Browse the repository at this point in the history