You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/08/12 01:43:15 UTC

[GitHub] [druid] gianm opened a new pull request #11582: Consolidate a bunch of ad-hoc segments metadata SQL; fix some bugs.

gianm opened a new pull request #11582:
URL: https://github.com/apache/druid/pull/11582


   This patch gathers together a variety of SQL from SqlSegmentsMetadataManager
   and IndexerSQLMetadataStorageCoordinator into a new class SqlSegmentsMetadataQuery.
   It focuses on SQL related to retrieving segment payloads and marking
   segments used and unused.
   
   In addition to cleaning up the code a bit, this patch also fixes a bug
   with years before 0 or after 9999. The prior SQL did not work properly
   because dates outside this range cannot be compared as strings. The new
   code does work for these far-past and far-future years.
   
   So, if you're ever interested in using Druid to analyze things from
   ancient Babylon, you better apply this patch first!


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


[GitHub] [druid] clintropolis merged pull request #11582: Consolidate a bunch of ad-hoc segments metadata SQL; fix some bugs.

Posted by GitBox <gi...@apache.org>.
clintropolis merged pull request #11582:
URL: https://github.com/apache/druid/pull/11582


   


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