@@ -129,7 +129,6 @@ def _stream_plan(self, plan: stp.Plan, stream, depth: int):
129129
130130 def _stream_relation (self , rel : stp .PlanRel , stream , depth : int ):
131131 """Print a plan relation concisely"""
132- indent = " " * (depth * self .indent_size )
133132
134133 if rel .HasField ("root" ):
135134 self ._stream_rel_root (rel .root , stream , depth )
@@ -220,7 +219,7 @@ def _stream_project_rel(self, project: stalg.ProjectRel, stream, depth: int):
220219 )
221220 for i , expr in enumerate (project .expressions ):
222221 stream .write (
223- f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color (f 'expr' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
222+ f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color ('expr' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
224223 )
225224 self ._stream_expression (expr , stream , depth + 2 )
226225
@@ -387,15 +386,15 @@ def _stream_scalar_function(
387386 ):
388387 # Recursively expand nested scalar functions
389388 stream .write (
390- f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color (f 'args' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
389+ f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color ('args' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
391390 )
392391 self ._stream_scalar_function (
393392 arg .value .scalar_function , stream , depth + 3
394393 )
395394 else :
396395 # Always show the full recursive output for all argument types
397396 stream .write (
398- f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color (f 'args' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
397+ f"{ self ._get_indent_with_arrow (depth + 2 )} { self ._color ('args' , Colors .BLUE )} [{ self ._color (f'{ i } ' , Colors .CYAN )} ]:\n "
399398 )
400399 self ._stream_function_argument (arg , stream , depth + 3 )
401400
0 commit comments