wmoustafa commented on PR #4925:
URL: https://github.com/apache/iceberg/pull/4925#issuecomment-1284470303

   > Not exposed currently. Do you have a use case? What do u need in the API 
to achieve it?
   
   I do not necessarily have a use case, but was trying to understand the API 
contracts. It sounds like something that should be either explicitly supported 
or not supported by the API (i.e., without having to introduce a backward 
incompatibility in the future to support it), and probably we should show a 
pathway for this API to be compatible with the spec.
   
   As a follow up, in case both multiple representations could share the same 
version, and additional representations could end up with a new version, 
semantically what does a new version mean? Is it an addition to the previous 
version, or a replacement? For example, if I add the Spark representation in 
one version and the equivalent Trino representation in another (with different 
syntax), is it allowed? Should Spark queries start to fail?
   
   > Yes. The current view builder only supports SQLViewRepresentation. For 
other representations, one idea is to add more withXXX methods. Any suggestion?
   
   Just making sure that `withQuery` is the one that signifies the 
`SQLViewRepresentation`. It sounded there was another source that it is a SQL 
view (e.g., the fact that the dialect is Spark). Would be good to find out how 
to normalize those things (so there are not two independent hints about the 
same representation).


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to