Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-25002][SQL] Avro: revise the output record namespace #21974

Closed
wants to merge 1 commit into from

Conversation

gengliangwang
Copy link
Member

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:

linkedin/goavro#96

How was this patch tested?

Unit test

@SparkQA
Copy link

SparkQA commented Aug 2, 2018

Test build #94035 has finished for PR 21974 at commit 70ceb84.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@asfgit asfgit closed this in f45d60a Aug 3, 2018
otterc pushed a commit to linkedin/spark that referenced this pull request Mar 22, 2023
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:

linkedin/goavro#96

Unit test

Author: Gengliang Wang <gengliang.wang@databricks.com>

Closes apache#21974 from gengliangwang/avro_namespace.

(cherry picked from commit f45d60a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants