You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/06/05 22:45:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14575189#comment-14575189 ]
Apache Spark commented on SPARK-8107:
-------------------------------------
User 'dougb' has created a pull request for this issue:
https://github.com/apache/spark/pull/6675
> 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