From c5044a3f25a65c71798ee48f44f0e9e0f5c488f5 Mon Sep 17 00:00:00 2001 From: evenyag Date: Wed, 27 Dec 2023 14:45:26 +0800 Subject: [PATCH] chore: fix compiler errors --- src/mito2/src/sst/parquet.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mito2/src/sst/parquet.rs b/src/mito2/src/sst/parquet.rs index bbe7371e2d6b..20259672e3bb 100644 --- a/src/mito2/src/sst/parquet.rs +++ b/src/mito2/src/sst/parquet.rs @@ -227,10 +227,9 @@ mod tests { // write the sst file and get sst info // sst info contains the parquet metadata, which is converted from FileMetaData - let mut writer = - ParquetWriter::new(file_path, metadata.clone(), source, object_store.clone()); + let mut writer = ParquetWriter::new(file_path, metadata.clone(), object_store.clone()); let sst_info = writer - .write_all(&write_opts) + .write_all(source, &write_opts) .await .unwrap() .expect("write_all should return sst info");