Details
Description
Seems we need a follow-up work for our multi-db support. Here are issues we need to address.
1. saveAsTable always save the table in the folder of the current database
2. HiveContext's refrshTable and analyze do not dbName.tableName.
3. It will be good to use TableIdentifier in CreateTableUsing, CreateTableUsingAsSelect, CreateTempTableUsing, CreateTempTableUsingAsSelect, CreateMetastoreDataSource, and CreateMetastoreDataSourceAsSelect, instead of using string representation (actually, in several places we have already parsed the string and get the TableIdentifier).