| 173 | } |
| 174 | |
| 175 | void DataTypeMap::forEachChild(const DB::IDataType::ChildCallback & callback) const |
| 176 | { |
| 177 | callback(*key_type); |
| 178 | callback(*value_type); |
| 179 | key_type->forEachChild(callback); |
| 180 | value_type->forEachChild(callback); |
| 181 | } |
| 182 | |
| 183 | /// Resolves a dynamic subcolumn like `map['key']` by parsing the key from the subcolumn name, |
| 184 | /// creating a `SerializationMapKeyValue` that knows how to read only the relevant bucket, |
no test coverage detected