You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Haejoon Lee (Jira)" <ji...@apache.org> on 2022/01/07 02:46:00 UTC

[jira] [Commented] (SPARK-37835) Fix the comments on SQLQueryTestSuite.scala to generate the golden files more gracefully

    [ https://issues.apache.org/jira/browse/SPARK-37835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470310#comment-17470310 ] 

Haejoon Lee commented on SPARK-37835:
-------------------------------------

I'm fixing

> Fix the comments on SQLQueryTestSuite.scala to generate the golden files more gracefully
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-37835
>                 URL: https://issues.apache.org/jira/browse/SPARK-37835
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Haejoon Lee
>            Priority: Major
>
> Currently, the comments on `SQLQueryTestSuite.scala` says:
> {code:java}
>  * To re-generate golden files for entire suite, run:
>  * {{{
>  *   SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly *SQLQueryTestSuite" 
>  * }}} {code}
> But this comment modifies the "-- Automatically generated by SQLQueryTestSuite" part with different test suites names for whole golden files, although the contents of golden files is not modified.
> So, we'd better to recommend to use `org.apache.spark.sql.SQLQueryTestSuite` instead of `*SQLQueryTestSuite`.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org