zhangbutao commented on PR #6088: URL: https://github.com/apache/hive/pull/6088#issuecomment-3365797008
> @zhangbutao I think we need a default database created whenever a user creates new catalog so that ideally when a user switches catalog, we point to the default database within it What do you think ? @Neer393 Currently, when a new catalog is created, a default database will also be created. When a user switches catalogs using `SET CATALOG catName`, it should not point to the `default database` by default. The user should explicitly specify a database through `USE dbName` or `USE catName.dbName xxx` to maintain maximum compatibility with previous usage patterns. Please check **catalog_database.q** https://github.com/apache/hive/pull/6088/files#diff-0a99f71cb21eb68f9efe36ff59f2005f696ef9ea6b660aef5cc184152018f79b -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
