You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/08/14 06:03:52 UTC

[arrow] branch master updated: [C++] Use Array::Validate() instead of ValidateArray() (#5079)

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2723884  [C++] Use Array::Validate() instead of ValidateArray() (#5079)
2723884 is described below

commit 27238840caaffdfdec99c500b63adfd2a8cf3b9b
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Wed Aug 14 15:03:38 2019 +0900

    [C++] Use Array::Validate() instead of ValidateArray() (#5079)
    
    ValidateArray() is deprecated by ARROW-6177.
---
 cpp/src/arrow/array/diff-test.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/array/diff-test.cc b/cpp/src/arrow/array/diff-test.cc
index 1837de5..6181a2f 100644
--- a/cpp/src/arrow/array/diff-test.cc
+++ b/cpp/src/arrow/array/diff-test.cc
@@ -81,7 +81,7 @@ class DiffTest : public ::testing::Test {
     auto edits = Diff(*base_, *target_, default_memory_pool());
     ASSERT_OK(edits.status());
     edits_ = edits.ValueOrDie();
-    ASSERT_OK(ValidateArray(*edits_));
+    ASSERT_OK(edits_->Validate());
     ASSERT_TRUE(edits_->type()->Equals(edits_type));
     insert_ = checked_pointer_cast<BooleanArray>(edits_->field(0));
     run_lengths_ = checked_pointer_cast<Int64Array>(edits_->field(1));