tanmayrauth opened a new pull request, #963:
URL: https://github.com/apache/iceberg-go/pull/963

   [3: Namespace 
operations](https://github.com/apache/iceberg-go/issues/798#issuecomment-4320784323)
   Implement all six namespace interface methods. CreateNamespace uses 
os.MkdirAll and errors if the directory already exists or if non-empty 
properties are passed. DropNamespace checks that there are no tables or child 
namespaces before calling os.Remove. CheckNamespaceExists uses os.Stat. 
ListNamespaces reads directory entries and filters out table dirs via 
isTableDir. LoadNamespaceProperties returns a synthetic {"location": path} (not 
persisted). UpdateNamespaceProperties returns an unsupported error. Tests cover 
create, create duplicate, create nested (a.b.c), create with properties 
(error), drop, drop non-existent, drop non-empty with tables and child 
namespaces, list empty and mixed entries, check exists, load properties, and 
update properties error.
   
   Relates to #798
   
    


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