parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [parquet-cpp] branch master updated: PARQUET-1071: Check that arrow::FileWriter::Close() is idempotent
Date Wed, 28 Mar 2018 16:19:18 GMT
This is an automated email from the ASF dual-hosted git repository.

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 72063f3  PARQUET-1071: Check that arrow::FileWriter::Close() is idempotent
72063f3 is described below

commit 72063f3afa76caeb1785143889928c0c7312e677
Author: Antoine Pitrou <antoine@python.org>
AuthorDate: Wed Mar 28 18:18:33 2018 +0200

    PARQUET-1071: Check that arrow::FileWriter::Close() is idempotent
    
    Author: Antoine Pitrou <antoine@python.org>
    
    Closes #449 from pitrou/PARQUET-1071-arrow-filewriter-close-idempotent and squashes the
following commits:
    
    8c3fb19 [Antoine Pitrou] PARQUET-1071: Check that arrow::FileWriter::Close() is idempotent
---
 src/parquet/arrow/arrow-reader-writer-test.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/parquet/arrow/arrow-reader-writer-test.cc b/src/parquet/arrow/arrow-reader-writer-test.cc
index 8051ff1..46218be 100644
--- a/src/parquet/arrow/arrow-reader-writer-test.cc
+++ b/src/parquet/arrow/arrow-reader-writer-test.cc
@@ -574,6 +574,8 @@ class TestParquetIO : public ::testing::Test {
     ASSERT_OK_NO_THROW(writer.NewRowGroup(values->length()));
     ASSERT_OK_NO_THROW(writer.WriteColumnChunk(*values));
     ASSERT_OK_NO_THROW(writer.Close());
+    // writer.Close() should be idempotent
+    ASSERT_OK_NO_THROW(writer.Close());
   }
 
   std::shared_ptr<InMemoryOutputStream> sink_;

-- 
To stop receiving notification emails like this one, please contact
uwe@apache.org.

Mime
View raw message