I have an object of type SQLContext
. I know I can use setConf
to set a configuration value for it, but if I want to set a configuration value for sqlContext.sparkContext
, it doesn't have a setConf
function available to set a value. So this doesn't work.
sqlContext.setConf("spark.driver.maxResultSize", "2048")
Not sure how to do this.