Apache Druid: a high performance real-time analytics database.
Go to file
Gian Merlino 5faa897a34
Join filter pre-analysis simplifications and sanity checks. (#10104)
* Join filter pre-analysis simplifications and sanity checks.

- At pre-analysis time, only compute pre-analysis for the innermost
  root query, since this is the one that will run on the join that involves
  the base datasource. Previously, pre-analyses were computed for multiple
  levels of the query, some of which were unnecessary.
- Remove JoinFilterPreAnalysisGroup and join query level gathering code,
  since they existed to support precomputation of multiple pre-analyses.
- Embed JoinFilterPreAnalysisKey into JoinFilterPreAnalysis and use it to
  sanity check at processing time that the correct pre-analysis was done.

Tangentially related changes:

- Remove prioritizeAndLaneQuery functionality from LocalQuerySegmentWalker.
  The computed priority and lanes were not being used.
- Add "getBaseQuery" method to DataSourceAnalysis to support identification
  of the proper subquery for filter pre-analysis.

* Fix compilation errors.

* Adjust tests.
2020-06-30 19:14:22 -07:00
.github Add instruction for code coverage checks (#9995) 2020-06-10 18:17:36 -10:00
.idea IntelliJ inspection and checkstyle rule for "Collection.EMPTY_* field accesses replaceable with Collections.empty*()" (#9690) 2020-06-18 09:47:07 -07:00
benchmarks Join filter pre-analysis simplifications and sanity checks. (#10104) 2020-06-30 19:14:22 -07:00
cloud Bump up development version to 0.19.0-SNAPSHOT (#9586) 2020-03-30 16:24:04 -07:00
codestyle Enabling Static Imports for Unit Testing DSLs (#331) (#9764) 2020-06-30 13:59:35 -07:00
core Enabling Static Imports for Unit Testing DSLs (#331) (#9764) 2020-06-30 13:59:35 -07:00
dev Add instruction for code coverage checks (#9995) 2020-06-10 18:17:36 -10:00
distribution Adding support for autoscaling in GCE (#8987) 2020-04-28 03:13:39 -07:00
docs Update web address to datasketches.apache.org (#10096) 2020-06-30 19:05:23 -07:00
examples Add QueryResource to log4j2 template. (#9735) 2020-04-22 09:18:45 -07:00
extendedset Align library version (#9636) 2020-04-21 20:19:38 -07:00
extensions-contrib fix MaterializedView gropuby query return arry result by default (#9936) 2020-06-26 16:52:04 -07:00
extensions-core QueryCountStatsMonitor can be injected in the Peon (#10092) 2020-06-29 21:03:07 -07:00
hll Bump up development version to 0.19.0-SNAPSHOT (#9586) 2020-03-30 16:24:04 -07:00
hooks Add git pre-commit hook to source control (#9554) 2020-06-05 11:19:42 -10:00
indexing-hadoop Create packed core partitions for hash/range-partitioned segments in native batch ingestion (#10025) 2020-06-18 18:40:43 -07:00
indexing-service QueryCountStatsMonitor can be injected in the Peon (#10092) 2020-06-29 21:03:07 -07:00
integration-tests Remove payload field from table sys.segment (#9883) 2020-06-29 22:20:23 -07:00
licenses Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability (#9600) 2020-04-01 14:52:01 -07:00
processing Join filter pre-analysis simplifications and sanity checks. (#10104) 2020-06-30 19:14:22 -07:00
publications De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
server Join filter pre-analysis simplifications and sanity checks. (#10104) 2020-06-30 19:14:22 -07:00
services Make 0.19 brokers compatible with 0.18 router (#10091) 2020-06-29 20:57:33 -07:00
sql Remove payload field from table sys.segment (#9883) 2020-06-29 22:20:23 -07:00
web-console Web console: allow link overrides for docs, and more (#10100) 2020-06-30 12:46:50 -07:00
website Information schema doc update (#10081) 2020-06-29 21:08:13 -07:00
.asf.yaml Add .asf.yaml. (#9083) 2019-12-20 16:45:38 -08:00
.backportrc.json Add 0.18.0 to .backportrc.json to facilitate backport. (#9661) 2020-04-11 13:49:04 -07:00
.codecov.yml Use Codecov (#8388) 2019-08-28 08:49:30 -07:00
.dockerignore Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
.gitignore Web console basic end-to-end-test (#9595) 2020-04-09 12:38:09 -07:00
.lgtm.yml Suppress LGTM warnings about stack trace exposure (#9631) 2020-04-09 17:31:03 -07:00
.travis.yml More prominent instructions on code coverage failure (#10060) 2020-06-25 19:48:30 -07:00
CONTRIBUTING.md Fix numbered list formatting in markdown. (#9664) 2020-04-21 20:18:12 -07:00
LABELS Add plain text README.txt, use relative link from README.md to build.md (#7611) 2019-05-09 21:29:26 -07:00
LICENSE More optimize CNF conversion of filters (#9634) 2020-04-08 21:31:17 -07:00
NOTICE Fixed the Copyright year of Druid (#9859) 2020-05-20 21:13:34 -07:00
README.md Update README.md 2019-12-20 20:56:53 -08:00
README.template De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
licenses.yaml update avatica to handle additional character sets over jdbc (#10074) 2020-06-24 19:58:34 -07:00
owasp-dependency-check-suppressions.xml Suppress CVEs for openstack-keystone (#9903) 2020-05-22 10:32:17 -07:00
pom.xml Filter http requests by http method (#10085) 2020-06-29 16:59:31 -07:00
setup-hooks.sh Add git pre-commit hook to source control (#9554) 2020-06-05 11:19:42 -10:00
upload.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00

README.md

Slack Build Status Language grade: Java Coverage Status Docker


Website | Documentation | Developer Mailing List | User Mailing List | Slack | Twitter | Download


Apache Druid

Druid is a high performance real-time analytics database. Druid's main value add is to reduce time to insight and action.

Druid is designed for workflows where fast queries and ingest really matter. Druid excels at powering UIs, running operational (ad-hoc) queries, or handling high concurrency. Consider Druid as an open source alternative to data warehouses for a variety of use cases.

Getting started

You can get started with Druid with our quickstart.

Druid provides a rich set of APIs (via HTTP and JDBC) for loading, managing, and querying your data. You can also interact with Druid via the built-in console (shown below).

Load data

data loader Kafka

Load streaming and batch data using a point-and-click wizard to guide you through ingestion setup. Monitor one off tasks and ingestion supervisors.

Manage the cluster

management

Manage your cluster with ease. Get a view of your datasources, segments, ingestion tasks, and services from one convenient location. All powered by SQL systems tables, allowing you to see the underlying query for each view.

Issue queries

query view combo

Use the built-in query workbench to prototype DruidSQL and native queries or connect one of the many tools that help you make the most out of Druid.

Documentation

You can find the documentation for the latest Druid release on the project website.

If you would like to contribute documentation, please do so under /docs in this repository and submit a pull request.

Community

Community support is available on the druid-user mailing list, which is hosted at Google Groups.

Development discussions occur on dev@druid.apache.org, which you can subscribe to by emailing dev-subscribe@druid.apache.org.

Chat with Druid committers and users in real-time on the #druid channel in the Apache Slack team. Please use this invitation link to join the ASF Slack, and once joined, go into the #druid channel.

Building from source

Please note that JDK 8 is required to build Druid.

For instructions on building Druid from source, see docs/development/build.md

Contributing

Please follow the community guidelines for contributing.

For instructions on setting up IntelliJ dev/intellij-setup.md

License

Apache License, Version 2.0