AWS Glue Pyspark Fetch Databases and Tables Metadata

aws, glue, spark, python

example AWS Glue pyspark job script that fetches all the catalog databases and tables metadata.

see main.py

Notes

ensure --enable-glue-datacatalog is enabled for glue job to allow spark sql to access metadata catalog

Glue Console Script View