You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/06/05 20:18:00 UTC

[jira] [Resolved] (SPARK-8107) sqlContext.table() should be able to take a database name as an additional argument.

     [ https://issues.apache.org/jira/browse/SPARK-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yin Huai resolved SPARK-8107.
-----------------------------
    Resolution: Duplicate

> sqlContext.table() should be able to take a database name as an additional argument.
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-8107
>                 URL: https://issues.apache.org/jira/browse/SPARK-8107
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Doug Balog
>
> sqlContext table should take an addition argument to specify a databaseName.
> {code}
> def table(databaseName: String, tableName: String): DataFrame =
>   DataFrame(this, catalog.lookupRelation(Seq(databaseName,tableName)))
> {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