Skip to content

Commit db989d1

Browse files
committed
Revert "change code"
This reverts commit b5ef1b7.
1 parent cbb70e0 commit db989d1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/deployment/migration-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
* Since Kyuubi 1.12, the support of variable `<KYUUBI_HOME>` substitution in config `kyuubi.metadata.store.jdbc.url` is deprecated, use `{{KYUUBI_HOME}}` instead.
2323
* Since Kyuubi 1.12, default value of `kyuubi.metrics.json.location` is changed to `{{KYUUBI_HOME}}/metrics`, to restore previous behavior, change it to `{{KYUUBI_WORK_DIR_ROOT}}/metrics`.
24+
* Since Kyuubi 1.12, the configuration `spark.sql.kyuubi.hive.connector.dropTableAsPurgeTable` is introduced by Kyuubi Spark Hive connector(KSHC) to control whether DROP TABLE command completely remove its data by skipping HDFS trash. The default value is false. To restore the legacy behavior, set it to true.
2425

2526
## Upgrading from Kyuubi 1.10 to 1.11
2627

extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/KyuubiHiveConnectorConf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ object KyuubiHiveConnectorConf {
6464
"by skipping HDFS trash, equivalent to the PURGE TABLE command.")
6565
.version("1.12.0")
6666
.booleanConf
67-
.createWithDefault(true)
67+
.createWithDefault(false)
6868
}

0 commit comments

Comments
 (0)