spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-24810) Fix paths to resource files in AvroSuite
Date Sun, 15 Jul 2018 14:41:00 GMT

     [ 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


Mime
View raw message