suisenkotoba commented on issue #9960: URL: https://github.com/apache/iceberg/issues/9960#issuecomment-1999144318
> you're performing an UPDATE against a non-Iceberg table. hmm that's strange. the table is created like this: ``` ddl = f""" CREATE TABLE IF NOT EXISTS {table_name} USING iceberg TBLPROPERTIES ('format-version'='2', 'write.parquet.compression-codec'='snappy', 'write.delete.mode'='copy-on-write', 'write.update.mode'='copy-on-write',, 'write.merge.mode'='copy-on-write',, 'write.metadata.delete-after-commit.enabled'=true, 'write.metadata.previous-versions-max'=50, 'history.expire.min-snapshots-to-keep'=50, 'history.expire.max-snapshot-age-ms'=86400000, 'write.distribution-mode'='hash', 'write.merge.distribution-mode'='hash' ) AS ( SELECT {table_columns}, TO_TIMESTAMP(timestamp/1000) start_at, is_current, CURRENT_TIMESTAMP() ingested_at FROM {{df}} ) """ spark.sql(ddl, df=df) ``` @nastra how can I make sure if the table is an iceberg table? -- 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