CTTY commented on code in PR #1433: URL: https://github.com/apache/iceberg-rust/pull/1433#discussion_r2138992976
########## crates/iceberg/src/transaction/action.rs: ########## @@ -35,6 +37,9 @@ pub type BoxedTransactionAction = Arc<dyn TransactionAction>; /// to modify the table metadata. #[async_trait] pub(crate) trait TransactionAction: Sync + Send { + /// Returns the action as [`Any`] so it can be downcast to concrete types later + fn as_any(self: Arc<Self>) -> Arc<dyn Any>; + Review Comment: I added this mainly for testing/inspecting the content of applied `TransactionAction` s -- 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