File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
sql/core/src/main/scala/org/apache/spark/sql/internal Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -971,13 +971,13 @@ object StaticSQLConf {
971
971
}
972
972
973
973
val DEFAULT_WAREHOUSE_PATH = buildConf(" spark.sql.default.warehouse.dir" )
974
- .doc(" The default location for managed databases and tables. " +
975
- " Used if spark.sql.warehouse.dir is not set" )
974
+ .doc(" Default location used for managed databases and tables " +
975
+ " if spark.sql.warehouse.dir is not set" )
976
976
.stringConf
977
977
.createWithDefault(Utils .resolveURI(" spark-warehouse" ).toString)
978
978
979
979
val WAREHOUSE_PATH = buildConf(" spark.sql.warehouse.dir" )
980
- .doc(" The location for managed databases and tables." )
980
+ .doc(" The default location for managed databases and tables." )
981
981
.stringConf
982
982
.createOptional
983
983
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ private[sql] class SharedState(val sparkContext: SparkContext) extends Logging {
56
56
s " hive.metastore.warehouse.dir (' $hiveWarehouseDir'). " )
57
57
hiveWarehouseDir
58
58
} else if (sparkContext.conf.contains(WAREHOUSE_PATH .key) &&
59
- sparkContext.conf.get(WAREHOUSE_PATH ).isDefined) {
59
+ sparkContext.conf.get(WAREHOUSE_PATH ).isDefined) {
60
60
// If spark.sql.warehouse.dir is set, we will override hive.metastore.warehouse.dir using
61
61
// the value of spark.sql.warehouse.dir.
62
62
val sparkWarehouseDir = sparkContext.conf.get(WAREHOUSE_PATH ).get
You can’t perform that action at this time.
0 commit comments