xanderbailey commented on code in PR #437:
URL: https://github.com/apache/datafusion-spark/pull/437#discussion_r4746007590
##########
crates/sqllogictest/scripts/pyspark_slt_runner.py:
##########
@@ -1267,11 +1272,23 @@ def _start(self) -> None:
builder = builder.config(key, value)
self.spark = builder.getOrCreate()
self.spark.sparkContext.setLogLevel("FATAL")
+ self._register_internal_functions()
self.version = self.spark.version
self.time_zone = SPARK_DEFAULTS["spark.sql.session.timeZone"]
# Set when a query runs the JVM out of memory, which leaves it
unusable.
self.broken = False
+ def _register_internal_functions(self) -> None:
Review Comment:
If we're happy with this we can close out
https://github.com/apache/datafusion-spark/issues/436 and establish this as the
pattern
--
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]