Merge operation with ouputMode update in autoloader databricks
Hi team,I am trying to do merge operation along with outputMode('update') and foreachmode byusing below code but it is not updating data could you please any help on this?output=(casting_df.writeStream.format('delta').trigger(availableNow=True).optio...
- 276 Views
- 2 replies
- 0 kudos
- 0 kudos
Hi @db_knowledge Please try .foreachBatch(upsertToDelta) instead of creating the lambda inside it. Best, Alessandro
- 0 kudos