| 107 | } |
| 108 | |
| 109 | uint32_t DecimalType::getScale(const LogicalType& type) { |
| 110 | DASSERT(type.getLogicalTypeID() == LogicalTypeID::DECIMAL); |
| 111 | auto decimalTypeInfo = type.extraTypeInfo->constPtrCast<DecimalTypeInfo>(); |
| 112 | return decimalTypeInfo->getScale(); |
| 113 | } |
| 114 | |
| 115 | const LogicalType& ListType::getChildType(const lbug::common::LogicalType& type) { |
| 116 | DASSERT(type.getPhysicalType() == PhysicalTypeID::LIST || |
no test coverage detected