Skip to content

Commit

Permalink
reset child index when a new top level program is invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
desmond-hui committed Jun 28, 2024
1 parent da7d54b commit 01f0918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions macros/python/udfs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 01f0918

Please sign in to comment.