From ee9c7c5ef47b6a7246d075b946df13419eb2ed10 Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Tue, 15 Oct 2024 17:52:07 -0400 Subject: [PATCH] Don't warn when using_index_values is set --- rerun_py/src/dataframe.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rerun_py/src/dataframe.rs b/rerun_py/src/dataframe.rs index 34b3baa735bc..1e62658efb62 100644 --- a/rerun_py/src/dataframe.rs +++ b/rerun_py/src/dataframe.rs @@ -529,7 +529,8 @@ impl PyRecordingView { .filter(|c| matches!(c, ColumnDescriptor::Component(_))) .collect::>(); - if !available_data_columns.is_empty() + if self.query_expression.using_index_values.is_none() + && !available_data_columns.is_empty() && available_data_columns.iter().all(|c| c.is_static()) { py_rerun_warn("RecordingView::select: contents only include static columns. No results will be returned. Either include non-static data or consider using `select_static()` instead.")?;