LuciferYang commented on code in PR #53246:
URL: https://github.com/apache/spark/pull/53246#discussion_r2568435704
##########
sql/connect/client/jdbc/src/main/scala/org/apache/spark/sql/connect/client/jdbc/SparkConnectDatabaseMetaData.scala:
##########
@@ -326,23 +326,29 @@ class SparkConnectDatabaseMetaData(conn:
SparkConnectConnection) extends Databas
case Some(schemaPattern) => $"TABLE_SCHEM".like(schemaPattern)
}
+ val emptyDf = conn.spark.emptyDataFrame
Review Comment:
How about changing it to `lazy val` then?
--
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]