Check for details in Glue Catalog and tell if its outdated
Project description
Check Glue Catalog
Get Glue catalog details to check if tables are outdated.
pip install check-glue-catalog
from check_glue_catalog import get_tables
result = get_tables(catalog_name="glue_database_name")
print(result)
{
"outdated": 3,
"updated": 23,
"outdated_list": [
{
"table_name": "table_name_1",
"due_days": 2,
"rows": "7",
"last_updated": "2020-03-10 05:43:37"
},
{
"table_name": "other_table",
"due_days": 76,
"rows": "5",
"last_updated": "2019-12-27 11:08:13"
},
{
"table_name": "some_table",
"due_days": 97,
"rows": "5",
"last_updated": "2019-12-06 16:22:52"
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for check_glue_catalog-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8859c879b2e3d2fb901b44c7ac0a77187354c61abc0c5da43ec5d076dc93c8f2 |
|
MD5 | dfd58b5e655e5333b41ee946dd2b75d7 |
|
BLAKE2b-256 | c35fd9e9903b332f40eed2fa1361c9227f673f8339aa4a6a439f4e0af304e1cb |