Skip to content

By default, the date histogram aggregation format should be left blank (or set to date_optional_time) #955

@nascosto

Description

@nascosto

In, DateHistogramAggregationDescriptor, the date format is being set to "yyyy-MM-dd" here. This creates confusion (at least is really did for me), because date strings that are input into extended_bounds require the same format. This means that intervals of seconds, minutes, etc. are off limits unless you change the format back to ISO format (months, years, etc. work fine with ISO format).

It would probably be best to just not serialize the format by default unless the value is actually set by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions