Skip to content

Commit

Permalink
Use make shared to create arrow::Field
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf committed May 21, 2024
1 parent 54a23fe commit b0eef85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/dwio/parquet/writer/arrow/ArrowSchema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ Status NodeToSchemaField(
// A normal (required/optional) primitive node
return PopulateLeaf(
column_index,
::arrow::field(
std::make_shared<::arrow::Field>(
node.name(),
type,
node.is_optional(),
Expand Down

0 comments on commit b0eef85

Please sign in to comment.