druid/extensions-core
Gian Merlino d51f5e058d SQL: Ditch CalciteConnection layer and add DruidMeta, extension aggregators. (#3852)
* SQL: Ditch CalciteConnection layer and add DruidMeta, extension aggregators.

Switched from CalciteConnection to Planner, bringing benefits:

- CalciteConnection's JDBC interface no longer sits between the SQL server
  (HTTP/Avatica) and Druid's query layer. Instead, the SQL servers can use
  Druid Sequence objects directly, reducing overhead in the query return path.

- Implemented our own Planner-based Avatica Meta, letting us control
  connection timeouts and connection / statement limits. The previous
  CalciteConnection-based implementation didn't have any limits or timeouts.

- The Planner interface lets us override the operator table, opening up
  SQL language extensions. This patch includes two: APPROX_COUNT_DISTINCT
  in core, and a QUANTILE aggregator in the druid-histogram extension.

Also:

- Added INFORMATION_SCHEMA metadata schema.

- Added tests for Unicode literals and escapes.

* Verify statement is actually open before closing it.

* More detailed INFORMATION_SCHEMA docs.
2017-01-19 16:32:20 -08:00
..
avro-extensions Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
caffeine-cache Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
datasketches Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
hdfs-storage Using fully qualified hdfs path. (#3705) 2017-01-17 14:40:22 -06:00
histogram SQL: Ditch CalciteConnection layer and add DruidMeta, extension aggregators. (#3852) 2017-01-19 16:32:20 -08:00
kafka-eight Migrating java-util from Metamarkets. (#3585) 2016-10-21 14:57:07 -07:00
kafka-extraction-namespace Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
kafka-indexing-service Fix #3795 (Java 7 compatibility). (#3796) 2016-12-21 10:19:13 -08:00
lookups-cached-global Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
lookups-cached-single Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
mysql-metadata-storage Migrating java-util from Metamarkets. (#3585) 2016-10-21 14:57:07 -07:00
postgresql-metadata-storage Migrating java-util from Metamarkets. (#3585) 2016-10-21 14:57:07 -07:00
s3-extensions Enable auto license checking (#3836) 2017-01-10 18:13:47 -08:00
stats Deprecate Aggregator.getName and AggregatorFactory.getAggregatorStartValue. (#3572) 2016-10-31 15:24:30 -07:00