HyukjinKwon commented on a change in pull request #26657:
[SPARK-29981][SQL][FOLLOWUP] Fix failing to run SQLQueryTestSuite
URL: https://github.com/apache/spark/pull/26657#discussion_r350079846
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
##########
@@ -43,24 +43,30 @@ import org.apache.spark.tags.ExtendedSQLTest
*
* To run the entire test suite:
* {{{
- * build/sbt "sql/test-only *SQLQueryTestSuite"
+ * build/sbt -Phive-1.2 "sql/test-only *SQLQueryTestSuite"
* }}}
*
* To run a single test file upon change:
* {{{
- * build/sbt "~sql/test-only *SQLQueryTestSuite -- -z inline-table.sql"
+ * build/sbt -Phive-1.2 "~sql/test-only *SQLQueryTestSuite -- -z
inline-table.sql"
* }}}
*
* To re-generate golden files for entire suite, run:
* {{{
- * SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/test-only *SQLQueryTestSuite"
+ * SPARK_GENERATE_GOLDEN_FILES=1 build/sbt -Phive-1.2 "sql/test-only
*SQLQueryTestSuite"
* }}}
*
* To re-generate golden file for a single test, run:
* {{{
- * SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/test-only *SQLQueryTestSuite
-- -z describe.sql"
+ * SPARK_GENERATE_GOLDEN_FILES=1 build/sbt -Phive-1.2 "sql/test-only
*SQLQueryTestSuite --
+ * -z describe.sql"
* }}}
*
+ * Change profiles:
Review comment:
Plus about the default profile (and it will become obsolete), such
documentation should better go to somewhere related to Spark build or testing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]