From ceb001afd2229743e2c23b64113dae7c81c92de1 Mon Sep 17 00:00:00 2001 From: Bing Li Date: Tue, 18 Jun 2024 16:27:51 -0700 Subject: [PATCH] clean up --- .../snowpark/internal/OpenTelemetry.scala | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/scala/com/snowflake/snowpark/internal/OpenTelemetry.scala b/src/main/scala/com/snowflake/snowpark/internal/OpenTelemetry.scala index 684adb26..38d77ed4 100644 --- a/src/main/scala/com/snowflake/snowpark/internal/OpenTelemetry.scala +++ b/src/main/scala/com/snowflake/snowpark/internal/OpenTelemetry.scala @@ -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. // method chain: Dataframe.filter.join.select.collect // todo: track line number in SNOW-1480775