Hi, Yong:

Thanks for reporting this.

Do you think iceberg needs to standardize the REST spec to make sure the
> logic is the same for using the SupportsNamespace interface?


Yes, I think it's valuable. I remember @Jean-Baptiste Onofré
<j...@nanthrax.net> had a proposal for TCK of rest catalog, and this case
shows that TCK has a lot of merit.

On Wed, Jul 10, 2024 at 5:47 PM Yong Zhang <zhangyong1025...@gmail.com>
wrote:

> Hi all,
>
> When I was using the SupportsNamespaces to do the namespace
> create and exists check with other catalog services that implement
> the Iceberg REST API, I found it has different results with different
> catalog services. Iceberg has provided a standard API to do the
> namespace operations, but seems iceberg does not have a standard
> spec on the REST API implementation. That makes the other catalog
> services implement differently and then breaks the SupportsNamespace
> interface usage.
>
> Do you think iceberg needs to standardize the REST spec to make sure the
> logic is the same for using the SupportsNamespace interface?
> Otherwise, the SupportsNamespace interface is meaningless because the
> client
> needs to handle different logic to create a namespace or other operations
> when using different catalog.
>
> For example, Nessie doesn't support auto-creating parent namespace:
> https://github.com/apache/iceberg/pull/10630
> But the JDBC catalog supports it.
>
> Thanks.
> Yong
>
>

Reply via email to