Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
Description
RelMdPredicates is not handling reference types well. Noticing the following query:
query.sql
SELECT * FROM
(SELECT * FROM src) o JOIN (SELECT "foo" as key, value FROM src1) o1
ON o.key = o1.key
The right side predicate is [key -> "foo"] with key type VARCHAR NOT NULL, the very type is not matching the input reference from the left side (which is VARCHAR), causing error when applying JoinPushTransitivePredicatesRule.
Attachments
Issue Links
- is related to
-
DRILL-6173 Support transitive closure during filter push down and partition pruning
- Resolved