[Groonga-commit] groonga/groonga at 77be91b [master] Follow the latest Arrow API change

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 22 14:58:40 JST 2017


Kouhei Sutou	2017-11-22 14:58:40 +0900 (Wed, 22 Nov 2017)

  New Revision: 77be91b7ef0225ca37c15700522eb7e7c68cdb21
  https://github.com/groonga/groonga/commit/77be91b7ef0225ca37c15700522eb7e7c68cdb21

  Message:
    Follow the latest Arrow API change

  Modified files:
    lib/arrow.cpp

  Modified: lib/arrow.cpp (+2 -2)
===================================================================
--- lib/arrow.cpp    2017-11-22 14:43:17 +0900 (77cc00672)
+++ lib/arrow.cpp    2017-11-22 14:58:40 +0900 (189c7a85d)
@@ -577,8 +577,8 @@ namespace grnarrow {
         columns.push_back(column);
       }
 
-      arrow::RecordBatch record_batch(schema, ids.size(), columns);
-      writer->WriteRecordBatch(record_batch);
+      auto record_batch = arrow::RecordBatch::Make(schema, ids.size(), columns);
+      writer->WriteRecordBatch(*record_batch);
     }
 
     arrow::Status build_boolean_array(std::vector<grn_id> &ids,
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171122/308b3400/attachment-0001.htm 



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