GitHub user gengliangwang opened a pull request:
https://github.com/apache/spark/pull/21974
[SPARK-25002][SQL] Avro: revise the output record namespace
## What changes were proposed in this pull request?
Currently the output namespace is starting with ".", e.g. `.topLevelRecord`
Although it is valid according to Avro spec, we should remove the starting
dot in case of failures when the output Avro file is read by other lib:
https://github.com/linkedin/goavro/pull/96
## How was this patch tested?
Unit test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gengliangwang/spark avro_namespace
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21974.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 #21974
----
commit 70ceb84910ae5e7ca8575f72935f2fce41c9c3cb
Author: Gengliang Wang <gengliang.wang@...>
Date: 2018-08-02T16:16:19Z
revise avro namespace
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]