You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/11/30 07:36:27 UTC

[GitHub] [iceberg] JanKaul opened a new issue, #6315: [REST] Add support for Iceberg Views in Catalog REST API

JanKaul opened a new issue, #6315:
URL: https://github.com/apache/iceberg/issues/6315

   ### Feature Request / Improvement
   
   ## Background
   
   Table or view references in a SQL statement are typically resolved by looking up the reference in a catalog. Before that the query engine doesn't know whether the reference is a table or a view.
   
   ## Expected behavior
   
   When looking up a table/view reference with the REST catalog, the response should return table metadata it the reference is a table and view metadata if the reference is a view.
   
   ## Current behavior
   
   Currently the Catalog REST API is designed to only return iceberg tables. References that target views are not supported. I think the API should be designed in a way that enables adding support for views. The support doesn't have to be incorporated now, but the API should be designed in a way that the support could be added later on without breaking backwards compatibility of the API.
   
   One way of doing this could be to return a `oneOf` of a `table` type, which could be extended in the future to also return a `view` type.
   
   ### Query engine
   
   _No response_


-- 
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-unsubscribe@iceberg.apache.org.apache.org

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


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


[GitHub] [iceberg] github-actions[bot] commented on issue #6315: [REST] Design Catalog REST API in a way that enables adding Iceberg Views in the future

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6315:
URL: https://github.com/apache/iceberg/issues/6315#issuecomment-1605787375

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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-unsubscribe@iceberg.apache.org

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


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


[GitHub] [iceberg] github-actions[bot] commented on issue #6315: [REST] Design Catalog REST API in a way that enables adding Iceberg Views in the future

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6315:
URL: https://github.com/apache/iceberg/issues/6315#issuecomment-1585869388

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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-unsubscribe@iceberg.apache.org

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


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


[GitHub] [iceberg] github-actions[bot] closed issue #6315: [REST] Design Catalog REST API in a way that enables adding Iceberg Views in the future

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6315: [REST] Design Catalog REST API in a way that enables adding Iceberg Views in the future
URL: https://github.com/apache/iceberg/issues/6315


-- 
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-unsubscribe@iceberg.apache.org

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


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