Apache Druid: a high performance real-time analytics database.
Go to file
Gian Merlino 1ef25a438f
Broker: Add ability to inline subqueries. (#9533)
* Broker: Add ability to inline subqueries.

The main changes:

- ClientQuerySegmentWalker: Add ability to inline queries.
- Query: Add "getSubQueryId" and "withSubQueryId" methods.
- QueryMetrics: Add "subQueryId" dimension.
- ServerConfig: Add new "maxSubqueryRows" parameter, which is used by
  ClientQuerySegmentWalker to limit how many rows can be inlined per
  query.
- IndexedTableJoinMatcher: Allow creating keys on top of unknown types,
  by assuming they are strings. This is useful because not all types are
  known for fields in query results.
- InlineDataSource: Store RowSignature rather than component parts. Add
  more zealous "equals" and "hashCode" methods to ease testing.
- Moved QuerySegmentWalker test code from CalciteTests and
  SpecificSegmentsQueryWalker in druid-sql to QueryStackTests in
  druid-server. Use this to spin up a new ClientQuerySegmentWalkerTest.

* Adjustments from CI.

* Fix integration test.
2020-03-18 15:06:45 -07:00
.github De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
.idea Run IntelliJ inspections on Travis (#9179) 2020-02-19 11:34:19 +03:00
benchmarks Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
cloud De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
codestyle Forbid easily misused HashSet and HashMap constructors (#9165) 2020-02-07 10:44:09 +03:00
core Match GREATEST/LEAST function behavior to other DBs (#9488) 2020-03-12 15:10:11 -07:00
dev De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
distribution Update to mysql connector 5.1.48 (#9514) 2020-03-16 10:38:31 -07:00
docs Update to mysql connector 5.1.48 (#9514) 2020-03-16 10:38:31 -07:00
examples Modify check java version script to indicate experimental support for Java 11 (#9455) 2020-03-11 09:22:39 -07:00
extendedset intelliJ inspections cleanup (#9260) 2020-01-29 11:50:52 -08:00
extensions-contrib Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
extensions-core Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
hll Set version to 0.18.0-SNAPSHOT (#9109) 2020-01-02 17:55:10 -05:00
indexing-hadoop Harmonization and bug-fixing for selector and filter behavior on unknown types. (#9484) 2020-03-10 07:15:57 -07:00
indexing-service add kinesis lag metric (#9509) 2020-03-16 21:39:53 -07:00
integration-tests Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
licenses De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
processing Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
publications De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
server Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
services fix worker category on Indexer node (#9510) 2020-03-12 14:11:02 -07:00
sql Broker: Add ability to inline subqueries. (#9533) 2020-03-18 15:06:45 -07:00
web-console Web console: add config control for the query context (#9499) 2020-03-16 14:34:19 -07:00
website threshold based automatic query prioritization (#9493) 2020-03-13 01:41:54 -07:00
.asf.yaml Add .asf.yaml. (#9083) 2019-12-20 16:45:38 -08:00
.backportrc.json Graduation update for ASF release process guide and download links (#9126) 2020-01-06 15:00:33 -06: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 autogenerate NOTICE.BINARY from NOTICE and licenses.yaml (#8306) 2019-08-21 12:46:27 -07:00
.lgtm.yml Add license header for LGTM yaml config file (#8902) 2019-11-18 18:26:45 -08:00
.travis.yml Adding s3, gcs, azure integration tests (#9501) 2020-03-17 03:08:44 -07:00
CONTRIBUTING.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05: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 De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
NOTICE De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05: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 query laning and load shedding (#9407) 2020-03-10 02:57:16 -07:00
owasp-dependency-check-suppressions.xml Suppress CWE-400 for node-sass:4.13.1 (#9517) 2020-03-16 09:42:33 -07:00
pom.xml Update to mysql connector 5.1.48 (#9514) 2020-03-16 10:38:31 -07: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