[ https://issues.apache.org/jira/browse/SPARK-24810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Gekk updated SPARK-24810: ------------------------------- Attachment: Screen Shot 2018-07-15 at 15.28.13.png > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org