You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using this library and we are facing the issue that it tries to access the default database (hardcoded as "default"). Checks for its existence and if does not exist then tries to create it
The problem is that our SRE team does not allow us to access the default database so we dont have the permission glue:GetDatabase on default and this causes the application to fail.
We have configured a different database as default and we were wondering if there is a way to configure the library to avoid the check for default database. There seems a boolean in the builder (createDefaults) that if set would avoid the check for default database altogether, see :
I forked the lib and added a config to remove the check, it also is a perf hit if you are continually checking every time for the default db (even if it exists). In our use case, we always have a specific db+table pair, we never touch default.
We are using this library and we are facing the issue that it tries to access the default database (hardcoded as "default"). Checks for its existence and if does not exist then tries to create it
The problem is that our SRE team does not allow us to access the default database so we dont have the permission glue:GetDatabase on default and this causes the application to fail.
We have configured a different database as default and we were wondering if there is a way to configure the library to avoid the check for default database. There seems a boolean in the builder (createDefaults) that if set would avoid the check for default database altogether, see :
https://github.com/awslabs/aws-glue-data-catalog-client-for-apache-hive-metastore/blob/branch-3.4.0/aws-glue-datacatalog-hive3-client/src/main/java/com/amazonaws/glue/catalog/metastore/AWSCatalogMetastoreClient.java#L274
The problem is that we dont know how to instantiate this library with the boolean in order to avoid the check for default database.
Thanks for the help!
Oscar
The text was updated successfully, but these errors were encountered: