automl.spark
disable_spark_ansi_mode
def disable_spark_ansi_mode()
Disable Spark ANSI mode on the currently active Spark session.
This function does NOT create a Spark session. Callers must create or
activate one first (e.g. via SparkSession.builder.getOrCreate()).
When no active session exists, it returns a no-op tuple so that callers
importing this module do not pay the cost of starting a Spark JVM.
restore_spark_ansi_mode
def restore_spark_ansi_mode(spark, ansi_conf, adjusted)
Restore Spark ANSI mode to its original setting.