presto-main/src/main/java/io/prestosql/sql/planner/LocalExecutionPlanner.java/Visitor/removeExpressionFromFilter
class Visitor:        private Optional<Expression> removeExpressionFromFilter(Expression filter, Expression expression)
        {
            Expression updatedJoinFilter = replaceExpression(filter, ImmutableMap.of(expression, TRUE_LITERAL));
            return updatedJoinFilter == TRUE_LITERAL ? Optional.empty() : Optional.of(updatedJoinFilter);
        }