Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
ghx-label-4
Description
In HdfsScanNode.buildBinaryStatsPredicate exists the following code:
private void buildBinaryStatsPredicate(Analyzer analyzer, SlotRef inputSlot, BinaryPredicate inputPred, BinaryPredicate.Operator op) { // Obtain the rhs expr of the input predicate Expr constExpr = inputPred.getChild(1); ... BinaryPredicate statsPred = new BinaryPredicate(op, slot, constExpr);
This contains a potential bug. The constExpr is mutable and the creation of the new BinaryPredicate can change the innards of the inputPred Expr.
Attachments
Issue Links
- is related to
-
IMPALA-11770 Review Predicate arguments for impact of CNF rewrites
- Open