From 01f091887c51af417604126f829b6f87a522ae97 Mon Sep 17 00:00:00 2001 From: desmond-hui Date: Fri, 28 Jun 2024 12:34:49 -0700 Subject: [PATCH] reset child index when a new top level program is invoked --- macros/python/udfs.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/python/udfs.sql b/macros/python/udfs.sql index 1fe875fe7..0469c69cb 100644 --- a/macros/python/udfs.sql +++ b/macros/python/udfs.sql @@ -350,6 +350,7 @@ def get_logs_program_data(logs) -> list: break if log.endswith(" invoke [1]"): + child_index = None program = log.replace("Program ","").replace(" invoke [1]","") parent_index += 1