| 168 | } |
| 169 | |
| 170 | inline bool isPrimitive(const Type* type) { |
| 171 | auto kind = type->getKind(); |
| 172 | return kind != STRUCT && kind != MAP && kind != LIST && kind != UNION; |
| 173 | } |
| 174 | |
| 175 | void SchemaEvolution::buildSafePPDConversionMap(const Type* readType, const Type* fileType) { |
| 176 | if (readType == nullptr || !isPrimitive(readType) || fileType == nullptr || |
no test coverage detected