[Groonga-commit] groonga/groonga at a04f188 [master] Follow Apache Arrow 0.5.0 API change

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 17 21:26:26 JST 2017


Kouhei Sutou	2017-07-17 21:26:26 +0900 (Mon, 17 Jul 2017)

  New Revision: a04f188a2857a6379c7765647598a205f75be9c7
  https://github.com/groonga/groonga/commit/a04f188a2857a6379c7765647598a205f75be9c7

  Message:
    Follow Apache Arrow 0.5.0 API change

  Modified files:
    configure.ac
    lib/arrow.cpp

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2017-07-17 21:19:22 +0900 (5cafef0)
+++ configure.ac    2017-07-17 21:26:26 +0900 (a491dba)
@@ -969,7 +969,7 @@ AC_ARG_ENABLE(arrow,
 if test "x$enable_arrow" != "xno"; then
   m4_ifdef([PKG_CHECK_MODULES], [
     PKG_CHECK_MODULES([ARROW],
-                      [arrow],
+                      [arrow >= 0.5.0],
                       [arrow_available=yes],
                       [arrow_available=no])
   ],

  Modified: lib/arrow.cpp (+1 -1)
===================================================================
--- lib/arrow.cpp    2017-07-17 21:19:22 +0900 (2231141)
+++ lib/arrow.cpp    2017-07-17 21:26:26 +0900 (d96231f)
@@ -762,7 +762,7 @@ grn_arrow_load(grn_ctx *ctx,
   int n_record_batches = reader->num_record_batches();
   for (int i = 0; i < n_record_batches; ++i) {
     std::shared_ptr<arrow::RecordBatch> record_batch;
-    status = reader->GetRecordBatch(i, &record_batch);
+    status = reader->ReadRecordBatch(i, &record_batch);
     if (!grnarrow::check_status(ctx,
                                 status,
                                 std::ostringstream("") <<
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index