Apache X table with Snowflake and glue #571
Replies: 2 comments 1 reply
-
@soumilshah1995 since Iceberg is the source, it is required to already be in the Glue Catalog for Iceberg. Can you validate that the naming matches? |
Beta Was this translation helpful? Give feedback.
-
Hi there,
After creating the table, I ran a sync command to build the metadata in Snowflake using the following command:
Now, I want to perform a second sync to register this metadata in AWS Glue without needing to run the Glue crawlers. The table was created in Snowflake as a managed Iceberg table, and I initially used snowflake_catalog.yaml and config.yaml to set up the metadata.
My question: Is it possible to run the second sync to register the metadata in Glue directly using these files without triggering Glue crawlers? OR catalog.template.yaml
glue_catalog_sync.yaml
Can I run Both together ? is there a way to sync to multiple catalog ? Thank you! |
Beta Was this translation helpful? Give feedback.
-
I am able to sync items from snowflake and build metadata for other table formats
CMD ["java", "-cp", "iceberg-spark-runtime-3.3_2.12-1.4.2.jar:xtable-utilities-0.1.0-SNAPSHOT-bundled.jar:snowflake-jdbc-3.13.28.jar:iceberg-aws-1.4.2.jar:bundle-2.23.9.jar", "org.apache.xtable.utilities.RunSync", "--datasetConfig", "config.yaml", "--icebergCatalogConfig", "snowflake_catalog.yaml"]
![image](https://private-user-images.githubusercontent.com/39345855/380893241-872ee1ad-c75c-4a1a-b524-e69d912b175b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzI3NDMsIm5iZiI6MTczOTEzMjQ0MywicGF0aCI6Ii8zOTM0NTg1NS8zODA4OTMyNDEtODcyZWUxYWQtYzc1Yy00YTFhLWI1MjQtZTY5ZDkxMmIxNzViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDIwMjA0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRlMWI4NGE4MzNjMjU1MDQwMzg3ZjI0N2E0MDViMDJmYTk1YzVmN2Q2NWJlMzNiMWFhMzM1YjY1MWNjOWFmZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uCzij61a8KNT1FV-vDmWNBGU2uXCZDA2XpgSyZavp94)
Now I want to sync with glue catalog
glue_config.yaml
glue_catalog_sync.yaml
CMD ["java", "-cp", "iceberg-spark-runtime-3.3_2.12-1.4.2.jar:xtable-utilities-0.1.0-SNAPSHOT-bundled.jar:snowflake-jdbc-3.13.28.jar:iceberg-aws-1.4.2.jar:bundle-2.23.9.jar", "org.apache.xtable.utilities.RunSync", "--datasetConfig", "glue_config.yaml", "--icebergCatalogConfig", "glue_catalog_sync.yaml"]
question I dont want to use glue crawler can I do so using above ?
Beta Was this translation helpful? Give feedback.
All reactions