Skip to content

Commit 2f20ed4

Browse files
committed
style
1 parent f5bfd6b commit 2f20ed4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/extensions/engines/spark/rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Now, you can enjoy the Kyuubi SQL Extension.
6363

6464
Kyuubi provides some configs to make these feature easy to use.
6565

66-
| Name | Default Value | Description | Since |
66+
| Name | Default Value | Description | Since |
6767
|---------------------------------------------------------------------|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
6868
| spark.sql.optimizer.insertRepartitionBeforeWrite.enabled | true | Add repartition node at the top of query plan. An approach of merging small files. | 1.2.0 |
6969
| spark.sql.optimizer.insertRepartitionNum | none | The partition number if `spark.sql.optimizer.insertRepartitionBeforeWrite.enabled` is enabled. If AQE is disabled, the default value is `spark.sql.shuffle.partitions`. If AQE is enabled, the default value is none that means depend on AQE. | 1.2.0 |

extensions/spark/kyuubi-extension-spark-common/src/main/scala/org/apache/kyuubi/sql/CustomResourceProfileExec.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,3 @@ case class CustomResourceProfileExec(child: SparkPlan) extends UnaryExecNode {
102102
this.copy(child = newChild)
103103
}
104104
}
105-

extensions/spark/kyuubi-extension-spark-common/src/test/scala/org/apache/spark/sql/InjectResourceProfileSuiteBase.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ abstract class InjectResourceProfileSuiteBase extends KyuubiSparkSQLExtensionTes
6262

6363
test("Inject resource profile") {
6464
withTable("t") {
65-
withSQLConf("spark.sql.adaptive.forceApply" -> "true",
66-
KyuubiSQLConf.FINAL_STAGE_CONFIG_ISOLATION.key -> "true",
67-
KyuubiSQLConf.FINAL_WRITE_STAGE_RESOURCE_ISOLATION_ENABLED.key -> "true") {
65+
withSQLConf(
66+
"spark.sql.adaptive.forceApply" -> "true",
67+
KyuubiSQLConf.FINAL_STAGE_CONFIG_ISOLATION.key -> "true",
68+
KyuubiSQLConf.FINAL_WRITE_STAGE_RESOURCE_ISOLATION_ENABLED.key -> "true") {
6869

6970
sql("CREATE TABLE t (c1 int, c2 string) USING PARQUET")
7071

0 commit comments

Comments
 (0)