Skip to content

Commit

Permalink
Update cpp/src/arrow/array/validate.cc
Browse files Browse the repository at this point in the history
Co-authored-by: mwish <[email protected]>
  • Loading branch information
rok and mapleFU authored Aug 30, 2024
1 parent a89abcf commit 22f8f5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/array/validate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,8 @@ Status ValidateUTF8(const ArrayData& data) {
storage_type->id() == Type::LARGE_STRING);

if (data.type->id() == Type::EXTENSION) {
const auto& ext_data = std::make_shared<ArrayData>(data);
ArrayData ext_data(data);
ext_data.type = storage_type;
ext_data->type = storage_type;
UTF8DataValidator validator{*ext_data};
return VisitTypeInline(*storage_type, &validator);
Expand Down

0 comments on commit 22f8f5e

Please sign in to comment.