@@ -29,8 +29,8 @@ SpillWriter::SpillWriter(const std::shared_ptr<FileSystem>& fs,
2929 const std::shared_ptr<arrow::Schema>& schema,
3030 const std::shared_ptr<FileIOChannel::Enumerator>& channel_enumerator,
3131 const std::shared_ptr<SpillChannelManager>& spill_channel_manager,
32- const std::shared_ptr<MemoryPool>& pool, const std::string& compression ,
33- int32_t compression_level )
32+ const std::string& compression, int32_t compression_level ,
33+ const std::shared_ptr<MemoryPool>& pool )
3434 : fs_(fs),
3535 schema_ (schema),
3636 channel_enumerator_(channel_enumerator),
@@ -43,11 +43,11 @@ Result<std::unique_ptr<SpillWriter>> SpillWriter::Create(
4343 const std::shared_ptr<FileSystem>& fs, const std::shared_ptr<arrow::Schema>& schema,
4444 const std::shared_ptr<FileIOChannel::Enumerator>& channel_enumerator,
4545 const std::shared_ptr<SpillChannelManager>& spill_channel_manager,
46- const std::shared_ptr<MemoryPool>& pool, const std::string& compression ,
47- int32_t compression_level ) {
46+ const std::string& compression, int32_t compression_level ,
47+ const std::shared_ptr<MemoryPool>& pool ) {
4848 std::unique_ptr<SpillWriter> writer (new SpillWriter (fs, schema, channel_enumerator,
49- spill_channel_manager, pool, compression,
50- compression_level));
49+ spill_channel_manager, compression,
50+ compression_level, pool ));
5151 PAIMON_RETURN_NOT_OK (writer->Open ());
5252 return writer;
5353}
0 commit comments