[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to