samredai opened a new pull request, #4505:
URL: https://github.com/apache/iceberg/pull/4505
This adds the `Namespace` class in `catalog/base.py`.
```py
from iceberg.catalog.base import Namespace
namespace = Namespace("foo", "bar", "baz")
print(namespace) # 'foo.bar.baz'
len(namespace) # 3
hash(namespace) # 1445470134
namespace.level(2) # 'baz'
namespace == namespace # True
namespace.empty() # False
```
--
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]