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

Method needConvert

c++/src/SchemaEvolution.cc:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 bool SchemaEvolution::needConvert(const Type& fileType) const {
162 auto _readType = getReadType(fileType);
163 if (_readType == &fileType) {
164 return false;
165 }
166 // it does not check valid here as verified by buildConversion()
167 return checkConversion(*_readType, fileType).needConvert;
168 }
169
170 inline bool isPrimitive(const Type* type) {
171 auto kind = type->getKind();

Callers 2

testConvertReaderFunction · 0.80
buildReaderFunction · 0.80

Calls 1

checkConversionFunction · 0.85

Tested by 1

testConvertReaderFunction · 0.64