presto-main/src/main/java/io/prestosql/operator/aggregation/BooleanOrAggregation.java/BooleanOrAggregation/booleanOr
class BooleanOrAggregation:    @InputFunction
    public static void booleanOr(@AggregationState TriStateBooleanState state, @SqlType(StandardTypes.BOOLEAN) boolean value)
    {
        // if value is true, the result is true
        if (value) {
            state.setByte(TRUE_VALUE);
        }
        else {
            // if the current value is unset, set result to false
            if (state.getByte() == NULL_VALUE) {
                state.setByte(FALSE_VALUE);
            }
        }
    }