Skip to content

Commit

Permalink
fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Jun 10, 2024
1 parent 209f538 commit 27128e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crash-repro/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,12 @@ arrow::Result<std::shared_ptr<arrow::Table>> make_table() {
std::cout << "1" << std::endl;
auto maybeDoubleArray = make_numeric_array(doubleValues);
if (!maybeDoubleArray.ok()) {
std::cout << "Status is : " << maybeDoubleArray.status().mesage() << std::endl;
std::cout << "Status is : " << maybeDoubleArray.status().message() << std::endl;
}

ARROW_ASSIGN_OR_RAISE(auto doubleArray, maybeDoubleArray);

std::cout << "after " << std::endl;
ARROW_ASSIGN_OR_RAISE(auto doubleArray, make_numeric_array(doubleValues));
std::cout << "2" << std::endl;
std::cout << "2" << std::endl;

ARROW_ASSIGN_OR_RAISE(auto int32Array, make_numeric_array(int32Values));
std::cout << "3" << std::endl;
Expand Down

0 comments on commit 27128e5

Please sign in to comment.