You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "danielcweeks (via GitHub)" <gi...@apache.org> on 2024/02/02 19:01:15 UTC

[PR] Add REST spec for data access mechanisms [iceberg]

danielcweeks opened a new pull request, #9628:
URL: https://github.com/apache/iceberg/pull/9628

   This PR add an optional header so that clients can provide information to the REST server related to which data access mechanisms they support.
   


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


Re: [PR] Add REST spec for data access mechanisms [iceberg]

Posted by "rdblue (via GitHub)" <gi...@apache.org>.
rdblue commented on code in PR #9628:
URL: https://github.com/apache/iceberg/pull/9628#discussion_r1476850002


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1453,6 +1456,23 @@ components:
         type: string
       example: "sales"
 
+    data-access:
+      name: X-Iceberg-Data-Access
+      in: header
+      description: >
+        Optional signal to the server that the client supports data access via
+        a comma-separated list of access mechanisms.  The server may choose to 
+        supply access via any or none of the requested mechanisms.
+      required: false
+      schema:
+        type: string
+        enum:
+          - vended_credentials
+          - remote_signing

Review Comment:
   Enums prefer kebab-case to snake_case for consistency throughout.



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


Re: [PR] Add REST spec for data access mechanisms [iceberg]

Posted by "rdblue (via GitHub)" <gi...@apache.org>.
rdblue commented on code in PR #9628:
URL: https://github.com/apache/iceberg/pull/9628#discussion_r1476851450


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1453,6 +1456,23 @@ components:
         type: string
       example: "sales"
 
+    data-access:
+      name: X-Iceberg-Data-Access

Review Comment:
   This doesn't seem like a clear enough noun to me. How about `X-Supported-Access-Delegation`? I think it should be clear that these are access patterns or methods that are supported by the client. It's also for metadata access as well (manifests and manifest lists). I think having Iceberg in there is nice, but probably not necessary if it is getting too long.



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


Re: [PR] Add REST spec for data access mechanisms [iceberg]

Posted by "danielcweeks (via GitHub)" <gi...@apache.org>.
danielcweeks commented on code in PR #9628:
URL: https://github.com/apache/iceberg/pull/9628#discussion_r1476859199


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1453,6 +1456,23 @@ components:
         type: string
       example: "sales"
 
+    data-access:
+      name: X-Iceberg-Data-Access

Review Comment:
   Updated to `X-Iceberg-Access-Delegation`.  I think it's important to keep `X-Iceberg` as the prefix so there isn't confusion around what the header relates to (pretty standard convention).



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


Re: [PR] Add REST spec for data access mechanisms [iceberg]

Posted by "danielcweeks (via GitHub)" <gi...@apache.org>.
danielcweeks merged PR #9628:
URL: https://github.com/apache/iceberg/pull/9628


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


Re: [PR] Add REST spec for data access mechanisms [iceberg]

Posted by "danielcweeks (via GitHub)" <gi...@apache.org>.
danielcweeks commented on code in PR #9628:
URL: https://github.com/apache/iceberg/pull/9628#discussion_r1476857183


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1453,6 +1456,23 @@ components:
         type: string
       example: "sales"
 
+    data-access:
+      name: X-Iceberg-Data-Access
+      in: header
+      description: >
+        Optional signal to the server that the client supports data access via
+        a comma-separated list of access mechanisms.  The server may choose to 
+        supply access via any or none of the requested mechanisms.
+      required: false
+      schema:
+        type: string
+        enum:
+          - vended_credentials
+          - remote_signing

Review Comment:
   done



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