You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/11/06 07:59:58 UTC

[jira] [Updated] (SPARK-18292) LogicalPlanToSQLSuite should not use resource dependent path for golden file generation

     [ https://issues.apache.org/jira/browse/SPARK-18292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-18292:
----------------------------------
    Affects Version/s: 2.0.1
          Component/s: SQL

> LogicalPlanToSQLSuite should not use resource dependent path for golden file generation
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-18292
>                 URL: https://issues.apache.org/jira/browse/SPARK-18292
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.1
>            Reporter: Dongjoon Hyun
>
> `LogicalPlanToSQLSuite` uses the following command to update the existing answer files.
> {code}
> SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "hive/test-only *LogicalPlanToSQLSuite"
> {code}
> However, after introducing `getTestResourcePath`, it fails to update the previous golden answer files in the predefined directory. This issue aims to fix that by recovering the original path.
> {code}
> -  private val goldenSQLPath = getTestResourcePath("sqlgen")
> +  private val goldenSQLPath = "src/test/resources/sqlgen/"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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