Created
October 4, 2021 16:30
-
-
Save solebox/a000206d4311e1e786ce398d2bc267f8 to your computer and use it in GitHub Desktop.
How To get a Schema from the glue schema registry using boto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# registry name in glue catalog is test and the name of the schema uploaded is topology :) | |
glue = boto3.client('glue') | |
result = glue.get_schema_version(SchemaId={'SchemaName': 'topology', 'RegistryName': "test"}, SchemaVersionNumber={"LatestVersion": True}) | |
print(result['SchemaDefinition']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment