presto-main/src/main/java/io/prestosql/operator/aggregation/BitwiseOrAggregation.java/BitwiseOrAggregation/bitOr
class BitwiseOrAggregation:    @InputFunction
    public static void bitOr(@AggregationState NullableLongState state, @SqlType(StandardTypes.BIGINT) long value)
    {
        if (state.isNull()) {
            state.setLong(value);
        }
        else {
            state.setLong(state.getLong() | value);
        }

        state.setNull(false);
    }