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

   ### Description
   
   Follow-up to #20198. Migrates the common query context parameters documented 
in `query-context-reference.md` (and `scan-query.md`) to typed 
`QueryContextParameter` descriptors.
   
   - Declares descriptors in `QueryContextParameters` with types, defaults, 
range constraints, deprecation metadata and documentation.
   - Replaces raw-string reads with descriptor-backed reads, and uses 
`QueryContextBuilder` where tests build context maps.
   - Adds `QueryContextBuilder.putRaw` for keys that don't have a descriptor 
yet.
   - Generates the corresponding rows in `query-context-reference.md` and 
`scan-query.md` from the descriptors.
   
   Existing parameter names, defaults and behavior are unchanged.
   
   Supersedes FrankChen021/druid#190.
   
   <hr>
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   


-- 
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