Skip to content

Commit

Permalink
Update 1_register_table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ev2900 authored Oct 9, 2024
1 parent 02cfe73 commit f2b238e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1_register_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
query = f"""
CALL glue_catalog.system.register_table(
table => 'icebergregister.registersampledataicebergtable',
metadata_file => 's3://<bucket-name>/iceberg/iceberg.db/sampledataicebergtable/<most-recent-snapshot-file>.metadata.json')
metadata_file => 's3://<bucket-name>/iceberg/iceberg.db/sampledataicebergtable/metadata/<most-recent-snapshot-file>.metadata.json')
"""

spark.sql(query)

0 comments on commit f2b238e

Please sign in to comment.