| 126 | } |
| 127 | |
| 128 | uint64_t ArrayType::getNumElements(const LogicalType& type) { |
| 129 | DASSERT(type.getPhysicalType() == PhysicalTypeID::ARRAY); |
| 130 | auto arrayTypeInfo = type.extraTypeInfo->constPtrCast<ArrayTypeInfo>(); |
| 131 | return arrayTypeInfo->getNumElements(); |
| 132 | } |
| 133 | |
| 134 | std::vector<const LogicalType*> StructType::getFieldTypes(const LogicalType& type) { |
| 135 | DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT); |
no test coverage detected