We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f38507 commit 2f4566cCopy full SHA for 2f4566c
sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -691,8 +691,10 @@ private[sql] class SQLConf extends Serializable with CatalystConf with Logging {
691
692
def variableSubstituteDepth: Int = getConf(VARIABLE_SUBSTITUTE_DEPTH)
693
694
- def warehousePath: String = new Path(getConf(WAREHOUSE_PATH)).toString
695
-
+ def warehousePath: String = {
+ new Path(getConf(WAREHOUSE_PATH).replace("${system:user.dir}",
696
+ System.getProperty("user.dir"))).toString
697
+ }
698
override def orderByOrdinal: Boolean = getConf(ORDER_BY_ORDINAL)
699
700
override def groupByOrdinal: Boolean = getConf(GROUP_BY_ORDINAL)
0 commit comments