GitHub user MaxGekk opened a pull request:
https://github.com/apache/spark/pull/21810
[SPARK-24854][SQL] Gathering all Avro options into the AvroOptions class
## What changes were proposed in this pull request?
In the PR, I propose to put all `Avro` options in new class `AvroOptions`
in the same way as for other datasources `JSON` and `CSV`.
## How was this patch tested?
It was tested by `AvroSuite`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MaxGekk/spark-1 avro-options
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21810.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 #21810
----
commit 9da3a98d4e68697a0f4ab2b21be4b6aebeeb25e3
Author: Maxim Gekk <maxim.gekk@...>
Date: 2018-07-18T18:50:37Z
Adding a class for Avro Options
commit 3a76ba2de635fb6f653ee1d814ed0b87bcb12fb6
Author: Maxim Gekk <maxim.gekk@...>
Date: 2018-07-18T21:37:08Z
Gathering all options in AvroOptions
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]