Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Jun 12, 2024
1 parent 050fd9d commit 1c09d52
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/src/arrow/pretty_print.cc
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,8 @@ Status ArrayPrinter::WriteValidityBitmap(const Array& array) {
Result<std::shared_ptr<Array>> CopyStartEndToCPU(const Array& arr, int window) {
std::shared_ptr<Array> arr_sliced;
if (arr.length() > (2 * window + 1)) {
ARROW_ASSIGN_OR_RAISE(
auto arr_start,
arr.Slice(0, window + 1)->CopyTo(default_cpu_memory_manager()));
ARROW_ASSIGN_OR_RAISE(auto arr_start,
arr.Slice(0, window + 1)->CopyTo(default_cpu_memory_manager()));
ARROW_ASSIGN_OR_RAISE(
auto arr_end,
arr.Slice(arr.length() - window - 1)->CopyTo(default_cpu_memory_manager()));
Expand Down

0 comments on commit 1c09d52

Please sign in to comment.