You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/07/15 14:41:00 UTC

[jira] [Assigned] (SPARK-24810) Fix paths to resource files in AvroSuite

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

Apache Spark reassigned SPARK-24810:
------------------------------------

    Assignee:     (was: Apache Spark)

> Fix paths to resource files in AvroSuite
> ----------------------------------------
>
>                 Key: SPARK-24810
>                 URL: https://issues.apache.org/jira/browse/SPARK-24810
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Maxim Gekk
>            Priority: Minor
>         Attachments: Screen Shot 2018-07-15 at 15.28.13.png
>
>
> Currently paths to tests files from resource folder are relative in AvroSuite. It causes problems like impossibility for running tests from IDE. Need to wrap test files by:
> {code:scala}
> def testFile(fileName: String): String = {
>     Thread.currentThread().getContextClassLoader.getResource(fileName).toString
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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