[
https://issues.apache.org/jira/browse/SPARK-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Balog updated SPARK-8107:
------------------------------
Description:
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}
was:
sqlContext table should take an addition argument to specify a databaseName.
{quote}
def table(databaseName: String, tableName: String): DataFrame =
DataFrame(this, catalog.lookupRelation(Seq(databaseName,tableName)))
{quote}
> 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: [email protected]
For additional commands, e-mail: [email protected]