From 27128e5ed133bdaf947d7a0fa7b99acb6d62d480 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Mon, 10 Jun 2024 18:55:16 -0400 Subject: [PATCH] fix compiler error --- crash-repro/main.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crash-repro/main.cc b/crash-repro/main.cc index 40d1607699abe..6a0fd1a975204 100644 --- a/crash-repro/main.cc +++ b/crash-repro/main.cc @@ -48,14 +48,12 @@ arrow::Result> 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;