aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/analysis/global/base_visitor.cpp
blob: f426e17b62fbf2b1c1af48e42d1fc1c9f29a0e31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "base_visitor.h"

namespace NSQLComplete {

    std::any TSQLv1BaseVisitor::aggregateResult(std::any aggregate, std::any nextResult) {
        if (nextResult.has_value()) {
            return nextResult;
        }
        return aggregate;
    }

} // namespace NSQLComplete