MCPcopy Create free account
hub / github.com/apache/arrow / DictionaryDirectWriteSupported

Function DictionaryDirectWriteSupported

cpp/src/parquet/column_writer.cc:1256–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

WriteArrowDictionaryMethod · 0.85

Calls 5

is_base_binary_likeFunction · 0.85
type_idMethod · 0.45
typeMethod · 0.45
idMethod · 0.45
value_typeMethod · 0.45

Tested by

no test coverage detected