MCPcopy Create free account
hub / github.com/bytedance/bolt / equalTypeKinds

Function equalTypeKinds

bolt/exec/tests/utils/QueryAssertions.cpp:818–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818bool equalTypeKinds(const MaterializedRow& left, const MaterializedRow& right) {
819 if (left.size() != right.size()) {
820 return false;
821 }
822
823 const auto numColumns = left.size();
824 for (auto i = 0; i < numColumns; ++i) {
825 if (left[i].kind() != right[i].kind()) {
826 return false;
827 }
828 }
829 return true;
830}
831
832std::optional<bool> MaterializedRowEpsilonComparator::areEqual(
833 const MaterializedRowMultiset& expected,

Callers 3

areEqualMethod · 0.85
assertEqualResultsFunction · 0.85
compareOrderedPartitionsFunction · 0.85

Calls 2

sizeMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected