Skip to content

Conversation

@gengliangwang
Copy link
Member

What changes were proposed in this pull request?

To implement the method buildReader in FileFormat, it is required to serialize the hadoop configuration for executors.

Previous spark-avro uses its own class SerializableConfiguration for the serialization. As now it is part of Spark, we can use SerializableConfiguration in Spark util to deduplicate the code.

How was this patch tested?

Unit test

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if the tests pass

@SparkQA
Copy link

SparkQA commented Jul 23, 2018

Test build #93441 has finished for PR 21846 at commit a8dd96d.

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

Copy link
Member

@gatorsmile gatorsmile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks! Merged to master

@asfgit asfgit closed this in 08e315f Jul 23, 2018
otterc pushed a commit to linkedin/spark that referenced this pull request Mar 22, 2023
… to deduplicate code

To implement the method `buildReader` in `FileFormat`, it is required to serialize the hadoop configuration for executors.

Previous spark-avro uses its own class `SerializableConfiguration` for the serialization. As now it is part of Spark, we can use SerializableConfiguration in Spark util to deduplicate the code.

Unit test

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

Closes apache#21846 from gengliangwang/removeSerializableConfiguration.

(cherry picked from commit 08e315f)
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.

4 participants