| 1255 | namespace { |
| 1256 | |
| 1257 | bool DictionaryDirectWriteSupported(const ::arrow::Array& array) { |
| 1258 | DCHECK_EQ(array.type_id(), ::arrow::Type::DICTIONARY); |
| 1259 | const ::arrow::DictionaryType& dict_type = |
| 1260 | static_cast<const ::arrow::DictionaryType&>(*array.type()); |
| 1261 | return ::arrow::is_base_binary_like(dict_type.value_type()->id()); |
| 1262 | } |
| 1263 | |
| 1264 | Status ConvertDictionaryToDense(const ::arrow::Array& array, MemoryPool* pool, |
| 1265 | std::shared_ptr<::arrow::Array>* out) { |
no test coverage detected