This is an automated email from the ASF dual-hosted git repository.
bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 938384c22 [KYUUBI #5121] Extract dev scripts for regenerating the
golden files
938384c22 is described below
commit 938384c2259b361cdf1b3bba81f615064289817c
Author: liangbowen <[email protected]>
AuthorDate: Tue Aug 15 08:29:07 2023 +0800
[KYUUBI #5121] Extract dev scripts for regenerating the golden files
### _Why are the changes needed?_
- extract development scripts for regenerating and verifying the golden
files
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run
test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests)
locally before make a pull request
Closes #5121 from bowenliang123/gen-golden.
Closes #5121
a8fb20046 [liangbowen] add golden result file path hint in comment
444e5aff9 [liangbowen] nit
eec4fe84f [liangbowen] use the generation scripts for running test suites.
5a97785e6 [liangbowen] fix class name in gen_ranger_spec_json.sh
3be9aacf5 [liangbowen] comments
32993de43 [liangbowen] comments
ca0090909 [liangbowen] update scripts
6439ad3e9 [liangbowen] update scripts
f26d77935 [liangbowen] add scripts for golden files' generation
Authored-by: liangbowen <[email protected]>
Signed-off-by: liangbowen <[email protected]>
---
dev/gen/gen_all_config_docs.sh | 27 ++++++++++++++++++++++
dev/gen/gen_kdf.sh | 26 +++++++++++++++++++++
dev/gen/gen_ranger_policy_json.sh | 27 ++++++++++++++++++++++
dev/gen/gen_ranger_spec_json.sh | 27 ++++++++++++++++++++++
dev/gen/gen_tpcds_output_schema.sh | 27 ++++++++++++++++++++++
dev/gen/gen_tpcds_queries.sh | 27 ++++++++++++++++++++++
dev/gen/gen_tpch_queries.sh | 27 ++++++++++++++++++++++
.../spark/authz/gen/PolicyJsonFileGenerator.scala | 14 +++++------
.../spark/authz/gen/JsonSpecFileGenerator.scala | 14 +++++------
.../spark/connector/tpcds/TPCDSQuerySuite.scala | 10 ++------
.../spark/connector/tpch/TPCHQuerySuite.scala | 10 ++------
.../spark/udf/KyuubiDefinedFunctionSuite.scala | 4 ++--
.../kyuubi/config/AllKyuubiConfiguration.scala | 4 ++--
.../operation/tpcds/OutputSchemaTPCDSSuite.scala | 8 ++-----
14 files changed, 212 insertions(+), 40 deletions(-)
diff --git a/dev/gen/gen_all_config_docs.sh b/dev/gen/gen_all_config_docs.sh
new file mode 100755
index 000000000..2a5dca7f9
--- /dev/null
+++ b/dev/gen/gen_all_config_docs.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# docs/deployment/settings.md
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean test \
+ -pl kyuubi-server -am \
+ -Pflink-provided,spark-provided,hive-provided \
+ -Dtest=none \
+ -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
diff --git a/dev/gen/gen_kdf.sh b/dev/gen/gen_kdf.sh
new file mode 100755
index 000000000..a10a31afc
--- /dev/null
+++ b/dev/gen/gen_kdf.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# docs/sql/functions.md
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean test \
+ -pl externals/kyuubi-spark-sql-engine -am \
+ -Pflink-provided,spark-provided,hive-provided \
+
-DwildcardSuites=org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite
diff --git a/dev/gen/gen_ranger_policy_json.sh
b/dev/gen/gen_ranger_policy_json.sh
new file mode 100755
index 000000000..1f4193d3e
--- /dev/null
+++ b/dev/gen/gen_ranger_policy_json.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+#
extensions/spark/kyuubi-spark-authz/src/test/resources/sparkSql_hive_jenkins.json
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean test \
+ -pl extensions/spark/kyuubi-spark-authz \
+ -Pgen-policy \
+ -Dtest=none \
+
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.PolicyJsonFileGenerator
diff --git a/dev/gen/gen_ranger_spec_json.sh b/dev/gen/gen_ranger_spec_json.sh
new file mode 100755
index 000000000..e00857f8f
--- /dev/null
+++ b/dev/gen/gen_ranger_spec_json.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# extensions/spark/kyuubi-spark-authz/src/main/resources/*_spec.json
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean test \
+ -pl extensions/spark/kyuubi-spark-authz \
+ -Pgen-policy \
+ -Dtest=none \
+
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.JsonSpecFileGenerator
diff --git a/dev/gen/gen_tpcds_output_schema.sh
b/dev/gen/gen_tpcds_output_schema.sh
new file mode 100755
index 000000000..49f8d7798
--- /dev/null
+++ b/dev/gen/gen_tpcds_output_schema.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# extensions/spark/kyuubi-spark-authz/src/test/resources/*.output.schema
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean install \
+ -pl kyuubi-server -am \
+ -Dmaven.plugin.scalatest.exclude.tags="" \
+ -Dtest=none \
+ -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
diff --git a/dev/gen/gen_tpcds_queries.sh b/dev/gen/gen_tpcds_queries.sh
new file mode 100755
index 000000000..07f075b7a
--- /dev/null
+++ b/dev/gen/gen_tpcds_queries.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# kyuubi-spark-connector-tpcds/src/main/resources/kyuubi/tpcds_*/*.sql
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean install \
+ -pl extensions/spark/kyuubi-spark-connector-tpcds -am \
+ -Dmaven.plugin.scalatest.exclude.tags="" \
+ -Dtest=none \
+ -DwildcardSuites=org.apache.kyuubi.spark.connector.tpcds.TPCDSQuerySuite
diff --git a/dev/gen/gen_tpch_queries.sh b/dev/gen/gen_tpch_queries.sh
new file mode 100755
index 000000000..d0c65256f
--- /dev/null
+++ b/dev/gen/gen_tpch_queries.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Golden result file:
+# kyuubi-spark-connector-tpcds/src/main/resources/kyuubi/tpcdh_*/*.sql
+
+KYUUBI_UPDATE="${KYUUBI_UPDATE:-1}" \
+build/mvn clean install \
+ -pl extensions/spark/kyuubi-spark-connector-tpch -am \
+ -Dmaven.plugin.scalatest.exclude.tags="" \
+ -Dtest=none \
+ -DwildcardSuites=org.apache.kyuubi.spark.connector.tpch.TPCHQuerySuite
diff --git
a/extensions/spark/kyuubi-spark-authz/src/test/gen/scala/org/apache/kyuubi/plugin/spark/authz/gen/PolicyJsonFileGenerator.scala
b/extensions/spark/kyuubi-spark-authz/src/test/gen/scala/org/apache/kyuubi/plugin/spark/authz/gen/PolicyJsonFileGenerator.scala
index e53d77197..981635a17 100644
---
a/extensions/spark/kyuubi-spark-authz/src/test/gen/scala/org/apache/kyuubi/plugin/spark/authz/gen/PolicyJsonFileGenerator.scala
+++
b/extensions/spark/kyuubi-spark-authz/src/test/gen/scala/org/apache/kyuubi/plugin/spark/authz/gen/PolicyJsonFileGenerator.scala
@@ -42,12 +42,14 @@ import
org.apache.kyuubi.plugin.spark.authz.gen.RangerClassConversions._
* Generates the policy file to test/main/resources dir.
*
* To run the test suite:
- * build/mvn clean test -Pgen-policy -pl :kyuubi-spark-authz_2.12 -Dtest=none
- *
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.PolicyJsonFileGenerator
+ * {{{
+ * KYUUBI_UPDATE=0 dev/gen/gen_ranger_policy_json.sh
+ * }}}
*
* To regenerate the ranger policy file:
- * KYUUBI_UPDATE=1 build/mvn clean test -Pgen-policy -pl
:kyuubi-spark-authz_2.12 -Dtest=none
- *
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.PolicyJsonFileGenerator
+ * {{{
+ * dev/gen/gen_ranger_policy_json.sh
+ * }}}
*/
class PolicyJsonFileGenerator extends AnyFunSuite {
// scalastyle:on
@@ -78,9 +80,7 @@ class PolicyJsonFileGenerator extends AnyFunSuite {
val existedFileContent =
FileUtils.readFileToString(policyFilePath.toFile,
StandardCharsets.UTF_8)
withClue("Please regenerate the ranger policy file by running"
- + "`KYUUBI_UPDATE=1 build/mvn clean test -Pgen-policy"
- + " -pl :kyuubi-spark-authz_2.12 -Dtest=none"
- + "
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.PolicyJsonFileGenerator`.")
{
+ + " `dev/gen/gen_ranger_policy_json.sh`") {
assert(generatedStr.equals(existedFileContent))
}
}
diff --git
a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/JsonSpecFileGenerator.scala
b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/JsonSpecFileGenerator.scala
index c95685f34..b10904c1e 100644
---
a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/JsonSpecFileGenerator.scala
+++
b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/JsonSpecFileGenerator.scala
@@ -30,12 +30,14 @@ import org.apache.kyuubi.plugin.spark.authz.serde.{mapper,
CommandSpec}
* Generates the default command specs to src/main/resources dir.
*
* To run the test suite:
- * build/mvn clean test -Pgen-policy -pl :kyuubi-spark-authz_2.12 -Dtest=none
- *
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.JsonSpecFileGenerator
+ * {{{
+ * KYUUBI_UPDATE=0 dev/gen/gen_ranger_spec_json.sh
+ * }}}
*
* To regenerate the ranger policy file:
- * KYUUBI_UPDATE=1 build/mvn clean test -Pgen-policy -pl
:kyuubi-spark-authz_2.12 -Dtest=none
- *
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.JsonSpecFileGenerator
+ * {{{
+ * dev/gen/gen_ranger_spec_json.sh
+ * }}}
*/
class JsonSpecFileGenerator extends AnyFunSuite {
@@ -71,9 +73,7 @@ class JsonSpecFileGenerator extends AnyFunSuite {
val existedFileContent =
FileUtils.readFileToString(filePath.toFile, StandardCharsets.UTF_8)
withClue(s"Check $filename failed. Please regenerate the ranger policy
file by running"
- + "`KYUUBI_UPDATE=1 build/mvn clean test -Pgen-policy"
- + " -pl :kyuubi-spark-authz_2.12 -Dtest=none"
- + "
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.gen.JsonSpecFileGenerator`.")
{
+ + " `dev/gen/gen_ranger_spec_json.sh`.") {
assert(generatedStr.equals(existedFileContent))
}
}
diff --git
a/extensions/spark/kyuubi-spark-connector-tpcds/src/test/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSQuerySuite.scala
b/extensions/spark/kyuubi-spark-connector-tpcds/src/test/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSQuerySuite.scala
index 83679989a..d566e12a4 100644
---
a/extensions/spark/kyuubi-spark-connector-tpcds/src/test/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSQuerySuite.scala
+++
b/extensions/spark/kyuubi-spark-connector-tpcds/src/test/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSQuerySuite.scala
@@ -32,18 +32,12 @@ import
org.apache.kyuubi.spark.connector.common.LocalSparkSession.withSparkSessi
/**
* To run this test suite:
* {{{
- * build/mvn clean install \
- * -pl extensions/spark/kyuubi-spark-connector-tpcds -am \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.spark.connector.tpcds.TPCDSQuerySuite
+ * KYUUBI_UPDATE=0 dev/gen/gen_tpcds_queries.sh
* }}}
*
* To re-generate golden files for this suite:
* {{{
- * KYUUBI_UPDATE=1 build/mvn clean install \
- * -pl extensions/spark/kyuubi-spark-connector-tpcds -am \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.spark.connector.tpcds.TPCDSQuerySuite
+ * dev/gen/gen_tpcds_queries.sh
* }}}
*/
// scalastyle:on line.size.limit
diff --git
a/extensions/spark/kyuubi-spark-connector-tpch/src/test/scala/org/apache/kyuubi/spark/connector/tpch/TPCHQuerySuite.scala
b/extensions/spark/kyuubi-spark-connector-tpch/src/test/scala/org/apache/kyuubi/spark/connector/tpch/TPCHQuerySuite.scala
index 88495f037..ce119f806 100644
---
a/extensions/spark/kyuubi-spark-connector-tpch/src/test/scala/org/apache/kyuubi/spark/connector/tpch/TPCHQuerySuite.scala
+++
b/extensions/spark/kyuubi-spark-connector-tpch/src/test/scala/org/apache/kyuubi/spark/connector/tpch/TPCHQuerySuite.scala
@@ -32,18 +32,12 @@ import
org.apache.kyuubi.spark.connector.common.LocalSparkSession.withSparkSessi
/**
* To run this test suite:
* {{{
- * build/mvn clean install \
- * -pl extensions/spark/kyuubi-spark-connector-tpch -am \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.spark.connector.tpch.TPCHQuerySuite
+ * KYUUBI_UPDATE=0 dev/gen/gen_tpcdh_queries.sh
* }}}
*
* To re-generate golden files for this suite:
* {{{
- * KYUUBI_UPDATE=1 build/mvn clean install \
- * -pl extensions/spark/kyuubi-spark-connector-tpch -am \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.spark.connector.tpch.TPCHQuerySuite
+ * dev/gen/gen_tpcdh_queries.sh
* }}}
*/
// scalastyle:on line.size.limit
diff --git
a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/udf/KyuubiDefinedFunctionSuite.scala
b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/udf/KyuubiDefinedFunctionSuite.scala
index 72f0a198b..7387a7e9b 100644
---
a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/udf/KyuubiDefinedFunctionSuite.scala
+++
b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/udf/KyuubiDefinedFunctionSuite.scala
@@ -28,12 +28,12 @@ import org.apache.kyuubi.{KyuubiFunSuite, MarkdownBuilder,
MarkdownUtils, Utils}
*
* To run the entire test suite:
* {{{
- * build/mvn clean test -pl externals/kyuubi-spark-sql-engine -am
-Pflink-provided,spark-provided,hive-provided
-DwildcardSuites=org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite
+ * KYUUBI_UPDATE=0 dev/gen/gen_kdf.sh
* }}}
*
* To re-generate golden files for entire suite, run:
* {{{
- * KYUUBI_UPDATE=1 build/mvn clean test -pl
externals/kyuubi-spark-sql-engine -am
-Pflink-provided,spark-provided,hive-provided
-DwildcardSuites=org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite
+ * dev/gen/gen_kdf.sh
* }}}
*/
// scalastyle:on line.size.limit
diff --git
a/kyuubi-server/src/test/scala/org/apache/kyuubi/config/AllKyuubiConfiguration.scala
b/kyuubi-server/src/test/scala/org/apache/kyuubi/config/AllKyuubiConfiguration.scala
index 1f4c9e171..0a5329988 100644
---
a/kyuubi-server/src/test/scala/org/apache/kyuubi/config/AllKyuubiConfiguration.scala
+++
b/kyuubi-server/src/test/scala/org/apache/kyuubi/config/AllKyuubiConfiguration.scala
@@ -35,12 +35,12 @@ import org.apache.kyuubi.zookeeper.ZookeeperConf
*
* To run the entire test suite:
* {{{
- * build/mvn clean test -pl kyuubi-server -am
-Pflink-provided,spark-provided,hive-provided -Dtest=none
-DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
+ * KYUUBI_UPDATE=0 dev/gen/gen_all_config_docs.sh
* }}}
*
* To re-generate golden files for entire suite, run:
* {{{
- * KYUUBI_UPDATE=1 build/mvn clean test -pl kyuubi-server -am
-Pflink-provided,spark-provided,hive-provided -Dtest=none
-DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
+ * dev/gen/gen_all_config_docs.sh
* }}}
*/
// scalastyle:on line.size.limit
diff --git
a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/tpcds/OutputSchemaTPCDSSuite.scala
b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/tpcds/OutputSchemaTPCDSSuite.scala
index 80ed6bb17..d17623fcf 100644
---
a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/tpcds/OutputSchemaTPCDSSuite.scala
+++
b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/tpcds/OutputSchemaTPCDSSuite.scala
@@ -31,16 +31,12 @@ import org.apache.kyuubi.tags.DeltaTest
/**
* To run this test suite:
* {{{
- * build/mvn clean install \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
+ * KYUUBI_UPDATE=0 dev/gen/gen_tpcds_output_schema.sh
* }}}
*
* To re-generate golden files for this suite:
* {{{
- * KYUUBI_UPDATE=1 build/mvn clean install \
- * -Dmaven.plugin.scalatest.exclude.tags="" \
- * -Dtest=none
-DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
+ * dev/gen/gen_tpcds_output_schema.sh
* }}}
*/
// scalastyle:on line.size.limit