From c63b35828bb38992ae99463fc704efaa8758db83 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Mon, 13 Jan 2025 18:21:55 +0000 Subject: [PATCH] lisa.trace: Fix MockTraceParser time range inference FIX Fix polars expression used to infer a time range for the MockTraceParser. --- lisa/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/trace.py b/lisa/trace.py index bf0110ec5..678e93fc4 100644 --- a/lisa/trace.py +++ b/lisa/trace.py @@ -783,7 +783,7 @@ class MockTraceParser(TraceParserBase): ) start, end = df.select( - (pl.min('Time'), pl.max('Time')) + (pl.min('Time').alias('min'), pl.max('Time').alias('max')) ).collect().row(0) start = Timestamp(start, unit='ns', rounding='down') -- GitLab