return new ColumnRanges(leftRange.getColumnExpression(), condition, combinedSegments);
}
}
}
else if (node instanceof FunctionCondition) {
FunctionCondition condition = (FunctionCondition) node;
if ("isNull".equals(condition.getFunction())) {
if (condition.getOperands().size() == 1) {
ExpressionNode operand = condition.getOperands().get(0);
if (operand instanceof ColumnExpression) {
ColumnExpression operandColumn = (ColumnExpression) operand;
return new ColumnRanges(operandColumn, condition,
Collections.singletonList(RangeSegment.onlyNull(operandColumn)));
}