LuciferYang commented on code in PR #41516:
URL: https://github.com/apache/spark/pull/41516#discussion_r1223159301
##########
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala:
##########
@@ -5570,6 +5570,21 @@ class DataFrameFunctionsSuite extends QueryTest with
SharedSparkSession {
Seq(Row(Seq("b", "a", "c", null)))
)
}
+
+ test("function current_catalog, current_database, current_schema") {
+ val df = Seq((1, 2), (3, 1)).toDF("a", "b")
Review Comment:
nit: can we just use `spark.emptyDataFrame`?
--
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]