Maxim Gekk created SPARK-24810:
----------------------------------

             Summary: 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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to