-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Use FallbackSyntheticSourceBlockLoader for unsigned_long and scaled_float fields #122637
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
Use FallbackSyntheticSourceBlockLoader for unsigned_long and scaled_float fields #122637
Conversation
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
|
Hi @lkts, I've created a changelog YAML for you. |
| // but block loaders operate with encoded signed 64 bit values | ||
| // because this is the format doc_values use. | ||
| // So we need to perform this conversion. | ||
| return unsignedToSortableSignedLong(parseUnsignedLong(nullValueFormatted)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually a bug fix in existing stored source implementation. I think it's okay to fix it inline here since unsigned_long is in tech preview according to our docs.
|
I may need to change tests here depending on #122586 landing. |
dnhatn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks Sasha!
martijnvg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
💚 Backport successful
|
No description provided.