parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject parquet-cpp git commit: PARQUET-1093: Improve Arrow level generation error message
Date Mon, 11 Sep 2017 15:15:51 GMT
Repository: parquet-cpp
Updated Branches:
  refs/heads/master 3b34f02d5 -> 15f9839d9


PARQUET-1093: Improve Arrow level generation error message

Author: Korn, Uwe <Uwe.Korn@blue-yonder.com>

Closes #390 from xhochy/PARQUET-1093 and squashes the following commits:

433e391 [Korn, Uwe] PARQUET-1093: Improve Arrow level generation error message


Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/15f9839d
Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/15f9839d
Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/15f9839d

Branch: refs/heads/master
Commit: 15f9839d96325df310c1d6b1ec6f2d0c7a13ef1f
Parents: 3b34f02
Author: Korn, Uwe <Uwe.Korn@blue-yonder.com>
Authored: Mon Sep 11 11:15:46 2017 -0400
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Mon Sep 11 11:15:46 2017 -0400

----------------------------------------------------------------------
 src/parquet/arrow/writer.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/15f9839d/src/parquet/arrow/writer.cc
----------------------------------------------------------------------
diff --git a/src/parquet/arrow/writer.cc b/src/parquet/arrow/writer.cc
index c5fe368..52d0353 100644
--- a/src/parquet/arrow/writer.cc
+++ b/src/parquet/arrow/writer.cc
@@ -91,10 +91,10 @@ class LevelBuilder {
     return VisitInline(*array.values());
   }
 
-#define NOT_IMPLEMENTED_VISIT(ArrowTypePrefix)                     \
-  Status Visit(const ::arrow::ArrowTypePrefix##Array& array) {     \
-    return Status::NotImplemented(                                 \
-        "Level generation for ArrowTypePrefix not supported yet"); \
+#define NOT_IMPLEMENTED_VISIT(ArrowTypePrefix)                             \
+  Status Visit(const ::arrow::ArrowTypePrefix##Array& array) {             \
+    return Status::NotImplemented("Level generation for " #ArrowTypePrefix \
+                                  " not supported yet");                   \
   }
 
   NOT_IMPLEMENTED_VISIT(Struct)


Mime
View raw message