zabetak commented on code in PR #6082:
URL: https://github.com/apache/hive/pull/6082#discussion_r2375089052
##########
ql/src/test/results/clientpositive/llap/bucketpruning1.q.out:
##########
@@ -750,13 +750,13 @@ STAGE PLANS:
Map Operator Tree:
TableScan
alias: srcbucket_pruned
- filterExpr: ((ds = '2008-04-08') and (key) IN (2, 3)) (type:
boolean)
+ filterExpr: ((key) IN (2, 3) and (ds = '2008-04-08')) (type:
boolean)
Review Comment:
It seems that the new order is the same with the order of the predicates in
the query.
```sql
select * from srcbucket_pruned where key in (2,3) and ds='2008-04-08'
```
I guess this is expected given that the new logic tries to retain the
original expression and order of predicates if there are no changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]