Skip to content

Commit

Permalink
add more print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Jun 11, 2024
1 parent 211c39b commit 766e536
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crash-repro/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@ template <typename CType>
arrow::Result<std::shared_ptr<arrow::Array>> make_numeric_array(std::vector<CType> values) {
using TypeClass = typename arrow::CTypeTraits<CType>::ArrowType;

std::cout << "create builder" << std::endl;

arrow::NumericBuilder<TypeClass> builder;
std::cout << "append values" << std::endl;

ARROW_RETURN_NOT_OK(builder.AppendValues(values));
std::cout << "done values" << std::endl;

std::shared_ptr<arrow::Array> array;
ARROW_RETURN_NOT_OK(builder.Finish(&array));
std::cout << "finish" << std::endl;

return array;
}
Expand Down

0 comments on commit 766e536

Please sign in to comment.