laserninja commented on PR #11828:
URL: https://github.com/apache/gravitino/pull/11828#issuecomment-4862360955

   Thanks for the concrete example @lasdf1234! Updated in 7a87521 to follow the 
`registerTable`-style pattern you outlined:
   
   - Moved the `EntityStore` existence check into `registerView` via a new 
`hasViewEntityInStore()` helper. When the view is already tracked in Gravitino, 
we now return early — skipping **both** the import and `setViewOwner` — so the 
existing `view_id` and role/owner/tag/policy bindings are preserved.
   - Simplified `importViewForRegister()` to only perform the import (still 
fails hard on error).


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

Reply via email to