MCPcopy Create free account
hub / github.com/apache/orc / TEST

Function TEST

c++/test/TestDictionaryEncoding.cc:437–442  ·  view source on GitHub ↗

test dictionary encoding with index disabled the decision of using dictionary if made at the end of 1st stripe

Source from the content-addressed store, hash-verified

435 // test dictionary encoding with index disabled
436 // the decision of using dictionary if made at the end of 1st stripe
437 TEST(DictionaryEncoding, writeStringDictionaryEncodingWithoutIndex) {
438 for (auto enableEncodedBlock : {false, true}) {
439 testStringDictionary(false, DICT_THRESHOLD, enableEncodedBlock);
440 testStringDictionary(false, FALLBACK_THRESHOLD, enableEncodedBlock);
441 }
442 }
443
444 // test dictionary encoding with index enabled
445 // the decision of using dictionary if made at the end of 1st row group

Callers

nothing calls this directly

Calls 11

testStringDictionaryFunction · 0.85
testVarcharDictionaryFunction · 0.85
testCharDictionaryFunction · 0.85
getDefaultPoolFunction · 0.85
decodeDictionaryMethod · 0.80
getValueByIndexMethod · 0.80
sizeMethod · 0.65
resizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected