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

Stringify doc[id] field #3015

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Stringify doc[id] field #3015

merged 3 commits into from
Dec 5, 2024

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Dec 5, 2024

Changes

Always stringify doc["id"] field. The default index mappings were removed in #3013.

This limits the scenario of running into weird issues with ES mappings for numeric-like ID fields (overflows, etc). ID should be keyword never numeric ideally.

@jedrazb jedrazb marked this pull request as ready for review December 5, 2024 16:11
@jedrazb jedrazb requested a review from a team as a code owner December 5, 2024 16:11
@jedrazb jedrazb changed the title Stingify doc[id] field Stringify doc[id] field Dec 5, 2024
@seanstory
Copy link
Member

One of the network drive ftests passed. The other failed. I'm gonna merge this anyway, as it's clearly an improvement.

@seanstory seanstory merged commit 9c72b45 into main Dec 5, 2024
3 checks passed
@seanstory seanstory deleted the fix-id-field-mapping branch December 5, 2024 21:37
github-actions bot pushed a commit that referenced this pull request Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

💚 Backport PR(s) successfully created

Status Branch Result
8.17 #3016

This backport PR will be merged automatically after passing CI.

jedrazb added a commit that referenced this pull request Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

💔 Failed to create backport PR(s)

The backport operation could not be completed due to the following error:
There are no branches to backport to. Aborting.

The backport PRs will be merged automatically after passing CI.

To backport manually run:
backport --pr 3015 --autoMerge --autoMergeMethod squash

Copy link

github-actions bot commented Dec 6, 2024

💚 Backport PR(s) successfully created

Status Branch Result
8.x #3017

This backport PR will be merged automatically after passing CI.

jedrazb added a commit that referenced this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants