druid/extensions-core
Gian Merlino 823f620ede
Add IS [NOT] DISTINCT FROM to SQL and join matchers. (#14976)
* Add IS [NOT] DISTINCT FROM to SQL and join matchers.

Changes:

1) Add "isdistinctfrom" and "notdistinctfrom" native expressions.

2) Add "IS [NOT] DISTINCT FROM" to SQL. It uses the new native expressions
   when generating expressions, and is treated the same as equals and
   not-equals when generating native filters on literals.

3) Update join matchers to have an "includeNull" parameter that determines
   whether we are operating in "equals" mode or "is not distinct from"
   mode.

* Main changes:

- Add ARRAY handling to "notdistinctfrom" and "isdistinctfrom".
- Include null in pushed-down filters when using "notdistinctfrom" in a join.

Other changes:
- Adjust join filter analyzer to more explicitly use InDimFilter's ValuesSets,
  relying less on remembering to get it right to avoid copies.

* Remove unused "wrap" method.

* Fixes.

* Remove methods we do not need.

* Fix bug with INPUT_REF.
2023-09-20 10:44:32 -07:00
..
avro-extensions consolidate json and auto indexers, remove v4 nested column serializer (#14456) 2023-08-22 18:50:11 -07:00
azure-extensions Upgrade hibernate validator version to fix CVE-2019-10219 (#14757) 2023-08-14 11:50:51 +05:30
datasketches remove group-by v1 (#14866) 2023-08-23 12:44:06 -07:00
druid-aws-rds-extensions Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
druid-basic-security Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
druid-bloom-filter remove group-by v1 (#14866) 2023-08-23 12:44:06 -07:00
druid-catalog Upgrade hibernate validator version to fix CVE-2019-10219 (#14757) 2023-08-14 11:50:51 +05:30
druid-kerberos Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
druid-pac4j Fix null check for JWT claims (#14872) 2023-08-23 14:39:23 +05:30
druid-ranger-security Removes support for Hadoop 2 (#14763) 2023-08-09 17:47:52 +05:30
ec2-extensions Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
google-extensions Upgrade hibernate validator version to fix CVE-2019-10219 (#14757) 2023-08-14 11:50:51 +05:30
hdfs-storage Upgrade hibernate validator version to fix CVE-2019-10219 (#14757) 2023-08-14 11:50:51 +05:30
histogram remove group-by v1 (#14866) 2023-08-23 12:44:06 -07:00
kafka-extraction-namespace Upgrade hibernate validator version to fix CVE-2019-10219 (#14757) 2023-08-14 11:50:51 +05:30
kafka-indexing-service Simplify ServiceMetricEvent.Builder (#14933) 2023-09-01 11:30:45 +05:30
kinesis-indexing-service Upgrade guava version to 31.1-jre (#14767) 2023-08-22 12:09:53 +05:30
kubernetes-extensions Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
lookups-cached-global Simplify ServiceMetricEvent.Builder (#14933) 2023-09-01 11:30:45 +05:30
lookups-cached-single Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
multi-stage-query Add IS [NOT] DISTINCT FROM to SQL and join matchers. (#14976) 2023-09-20 10:44:32 -07:00
mysql-metadata-storage Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
orc-extensions consolidate json and auto indexers, remove v4 nested column serializer (#14456) 2023-08-22 18:50:11 -07:00
parquet-extensions consolidate json and auto indexers, remove v4 nested column serializer (#14456) 2023-08-22 18:50:11 -07:00
postgresql-metadata-storage Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
protobuf-extensions Upgrade guava version to 31.1-jre (#14767) 2023-08-22 12:09:53 +05:30
s3-extensions Do not eagerly close inner iterators in CloseableIterator#flatMap (#14986) 2023-09-15 15:14:20 +05:30
simple-client-sslcontext Prepare master branch for next release, 28.0.0 (#14595) 2023-07-18 09:22:30 +05:30
stats remove group-by v1 (#14866) 2023-08-23 12:44:06 -07:00
testing-tools add equality, null, and range filter (#14542) 2023-07-18 12:15:22 -07:00