mchades opened a new issue, #14952:
URL: https://github.com/apache/gravitino/issues/14952

   ### What would you like to be improved?
   
   Gravitino currently validates Semantic Model `primaryKey`, `uniqueKeys`, and 
relationship `fromColumns`/`toColumns` against the physical columns of the 
datasets' source tables or views.
   
   The latest Apache Ossie core spec (0.3.0.dev0) now defines an explicit Name 
Resolution contract (apache/ossie#486): these references name fields declared 
in `datasets[].fields`, not columns of the datasets' sources. Dataset fields 
are the public interface — nothing reaches through a dataset to its source 
columns, and a dataset that declares no fields exposes no names to keys or 
relationships. Field expressions resolve against source columns. Upstream marks 
this as a breaking change.
   
   ### How should we improve?
   
   - Resolve `primaryKey`/`uniqueKeys` against the declaring dataset's fields 
and `fromColumns`/`toColumns` against the `from`/`to` datasets' fields in the 
model-local validator (case-insensitive, matching upstream).
   - Keep catalog-backed source validation limited to source existence, 
supported entity type, caller authorization, and source identity; stop reading 
physical column metadata for key and join checks.
   - Update API javadocs, user docs, OpenAPI descriptions and examples, the Web 
UI validator, and tests to match.


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

Reply via email to