Class SparkSessionUtils
Object
org.apache.spark.sql.pipelines.util.SparkSessionUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
SparkSessionUtilspublic SparkSessionUtils()
 
- 
- 
Method Details- 
withSqlConfpublic 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)
 
 
-