Skip to content

Commit

Permalink
Rename parameter in helper method
Browse files Browse the repository at this point in the history
The parameter refers to "a stage span", not to the top level "query
span".
  • Loading branch information
findepi committed Dec 21, 2023
1 parent de79cdc commit 506da60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ public SplitSource getSplits(Session session, Span parentSpan, TableFunctionHand
return new TracingSplitSource(splitSource, tracer, Optional.of(span), "split-buffer");
}

private Span splitSourceSpan(Span querySpan, CatalogHandle catalogHandle)
private Span splitSourceSpan(Span parentSpan, CatalogHandle catalogHandle)
{
return tracer.spanBuilder("split-source")
.setParent(Context.current().with(querySpan))
.setParent(Context.current().with(parentSpan))
.setAttribute(TrinoAttributes.CATALOG, catalogHandle.getCatalogName())
.startSpan();
}
Expand Down

0 comments on commit 506da60

Please sign in to comment.