MCPcopy Create free account
hub / github.com/apache/impala / TestNullComparisons

Method TestNullComparisons

be/src/exprs/expr-test.cc:948–955  ·  view source on GitHub ↗

Test comparison operators with a left or right NULL operand on all types.

Source from the content-addressed store, hash-verified

946
947 // Test comparison operators with a left or right NULL operand on all types.
948 void TestNullComparisons() {
949 unordered_map<int, string>::iterator def_iter;
950 for(def_iter = default_type_strs_.begin(); def_iter != default_type_strs_.end();
951 ++def_iter) {
952 TestNullComparison(def_iter->second);
953 }
954 TestNullComparison("NULL");
955 }
956
957 // Generate all possible tests for combinations of <smaller> <op> <larger>.
958 // Also test conversions from strings.

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected