druid/extensions-contrib
Gian Merlino 3d72e66f56
Consolidate a bunch of ad-hoc segments metadata SQL; fix some bugs. (#11582)
* Consolidate a bunch of ad-hoc segments metadata SQL; fix some bugs.

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!

* Fix test compiling.

* Fixes and improvements.

* Fix forbidden API.

* Additional fixes.
2021-11-24 14:51:53 -08:00
..
aliyun-oss-extensions Migrate File.mkdirs to FileUtils.mkdirp. (#11879) 2021-11-09 11:10:49 -08:00
ambari-metrics-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
cassandra-storage Migrate File.mkdirs to FileUtils.mkdirp. (#11879) 2021-11-09 11:10:49 -08:00
cloudfiles-extensions Migrate File.mkdirs to FileUtils.mkdirp. (#11879) 2021-11-09 11:10:49 -08:00
distinctcount update count distinct tests (#11927) 2021-11-22 21:34:00 +08:00
dropwizard-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
gce-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
graphite-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
influx-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
influxdb-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
kafka-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
materialized-view-maintenance Consolidate a bunch of ad-hoc segments metadata SQL; fix some bugs. (#11582) 2021-11-24 14:51:53 -08:00
materialized-view-selection bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
momentsketch restore and deprecate AggregatorFactory methods (#11917) 2021-11-19 15:59:35 -08:00
moving-average-query restore and deprecate AggregatorFactory methods (#11917) 2021-11-19 15:59:35 -08:00
opentsdb-emitter Add more metrics for Jetty server thread pool usage (#11113) 2021-11-07 16:51:44 +05:30
prometheus-emitter bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
redis-cache bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
sqlserver-metadata-storage bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
statsd-emitter Add worker category dimension (#11554) 2021-11-18 22:59:07 -08:00
tdigestsketch restore and deprecate AggregatorFactory methods (#11917) 2021-11-19 15:59:35 -08:00
thrift-extensions Support for hadoop 3 via maven profiles (#11794) 2021-10-30 22:46:24 +05:30
time-min-max restore and deprecate AggregatorFactory methods (#11917) 2021-11-19 15:59:35 -08:00
virtual-columns better types (#11713) 2021-10-19 01:47:25 -07:00
README.md fix broken links (#9537) 2020-03-22 17:41:18 -07:00

README.md

Community Extensions

Please contribute all community extensions in this directory and include a doc of how your extension can be used under docs/development/extensions-contrib/.

Please note that community extensions are maintained by their original contributors and are not packaged with the core Druid distribution. If you'd like to take on maintenance for a community extension, please post on dev@druid.apache.org to let us know!