| 146 | } |
| 147 | |
| 148 | std::vector<std::string> StructType::getFieldNames(const LogicalType& type) { |
| 149 | DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT); |
| 150 | auto structTypeInfo = type.extraTypeInfo->constPtrCast<StructTypeInfo>(); |
| 151 | return structTypeInfo->getChildrenNames(); |
| 152 | } |
| 153 | |
| 154 | uint64_t StructType::getNumFields(const LogicalType& type) { |
| 155 | DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT); |
nothing calls this directly
no test coverage detected