cloud-fan commented on a change in pull request #32718:
URL: https://github.com/apache/spark/pull/32718#discussion_r642887270



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
##########
@@ -283,3 +283,21 @@ case class TypeOf(child: Expression) extends 
UnaryExpression {
 
   override protected def withNewChildInternal(newChild: Expression): TypeOf = 
copy(child = newChild)
 }
+
+// scalastyle:off line.size.limit
+@ExpressionDescription(
+  usage = """_FUNC_() - Return the current user who is running SparkContext 
for current query execution.""",

Review comment:
       As a SQL function, we need to be engine-agnostic and define the semantic 
without Spark.




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to