Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes to fix the documentation in order to mention the short names can be used for other external data sources as well (not only built-in ones).

How was this patch tested?

Manually built the docs.

Before

2016-10-19 9 41 52

After

2016-10-19 10 07 30

@HyukjinKwon
Copy link
Member Author

HyukjinKwon commented Oct 19, 2016

Please let me cc @weiqingy and @rxin as we talked/knew about this.

@SparkQA
Copy link

SparkQA commented Oct 19, 2016

Test build #67158 has finished for PR 15540 at commit 0945a7a.

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

names (`json`, `parquet`, `jdbc`, `orc`, `libsvm`, `csv`, `text`). DataFrames loaded from any data
source type can be converted into other types using this syntax.
name (i.e., `org.apache.spark.sql.parquet`) or short name specified in
`DataSourceRegister.shortName()` in their implementation. For built-in sources you can use their
Copy link
Contributor

Choose a reason for hiding this comment

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

hm this isn't clear to the end user at all, since there is no class called DataSourceRegister even in the source code for data sources. I'd just leave it out. It should be the job of the data source to tell users how to use it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense. Thank you for your quick response.

@HyukjinKwon HyukjinKwon deleted the minor-doc branch January 2, 2018 03:44
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