presto-main/src/main/java/io/prestosql/cost/FilterStatsCalculator.java/FilterExpressionStatsCalculatingVisitor/getExpressionStats
class FilterExpressionStatsCalculatingVisitor:        private SymbolStatsEstimate getExpressionStats(Expression expression)
        {
            if (expression instanceof SymbolReference) {
                Symbol symbol = Symbol.from(expression);
                return requireNonNull(input.getSymbolStatistics(symbol), () -> format("No statistics for symbol %s", symbol));
            }
            return scalarStatsCalculator.calculate(expression, input, session, types);
        }