OpenSearch/sql
Costin Leau 4e49769efb SQL: Extend HAVING support (elastic/x-pack-elasticsearch#3155)
SQL: Extend HAVING support

Enhance Analyzer to support HAVING scalar functions over aggregates
Enhance Analyzer to push down undeclared aggs into the Aggregate
Fix bug in Analyzer$MissingRef that caused invalid groupings to still be resolved when pushed into an Aggregate
Preserve location information across the plan
Add AttributeMap as a backing for AttributeSet
Add Optimizer rule for combining projects
Add tz to DT functions toString
Change formatTemplate to not use String.format and thus to avoid
interfering with special % chars
Extend dataset with random salary and languages
Add unit tests for AttributeMap
Fix MathFunction scripting
Improve MissingRefs to enrich UnresolvedAttribute with metadata
During the Analysis unpushed attributes are automatically enriched to
provide more accurate error information
Enhance Verifier to deal with invalid (but resolved) ORDER/HAVING
Add OrderBy arithmetic tests
Improve Verifier to prevent GROUP BY on aggregations
Add tests on grouping by scalar functions

Original commit: elastic/x-pack-elasticsearch@5030d7a755
2017-12-05 18:14:15 +02:00
..
cli SQL: Switch to the standard way of cursor serialization (elastic/x-pack-elasticsearch#3197) 2017-12-02 16:03:22 -05:00
cli-proto SQL: Switch to the standard way of cursor serialization (elastic/x-pack-elasticsearch#3197) 2017-12-02 16:03:22 -05:00
jdbc SQL: Switch to the standard way of cursor serialization (elastic/x-pack-elasticsearch#3197) 2017-12-02 16:03:22 -05:00
jdbc-proto SQL: Switch to the standard way of cursor serialization (elastic/x-pack-elasticsearch#3197) 2017-12-02 16:03:22 -05:00
server SQL: Extend HAVING support (elastic/x-pack-elasticsearch#3155) 2017-12-05 18:14:15 +02:00
shared-client SQL: Improve grammar to better handle quotes (elastic/x-pack-elasticsearch#3051) 2017-11-29 15:42:04 +02:00
shared-proto SQL: Switch to the standard way of cursor serialization (elastic/x-pack-elasticsearch#3197) 2017-12-02 16:03:22 -05:00
test-utils Teach SQL to parse Elasticsearch's standard error responses (elastic/x-pack-elasticsearch#2764) 2017-11-14 21:31:35 -05:00
build.gradle SQL: Move all SQL projects into org.elasticsearch.sql package (elastic/x-pack-elasticsearch#3069) 2017-11-21 10:53:40 +01:00