Implement full Database object for Glue get_database() - fix for #3571. (#3572)

* implement potential fix for #3571.

* freeze_time decorator not used in TEST_SERVER_MODE
This commit is contained in:
aaronfowles-emis 2021-01-11 13:10:18 +00:00 committed by GitHub
commit a2246df1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 75 additions and 17 deletions

View file

@ -53,3 +53,16 @@ PARTITION_INPUT = {
# 'TableName': 'source_table',
# 'Values': ['2018-06-26'],
}
DATABASE_INPUT = {
"Name": "testdatabase",
"Description": "a testdatabase",
"LocationUri": "",
"Parameters": {},
"CreateTableDefaultPermissions": [
{
"Principal": {"DataLakePrincipalIdentifier": "a_fake_owner"},
"Permissions": ["ALL"],
},
],
}