GitHub user yhuai opened a pull request:

    https://github.com/apache/spark/pull/8324

    [SPARK-10092] [SQL] Multi-DB support follow up.

    https://issues.apache.org/jira/browse/SPARK-10092
    
    This pr is a follow-up one for Multi-DB support. It has the following 
changes:
    
    * `Hive.Context.refreshTable` now accepts `dbName.tableName`.
    * `Hive.Context.analyze` now accepts `dbName.tableName`.
    * `CreateTableUsing`, `CreateTableUsingAsSelect`, `CreateTempTableUsing`, 
`CreateTempTableUsingAsSelect`, `CreateMetastoreDataSource`, and 
`CreateMetastoreDataSourceAsSelect` all take `TableIdentifier` instead of the 
string representation of table name.
    * When you call `saveAsTable` with a specified database, the data will be 
saved to the correct location.
    * Explicitly do not allow user to create a temporary with a specified 
database name (users cannot do it before).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yhuai/spark saveAsTableDB

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8324.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8324
    
----
commit 8a62b769c98d4ef22e578c73a01e2311ceca64e8
Author: Yin Huai <[email protected]>
Date:   2015-08-19T23:54:24Z

    Multi-db support follow up.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to