Class SparkSessionUtils
Object
org.apache.spark.sql.pipelines.util.SparkSessionUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TwithSqlConf(SparkSession spark, scala.collection.immutable.Seq<scala.Tuple2<String, String>> pairs, scala.Function0<T> f) Sets all SQL configurations specified inpairs, callsf, and then restores all SQL configurations. 
- 
Constructor Details
- 
SparkSessionUtils
public SparkSessionUtils() 
 - 
 - 
Method Details
- 
withSqlConf
public static <T> T withSqlConf(SparkSession spark, scala.collection.immutable.Seq<scala.Tuple2<String, String>> pairs, scala.Function0<T> f) Sets all SQL configurations specified inpairs, callsf, and then restores all SQL configurations.- Parameters:
 spark- (undocumented)pairs- (undocumented)f- (undocumented)- Returns:
 - (undocumented)
 
 
 -