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

   
   The planner sets sqlInsertSegmentGranularity in its context when using 
PARTITIONED BY, which sets it on every native query in the stack (as all native 
queries for a SQL query typically have the same context). QueryKit would 
interpret that as a request to configure bucketing for all native queries. This 
isn't useful, as bucketing is only used for the penultimate stage in INSERT / 
REPLACE.
   
   So, this patch modifies QueryKit to only look at sqlInsertSegmentGranularity 
on the outermost query.
   
   As an additional change, this patch switches the static ObjectMapper to use 
the processwide ObjectMapper for deserializing Granularities. Saves an 
ObjectMapper instance, and ensures that if there are any special serdes 
registered for Granularity, we'll pick them up.
   
   (cherry picked from commit 55814888f54ebd6a909c60cc0638bf4ea306349f)
   
   Original PR: https://github.com/apache/druid/pull/13537
   
   


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