Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.8.0
Description
Predicates inferred based on slot equivalences are not assigned to Kudu scan nodes. This is a simple oversight in the code of KuduScanNode.init(). We should generate inferred predicates by also calling Analyzer.getBoundPredicates().
Example:
select count(*) from functional_kudu.alltypes a join functional_kudu.alltypes b on a.id = b.id where a.int_col < 10
In the example above we can generate 'b.int_col < 10' and assign it to the scan of b.