You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2018/10/22 18:35:00 UTC
[jira] [Resolved] (SPARK-20055) Documentation for CSV datasets in
SQL programming guide
[ https://issues.apache.org/jira/browse/SPARK-20055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-20055.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
The original PR was merged at 2.3.0. The further improvement will be handled in another issue.
> Documentation for CSV datasets in SQL programming guide
> -------------------------------------------------------
>
> Key: SPARK-20055
> URL: https://issues.apache.org/jira/browse/SPARK-20055
> Project: Spark
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 2.2.0
> Reporter: Hyukjin Kwon
> Priority: Major
> Fix For: 2.3.0
>
>
> I guess things commonly used and important are documented there rather than documenting everything and every option in the programming guide - http://spark.apache.org/docs/latest/sql-programming-guide.html.
> It seems JSON datasets http://spark.apache.org/docs/latest/sql-programming-guide.html#json-datasets are documented whereas CSV datasets are not.
> Nowadays, they are pretty similar in APIs and options. Some options are notable for both, In particular, ones such as {{wholeFile}}. Moreover, several options such as {{inferSchema}} and {{header}} are important in CSV that affect the type/column name of data.
> In that sense, I think we might better document CSV datasets with some examples too because I believe reading CSV is pretty much common use cases.
> Also, I think we could also leave some pointers for options of API documentations for both (rather than duplicating the documentation).
> So, my suggestion is,
> - Add CSV Datasets section.
> - Add links for options for both JSON and CSV that point each API documentation
> - Fix trivial minor fixes together in both sections.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org