xylaaaaa opened a new pull request, #61355:
URL: https://github.com/apache/doris/pull/61355

   Cherry-pick #58755 to branch-4.0
   
   ### What problem does this PR solve?
   
   - **Issue Number**: part of #58199
   - **Related PR**: #58755
   
   Problem Summary:
   This PR implements the `publish_changes` action for Iceberg tables. This 
action serves as the "Publish" step in the Write-Audit-Publish (WAP) pattern. 
The procedure locates a snapshot tagged with a specific `wap.id` property and 
cherry-picks it into the current table state.
   
   Syntax:
   ```sql
   EXECUTE TABLE catalog.db.table_name publish_changes("wap_id" = "batch_123");
   ```
   
   Output:
   Returns `previous_snapshot_id` (STRING) and `current_snapshot_id` (STRING) 
indicating the state transition.
   
   ### Cherry-pick commit
   
   - `4aa7285b182` - [Feature](Iceberg) Implement publish_changes procedure for 
Iceberg tables (#58755)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to