yql_cost_function.cpp 329 B

123456789101112131415
  1. #include "yql_cost_function.h"
  2. namespace NYql {
  3. bool NDq::operator < (const NDq::TJoinColumn& c1, const NDq::TJoinColumn& c2) {
  4. if (c1.RelName < c2.RelName){
  5. return true;
  6. } else if (c1.RelName == c2.RelName) {
  7. return c1.AttributeName < c2.AttributeName;
  8. }
  9. return false;
  10. }
  11. } // namespace NYql