You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/01/28 09:50:34 UTC

[jira] [Commented] (SPARK-5420) Cross-langauge load/store functions for creating and saving DataFrames

    [ https://issues.apache.org/jira/browse/SPARK-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294888#comment-14294888 ] 

Reynold Xin commented on SPARK-5420:
------------------------------------

cc [~yhuai]

Table is probably not the best name since this should return a DataFrame. How about

{code}
def loadData(datasource: String, parameters: Map[String, String]): DataFrame
def storeData(datasource: String, parameters: Map[String, String]): DataFrame
{code}

> Cross-langauge load/store functions for creating and saving DataFrames
> ----------------------------------------------------------------------
>
>                 Key: SPARK-5420
>                 URL: https://issues.apache.org/jira/browse/SPARK-5420
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Patrick Wendell
>
> We should have standard API's for loading or saving a table from a data store. One idea:
> {code}
> df = sc.loadTable("path.to.DataSource", {"a": "b", "c": "d"})
> sc.storeTable("path.to.DataSouce", {"a":"b", "c":"d"})
> {code}



--
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