You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "clintropolis (via GitHub)" <gi...@apache.org> on 2025/02/10 19:01:18 UTC

[PR] simplify SimpleQueryableIndex constructor (druid)

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

   ### Description
   changes:
   * remove the 'lazy' parameter to SimpleQueryableIndex constructor in favor of always using the lazy = true path
   
   Prior to https://github.com/apache/druid/pull/12279/files#diff-7f633ed96a4bb0b8fa8362dcd52173c0d9cfe1c7d329e5b0d6184b65317263bcR81 setting lazy = false in the SimpleQueryableIndex constructor would result in eagerl y initializing the dimension handlers, however after that change the meaning was changed to compute them on demand every time they were called. This was likely a mistake, and since eagerly initializing has not been
    happening by default for some time now, we should just drop this flag in favor of using the lazy = true path, which caches the dimension handlers when they are called.
   


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [PR] simplify SimpleQueryableIndex constructor (druid)

Posted by "clintropolis (via GitHub)" <gi...@apache.org>.
clintropolis merged PR #17710:
URL: https://github.com/apache/druid/pull/17710


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org