gravitino icon indicating copy to clipboard operation
gravitino copied to clipboard

[Bug report] The Iceberg REST server config interface shouldn't return view endpoints for JDBC catalog with v0 schema version

Open FANNG1 opened this issue 2 months ago • 1 comments

Version

main branch

Describe what's wrong

JDBC catalog starts to support the view operation from the v1 schema version, so config interface shouldn't return view endpoints for JDBC catalog with v0 schema version

Related code

Iceberg config interface check whether the catalog backend supports view operation in https://github.com/apache/gravitino/blob/aab665d9ce6ae6c1ebf2dc47a28e89d2db292672/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java#L134

For JDBC catalog we should check whether the schema version is great than 0.

Error message and/or stacktrace

no

How to reproduce

no

Additional context

No response

FANNG1 avatar Oct 28 '25 04:10 FANNG1

@sunxiaojian could you plz cherry-pick the PR to branch-1.0? thx

mchades avatar Nov 07 '25 03:11 mchades