MaxGekk commented on code in PR #43671:
URL: https://github.com/apache/spark/pull/43671#discussion_r1383403781
##########
sql/core/src/main/scala/org/apache/spark/sql/package.scala:
##########
@@ -98,7 +98,10 @@ package object sql {
f
} else {
val st = Thread.currentThread().getStackTrace
- var i = 3
+ var i = 0
Review Comment:
Isn't it safe to don't assume any such things? BTW, this PR avoids any
assumptions in `DataFrameQueryContext.apply` too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]