Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/15789
  
    Hi, @rxin . 
    
    Yep. The actual issue is the current code generates the new golden files in 
the following folder. So, we cannot identify which file is changed and cannot 
commit the newly generated files easily.
    ```
    .../spark/sql/hive/target/scala-2.11/test-classes/sqlgen
    ```
    
    When we added this module initially, we faced the exactly same issue and 
decided to use the absolute path and to assume the following command in the 
source tree root.
    ```
    SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "hive/test-only 
*LogicalPlanToSQLSuite"
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to