Skip to content

Commit

Permalink
Don't warn when using_index_values is set
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs authored and teh-cmc committed Oct 16, 2024
1 parent 19e3106 commit ada2f35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rerun_py/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ impl PyRecordingView {
.filter(|c| matches!(c, ColumnDescriptor::Component(_)))
.collect::<Vec<_>>();

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.")?;
Expand Down

0 comments on commit ada2f35

Please sign in to comment.