You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "John Muller (JIRA)" <ji...@apache.org> on 2015/04/16 23:03:00 UTC
[jira] [Created] (SPARK-6970) Document what the options:
Map[String, String] does on DataFrame.save and DataFrame.saveAsTable
John Muller created SPARK-6970:
----------------------------------
Summary: Document what the options: Map[String, String] does on DataFrame.save and DataFrame.saveAsTable
Key: SPARK-6970
URL: https://issues.apache.org/jira/browse/SPARK-6970
Project: Spark
Issue Type: Documentation
Components: SQL
Affects Versions: 1.3.0
Reporter: John Muller
The save options on DataFrames are not easily discerned:
[ResolvedDataSource.apply|https://github.com/apache/spark/blob/b75b3070740803480d235b0c9a86673721344f30/sql/core/src/main/scala/org/apache/spark/sql/sources/ddl.scala#L222] is where the pattern match occurs:
{code:title=ddl.scala|borderStyle=solid}
case dataSource: SchemaRelationProvider =>
dataSource.createRelation(sqlContext, new CaseInsensitiveMap(options), schema)
{code}
Implementing classes are currently: TableScanSuite, JSONRelation, and newParquet
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org