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 7d8575b commit 37aa403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1_register_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

query = f"""
CALL glue_catalog.system.register_table(
table => 'b.b',
metadata_file => 's3://b/metadata/Snapshot A.metadata.json'
table => 'icebergregister.registersampledataicebergtable',
metadata_file => 's3://<bucket-name>/metadata/<most-recent-snapshot-file>.metadata.json'
"""

spark.sql(query)

0 comments on commit 37aa403

Please sign in to comment.