kou commented on a change in pull request #7507:
URL: https://github.com/apache/arrow/pull/7507#discussion_r465476936



##########
File path: cpp/src/arrow/ipc/reader.cc
##########
@@ -449,7 +449,7 @@ Result<std::shared_ptr<RecordBatch>> LoadRecordBatchSubset(
     const flatbuf::RecordBatch* metadata, const std::shared_ptr<Schema>& 
schema,
     const std::vector<bool>& inclusion_mask, const DictionaryMemo* 
dictionary_memo,
     const IpcReadOptions& options, MetadataVersion metadata_version,
-    Compression::type compression, io::RandomAccessFile* file) {
+    Compression::type compression, io::RandomAccessFile* file, bool 
swap_endian = false) {

Review comment:
       Can we remove `swap_endian` and `swap_endian_` by using 
`IpcReadOptions::use_native_endian`?
   Should we keep `swap_endian` and `swap_endian_`?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to