GitHub user MaxGekk opened a pull request:
https://github.com/apache/spark/pull/21773
[SPARK-24810][SQL] Fix paths to test files in AvroSuite
## What changes were proposed in this pull request?
In the PR, I propose to move `testFile()` to the common trait
`SQLTestUtilsBase` and wrap test files in `AvroSuite` by the method
`testFile()` which returns full paths to test files in the resource folder.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MaxGekk/spark-1 test-file
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21773.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21773
----
commit e2df80e448ee9373b32b3358d35b1f9013946517
Author: Maxim Gekk <maxim.gekk@...>
Date: 2018-07-15T14:19:21Z
Using testFile across Avro, CSV, Json and Text datasources
commit d6ac418bf80a346703c494e2cd803995d1ca57e5
Author: Maxim Gekk <maxim.gekk@...>
Date: 2018-07-15T14:21:57Z
Comment for testFile
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]