MCPcopy Create free account
hub / github.com/apache/calcite / fix

Method fix

core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:4166–4171  ·  view source on GitHub ↗
(List<RexNode> operands, int before, int after)

Source from the content-addressed store, hash-verified

4164 }
4165
4166 private static void fix(List<RexNode> operands, int before, int after) {
4167 if (before == after) {
4168 return;
4169 }
4170 operands.replaceAll(e -> RexUtil.shift(e, before, after - before));
4171 }
4172
4173 /**
4174 * Determines whether any of the fields in a given relational expression may

Callers 1

Calls 1

shiftMethod · 0.95

Tested by

no test coverage detected