presto-main/src/main/java/io/prestosql/cost/FilterStatsCalculator.java/FilterExpressionStatsCalculatingVisitor/doubleValueFromLiteral
class FilterExpressionStatsCalculatingVisitor:        private OptionalDouble doubleValueFromLiteral(Type type, Literal literal)
        {
            Object literalValue = LiteralInterpreter.evaluate(metadata, session.toConnectorSession(), literal);
            return toStatsRepresentation(metadata, session, type, literalValue);
        }