jurossiar opened a new issue, #10443:
URL: https://github.com/apache/iceberg/issues/10443
### Apache Iceberg version
1.5.0
### Query engine
None
### Please describe the bug 🐞
We have the rest catalog configured with a Postgres DB.
In some cases, where namespaces have similar names, when the parent
namespace is sent are returned namespaces that are not underneath the parent
namespace.
Steps to reproduce it:
1) Namespaces:
- example
- example.auto_rag
- example_auto_rag
- processed
- processed.datapile
- processed.datapile_en.common
E.g. 1) `v1/namespaces?parent=processed%1Fdatapile`
response:
{
"namespaces": [
[
"processed",
"datapile",
"academic"
],
[
"processed",
"datapile_en",
"commoncrawl3"
]
]
}
The second one returned is not a child of the parent one.
E.g.. 2) `v1/namespaces?parent=example_auto_rag`
response:
{
"namespaces": [
[
"example",
"auto_rag"
]
]
}
The returned namespace is not a child of the parent one.
--
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]