mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-22 22:20:02 +00:00
@@ -1282,8 +1282,7 @@ mod test {
|
||||
.unwrap(),
|
||||
)
|
||||
}
|
||||
} else {
|
||||
if chain_windowed_sort {
|
||||
} else if chain_windowed_sort {
|
||||
// if chain_windowed_sort is true, we expect a single output batch sorted across all ranges
|
||||
let mut sorted = output_data.into_iter().flatten().collect_vec();
|
||||
if descending {
|
||||
@@ -1300,8 +1299,7 @@ mod test {
|
||||
let batches = output_data
|
||||
.into_iter()
|
||||
.map(|a| {
|
||||
DfRecordBatch::try_new(schema.clone(), vec![new_ts_array(unit, a)])
|
||||
.unwrap()
|
||||
DfRecordBatch::try_new(schema.clone(), vec![new_ts_array(unit, a)]).unwrap()
|
||||
})
|
||||
.collect_vec();
|
||||
if batches.is_empty() {
|
||||
@@ -1309,7 +1307,6 @@ mod test {
|
||||
} else {
|
||||
Some(concat_batches(&schema, &batches).unwrap())
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
test_cases.push((
|
||||
|
||||
Reference in New Issue
Block a user