aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/yql_cost_function.cpp
blob: 7dfe08a2cdd721428a5ccb130eae19312fea8ef5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "yql_cost_function.h"

namespace NYql {

bool NDq::operator < (const NDq::TJoinColumn& c1, const NDq::TJoinColumn& c2) {
    if (c1.RelName < c2.RelName){
        return true;
    } else if (c1.RelName == c2.RelName) {
        return c1.AttributeName < c2.AttributeName;
    }
    return false;
}

}  // namespace NYql