Skip to content

More validation for routing_path#79520

Merged
nik9000 merged 7 commits intoelastic:masterfrom
nik9000:index_routing_from_source_runtime_field
Oct 25, 2021
Merged

More validation for routing_path#79520
nik9000 merged 7 commits intoelastic:masterfrom
nik9000:index_routing_from_source_runtime_field

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Oct 19, 2021

This adds more validation for fields matching routing_path. In
particular, it disallows runtime fields, fields with a script, and
fails when you try to use dynamic:false to skip mapping them fields
that would match the routing_path. This makes sure that the we get
predictable time routing for the time series.

@nik9000 nik9000 requested a review from imotov October 19, 2021 21:16
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 19, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

This adds more validation for fields matching `routing_path`. In
particular, it disallows runtime fields, fields with a `script`, and
fails when you try to use `dynamic:false` to skip mapping them fields
that would match the `routing_path`. This makes sure that the we get
predictable time routing for the time series.
@nik9000 nik9000 force-pushed the index_routing_from_source_runtime_field branch from f50f2a3 to 60abb65 Compare October 19, 2021 21:39
Copy link
Copy Markdown
Contributor

@imotov imotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nik9000 nik9000 merged commit cfa92ef into elastic:master Oct 25, 2021
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Oct 25, 2021

Thanks @imotov !

lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Oct 28, 2021
This adds more validation for fields matching `routing_path`. In
particular, it disallows runtime fields, fields with a `script`, and
fails when you try to use `dynamic:false` to skip mapping them fields
that would match the `routing_path`. This makes sure that the we get
predictable time routing for the time series.
@wchaparro wchaparro assigned nik9000 and unassigned nik9000 Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :StorageEngine/TSDB You know, for Metrics Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants