szehon-ho opened a new pull request, #56713:
URL: https://github.com/apache/spark/pull/56713

   ### What changes were proposed in this pull request?
   
   `TxnTableCatalog` (test infrastructure for transactional row-level 
operations) wraps `InMemoryRowLevelOperationTableCatalog` but does not delegate 
`capabilities()`. This means capability-gated features are invisible through 
the transactional wrapper.
   
   Fix by adding: `override def capabilities = delegate.capabilities`
   
   ### Why are the changes needed?
   
   Without this, any capability check on the catalog through the transactional 
wrapper returns an empty set. This blocks testing of capability-gated features 
(like generated column write support) in transactional contexts.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Test infrastructure only.
   
   ### How was this patch tested?
   
   Existing tests pass. This is a prerequisite for testing generated column 
MERGE/UPDATE blocking in SPARK-57644.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-4-6)


-- 
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