From f6e62fbb7b0f7e4fb40dfca3c9f602d468df31bf Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Sun, 18 Dec 2022 15:29:35 +0100 Subject: [PATCH] make reverse argument explicit --- crates/re_query/src/query.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/re_query/src/query.rs b/crates/re_query/src/query.rs index e91b172a7fbf..17e6b8b5e429 100644 --- a/crates/re_query/src/query.rs +++ b/crates/re_query/src/query.rs @@ -91,7 +91,8 @@ fn add_instances_and_sort_if_needed(df: &DataFrame) -> Result { if df.column(Instance::NAME).is_ok() { // If we have an InstanceKey column already, make sure that it's sorted. // TODO(jleibs): can remove this once we have a sort guarantee from the store - Ok(df.sort([Instance::NAME], false)?) + let reverse = false; + Ok(df.sort([Instance::NAME], reverse)?) } else { // If we don't have an InstanceKey column, it is implicit, and we generate it // based on the row-number so we can use this in join-operations.