FrankChen021 opened a new pull request, #20557:
URL: https://github.com/apache/druid/pull/20557

   ### Description
   
   `CloneQueryMode` serializes as its constant name (`PREFERCLONES`), but its 
`@JsonCreator` only accepts `preferClones`, so a serialized value can't be read 
back. This annotates `toString()` with `@JsonValue` so both directions use 
`preferClones`.
   
   Query context reads are unaffected, since they parse the string 
case-insensitively.
   
   <hr>
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added unit tests or modified existing tests to cover new code paths.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to