Skip to content

Commit

Permalink
fix Compaction suite
Browse files Browse the repository at this point in the history
Signed-off-by: zenghua <[email protected]>
  • Loading branch information
zenghua committed Feb 7, 2024
1 parent b5f1f74 commit cf83977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class CompactionSuite extends QueryTest
assert(!rangeInfo.groupBy(_.file_bucket_id).forall(_._2.length == 1))

LakeSoulTable.forPath(tableName).compaction("range=1")
Thread.sleep(1000)
Thread.sleep(3000)

val allDataInfo = SparkUtil.allDataInfo(sm.updateSnapshot())
println(allDataInfo.mkString("Array(", ", ", ")"))
Expand Down Expand Up @@ -279,7 +279,7 @@ class CompactionSuite extends QueryTest
* call LakeSoulTable.compaction(tableName=>'lakesoul',cleanOld=>true)
*/
sql("call LakeSoulTable.compaction(condition=>map('range',1),tablePath=>'" + tableName + "')")
Thread.sleep(1000)
Thread.sleep(3000)

val allDataInfo = SparkUtil.allDataInfo(sm.updateSnapshot())
println(allDataInfo.mkString("Array(", ", ", ")"))
Expand Down
1 change: 0 additions & 1 deletion rust/lakesoul-datafusion/src/lakesoul_table/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pub mod helpers;
use std::{ops::Deref, sync::Arc};

use arrow::datatypes::{SchemaRef, Schema};
use datafusion::dataframe;
use datafusion::sql::TableReference;
use datafusion::{
dataframe::DataFrame,
Expand Down

0 comments on commit cf83977

Please sign in to comment.