Skip to content

Commit

Permalink
fix append for merge in iceberg
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Oct 5, 2023
1 parent 202466f commit bd9744c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlt/destinations/athena/athena.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,10 @@ def create_table_chain_completed_followup_jobs(self, table_chain: Sequence[TTabl
"""Creates a list of followup jobs for merge write disposition and staging replace strategies"""
jobs = super().create_table_chain_completed_followup_jobs(table_chain)

# no jobs if we are merging: TODO: add proper iceberg merge job
# append job if there is a merge TODO: add proper iceberg merge job
write_disposition = table_chain[0]["write_disposition"]
if write_disposition == "merge":
return []
jobs.append(self._create_staging_copy_job(table_chain, False))

# add some additional jobs
write_disposition = table_chain[0]["write_disposition"]
Expand Down

0 comments on commit bd9744c

Please sign in to comment.