-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix SetDigest, BingTile, Kdb Tree, Color types (de)serialization in client protocol #24612
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
Conversation
2ba8c29
to
b5528c5
Compare
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 but I may not understand why some stuff was put and some not in StandardTypes. @electrum please speak up when you have a chance
This makes it explicit in regard to the ClientStandardTypes list of types
These types have a custom serialization logic utilizing JsonCreator/JsonProperty annotations.
b5528c5
to
7fda4b0
Compare
public static final String ARRAY = "array"; | ||
public static final String MAP = "map"; | ||
public static final String JSON = "json"; | ||
public static final String JSON_2016 = "json2016"; |
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 an internal type, not meant to be exposed to clients
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.
It's not exposed. It's here so the files are the same (server/client ones) for easier comparison
public static final String GEOMETRY = "Geometry"; | ||
public static final String SPHERICAL_GEOGRAPHY = "SphericalGeography"; | ||
public static final String BING_TILE = "BingTile"; | ||
public static final String KDB_TREE = "KdbTree"; |
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.
Same with this one. This type is just there to support some types of geospatial joins
Description
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: