@@ -1625,9 +1625,9 @@ protected Scope visitQuery(Query node, Optional<Scope> scope)
16251625        @ Override 
16261626        protected  Scope  visitUnnest (Unnest  node , Optional <Scope > scope )
16271627        {
1628-             ImmutableMap .Builder <NodeRef <Expression >, List <Field >> mappings  = ImmutableMap .builder ();
1628+             ImmutableMap .Builder <NodeRef <Expression >, List <Field >> mappingsBuilder  = ImmutableMap .builder ();
16291629
1630-             ImmutableList .Builder <Field > outputFields  = ImmutableList .builder ();
1630+             ImmutableList .Builder <Field > outputFieldsBuilder  = ImmutableList .builder ();
16311631            for  (Expression  expression  : node .getExpressions ()) {
16321632                verifyNoAggregateWindowOrGroupingFunctions (session , functionResolver , accessControl , expression , "UNNEST" );
16331633                List <Field > expressionOutputs  = new  ArrayList <>();
@@ -1654,20 +1654,20 @@ else if (expressionType instanceof MapType mapType) {
16541654                    throw  new  TrinoException (INVALID_FUNCTION_ARGUMENT , "Cannot unnest type: "  + expressionType );
16551655                }
16561656
1657-                 outputFields .addAll (expressionOutputs );
1658-                 mappings .put (NodeRef .of (expression ), expressionOutputs );
1657+                 outputFieldsBuilder .addAll (expressionOutputs );
1658+                 mappingsBuilder .put (NodeRef .of (expression ), expressionOutputs );
16591659            }
16601660
16611661            Optional <Field > ordinalityField  = Optional .empty ();
16621662            if  (node .isWithOrdinality ()) {
16631663                ordinalityField  = Optional .of (Field .newUnqualified (Optional .empty (), BIGINT ));
16641664            }
16651665
1666-             ordinalityField .ifPresent (outputFields ::add );
1666+             ordinalityField .ifPresent (outputFieldsBuilder ::add );
16671667
1668-             analysis .setUnnest (node , new  UnnestAnalysis (mappings .buildOrThrow (), ordinalityField ));
1668+             analysis .setUnnest (node , new  UnnestAnalysis (mappingsBuilder .buildOrThrow (), ordinalityField ));
16691669
1670-             return  createAndAssignScope (node , scope , outputFields .build ());
1670+             return  createAndAssignScope (node , scope , outputFieldsBuilder .build ());
16711671        }
16721672
16731673        @ Override 
0 commit comments