Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented May 25, 2016

What changes were proposed in this pull request?

This patch renames various DefaultSources to make their names more self-describing. The choice of "DefaultSource" was from the days when we did not have a good way to specify short names.

They are now named:

  • LibSVMFileFormat
  • CSVFileFormat
  • JdbcRelationProvider
  • JsonFileFormat
  • ParquetFileFormat
  • TextFileFormat

Backward compatibility is maintained through aliasing.

How was this patch tested?

Updated relevant test cases too.

*/
@Since("1.6.0")
class DefaultSource extends FileFormat with DataSourceRegister {
class LibSVMFileFormat extends FileFormat with DataSourceRegister {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add this to backwardCompatibilityMap just to be safe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we can ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it won't be type safe though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i added it

@SparkQA
Copy link

SparkQA commented May 25, 2016

Test build #59308 has finished for PR 13311 at commit fc475ae.

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

@marmbrus
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59310 has finished for PR 13311 at commit b91e442.

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

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59316 has finished for PR 13311 at commit d59d6f6.

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

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59318 has finished for PR 13311 at commit bfe9605.

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

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59327 has finished for PR 13311 at commit 51dcde9.

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

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59326 has finished for PR 13311 at commit eed27f0.

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

@SparkQA
Copy link

SparkQA commented May 26, 2016

Test build #59343 has finished for PR 13311 at commit 94d6e7b.

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

@rxin
Copy link
Contributor Author

rxin commented May 26, 2016

Merging in master/2.0.

asfgit pushed a commit that referenced this pull request May 26, 2016
…ibing

## What changes were proposed in this pull request?
This patch renames various DefaultSources to make their names more self-describing. The choice of "DefaultSource" was from the days when we did not have a good way to specify short names.

They are now named:
- LibSVMFileFormat
- CSVFileFormat
- JdbcRelationProvider
- JsonFileFormat
- ParquetFileFormat
- TextFileFormat

Backward compatibility is maintained through aliasing.

## How was this patch tested?
Updated relevant test cases too.

Author: Reynold Xin <rxin@databricks.com>

Closes #13311 from rxin/SPARK-15543.

(cherry picked from commit 361ebc2)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 361ebc2 May 26, 2016
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