You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/12/21 14:27:33 UTC

[GitHub] [iceberg] kmozaid commented on issue #6453: Iceberg delete-append causing snapshot error

kmozaid commented on issue #6453:
URL: https://github.com/apache/iceberg/issues/6453#issuecomment-1361381099

   I think, you should create `inflated_df` as -
   ```
   spark.read().format("iceberg")
       .option(SparkReadOptions.AS_OF_TIMESTAMP, "2022-12-19 06:13:02")
       .load("glue_dev.datalakectxsort.clinicalprescription")
       .createOrReplaceTempView("clinicalprescription_before_delete");
   
   inflate_sql = "select <inflated_projection> from clinicalprescription_before_delete target join source on target._context_id_ = cast(source._context_id_ as decimal(12, 0)) and target.id = cast(source.id  as decimal(12, 0))"
   
   inflated_df = spark.sql(inflate_sql)
   ```


-- 
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-unsubscribe@iceberg.apache.org

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


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