Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Jun 18, 2024
1 parent afd7893 commit ceb001a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/main/scala/com/snowflake/snowpark/internal/OpenTelemetry.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ import com.snowflake.snowpark.DataFrame
import io.opentelemetry.api.GlobalOpenTelemetry

object OpenTelemetry extends Logging {
def test(): Unit = {
val stack = Thread.currentThread().getStackTrace
// scalastyle:off println
stack.foreach(e => {

println(s"""
|file name: ${e.getFileName}
|line #: ${e.getLineNumber}
|class name: ${e.getClassName}
|method name: ${e.getMethodName}
|""".stripMargin)
})
// scalastyle:on println
}

// class name format: snow.snowpark.<class name>
// method chain: Dataframe.filter.join.select.collect
// todo: track line number in SNOW-1480775
Expand Down

0 comments on commit ceb001a

Please sign in to comment.