Skip to content

Commit

Permalink
print table
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Jun 10, 2024
1 parent 36ca14b commit 7269469
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions crash-repro/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ int main(int argc, char* argv[]) {
auto maybe_table = make_table();
if (!maybe_table.ok()) { return 1; }
auto table = maybe_table.ValueOrDie();

auto write_status = write_feather_file(table, filename);
std::cout << table->ToString() << std::endl;
return 0;

int exit_value = write_status.ok() ? 0 : 1;
if (exit_value == 0) {
std::cout << "Write Succeeded!!" << std::endl;
} else {
std::cout << "Write failed :(" << std::endl;
}
// auto write_status = write_feather_file(table, filename);

// int exit_value = write_status.ok() ? 0 : 1;
// if (exit_value == 0) {
// std::cout << "Write Succeeded!!" << std::endl;
// } else {
// std::cout << "Write failed :(" << std::endl;
// }
return exit_value;
}

0 comments on commit 7269469

Please sign in to comment.