a8356555 commented on issue #8874:
URL: https://github.com/apache/iceberg/issues/8874#issuecomment-1769877830

   provide my catalog and table setting
   ```
   stenv.execute_sql(f'''
       CREATE CATALOG `mycatalog` 
       WITH (
           'type' = 'iceberg',
           'catalog-impl' = 'org.apache.iceberg.aws.glue.GlueCatalog',
           'io-impl' = 'org.apache.iceberg.aws.s3.S3FileIO',  
           'warehouse' = 's3://mywarehouse'
       )
   ''')
   target_table = f"`mycatalog`.`mydb`.`mytable`"
   stenv.execute_sql(f'''
       CREATE TABLE IF NOT EXISTS {target_table} (
           *sql_schema*,
       PRIMARY KEY(`pk`) NOT ENFORCED
       ) 
       PARTITIONED BY (`pk`)
   ''')
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to