quintoandar / hive-metastore-client

A client for connecting and running DDLs on hive metastore.
Apache License 2.0
52 stars 15 forks source link

[DF-324] Add create_database_if_not_exists method #35

Closed LucasMMota closed 3 years ago

LucasMMota commented 3 years ago

Why? :open_book:

We don't have an option to create a database only if it doesn't exist in the Metastore Server. So this PR creates the create_database_if_not_exists method, simulating this behavior.

What? :wrench:

Type of change :file_cabinet:

How everything was tested? :straight_ruler:

Unit tests + manual test with server

Checklist :memo:

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication