Skip to content

Conversation

@gengliangwang
Copy link
Member

@gengliangwang gengliangwang commented Jan 30, 2019

What changes were proposed in this pull request?

In #23639, the API supportDataType is refactored. We should also remove the method verifyWriteSchema and verifyReadSchema in DataSourceUtils.

Since the error message use FileFormat.toString to specify the data source naming, this PR also overriding the toString method in AvroFileFormat.

How was this patch tested?

Unit test.

@gengliangwang
Copy link
Member Author

@cloud-fan @dongjoon-hyun

@SparkQA
Copy link

SparkQA commented Jan 30, 2019

Test build #101893 has finished for PR 23699 at commit 2052c9f.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 30, 2019

Test build #101896 has finished for PR 23699 at commit 5bcb6c5.

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

@cloud-fan
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Jan 31, 2019

Test build #101928 has finished for PR 23699 at commit 30a318b.

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

@SparkQA
Copy link

SparkQA commented Jan 31, 2019

Test build #101930 has finished for PR 23699 at commit 30a318b.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 308996b Jan 31, 2019
@HyukjinKwon HyukjinKwon changed the title [FollowUp][SPARK-26716][SPARK-26765][SQL] Clean up schema validation methods and override toString method in Avro [SPARK-26716][SPARK-26765][FOLLOWUP][SQL] Clean up schema validation methods and override toString method in Avro Jan 31, 2019
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
…methods and override toString method in Avro

## What changes were proposed in this pull request?

In apache#23639, the API `supportDataType` is refactored. We should also remove the method `verifyWriteSchema` and `verifyReadSchema` in `DataSourceUtils`.

Since the error message use `FileFormat.toString` to specify the data source naming,  this PR also overriding the `toString` method in `AvroFileFormat`.

## How was this patch tested?

Unit test.

Closes apache#23699 from gengliangwang/SPARK-26716-followup.

Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
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