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