| 152 | } |
| 153 | |
| 154 | std::optional<int32_t> UnwrapFixedChar(const DataType& t) { |
| 155 | if (auto params = FixedCharType::GetIf(t)) { |
| 156 | return params->length; |
| 157 | } |
| 158 | return std::nullopt; |
| 159 | } |
| 160 | |
| 161 | std::optional<int32_t> UnwrapVarChar(const DataType& t) { |
| 162 | if (auto params = VarCharType::GetIf(t)) { |