You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "FANNG1 (via GitHub)" <gi...@apache.org> on 2025/06/10 09:54:14 UTC

[PR] add sr document [gravitino]

FANNG1 opened a new pull request, #7367:
URL: https://github.com/apache/gravitino/pull/7367

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   (Please outline the changes and how this PR fixes the issue.)
   
   ### Why are the changes needed?
   
   (Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, describe the bug.)
   
   Fix: #(issue)
   
   ### Does this PR introduce _any_ user-facing change?
   
   (Please list the user-facing changes introduced by your change, including
     1. Change in user-facing APIs.
     2. Addition or removal of property keys.)
   
   ### How was this patch tested?
   
   (Please test your changes, and provide instructions on how to test it:
     1. If you add a feature or fix a bug, add a test to cover your changes.
     2. If you fix a flaky test, repeat it for many times to prove it works.)
   


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks and Doris [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#issuecomment-2965776420

   > Do you also need to verify the Apache Doris and add the doc?
   
   update with Apache Doris integrate document, please review again.


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks and Doris [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#discussion_r2142229882


##########
docs/iceberg-rest-service.md:
##########
@@ -439,6 +439,66 @@ DELETE FROM rest.dml.test WHERE id = 2;
 SELECT * FROM test;
 ```
 
+## Exploring the Apache Gravitino Iceberg REST catalog service with Apache Doris
+
+### Creating Iceberg catalog in Apache Doris
+
+```
+CREATE CATALOG iceberg PROPERTIES (
+    "uri" = "http://localhost:9001/iceberg/",
+    "type" = "iceberg",
+    "iceberg.catalog.type" = "rest",
+    "s3.endpoint" = "http://s3.ap-southeast-2.amazonaws.com",
+    "s3.region" = "ap-southeast-2",
+    "s3.access_key" = "xxx",
+    "s3.secret_key" = "xxx"

Review Comment:
   Doesn't Apache Doris need the `client.factory` like StarRocks?



-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks and Doris [gravitino]

Posted by "shaofengshi (via GitHub)" <gi...@apache.org>.
shaofengshi commented on PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#issuecomment-2995295565

   This is nice, will help many doris/sr users.


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks and Doris [gravitino]

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


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks and Doris [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#discussion_r2143978760


##########
docs/iceberg-rest-service.md:
##########
@@ -439,6 +439,66 @@ DELETE FROM rest.dml.test WHERE id = 2;
 SELECT * FROM test;
 ```
 
+## Exploring the Apache Gravitino Iceberg REST catalog service with Apache Doris
+
+### Creating Iceberg catalog in Apache Doris
+
+```
+CREATE CATALOG iceberg PROPERTIES (
+    "uri" = "http://localhost:9001/iceberg/",
+    "type" = "iceberg",
+    "iceberg.catalog.type" = "rest",
+    "s3.endpoint" = "http://s3.ap-southeast-2.amazonaws.com",
+    "s3.region" = "ap-southeast-2",
+    "s3.access_key" = "xxx",
+    "s3.secret_key" = "xxx"

Review Comment:
   yes, Doris doesn't need this property.



-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#issuecomment-2958466982

   @shaofengshi @jerryshao PTAL.


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#issuecomment-2961047451

   > Do you also need to verify the Apache Doris and add the doc?
   
   I will test Doris later. Do you think we should add the Doris integration document to this PR as well?


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [PR] [#7368] docs(iceberg): add document about how to use Gravitino IRC in StarRocks [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #7367:
URL: https://github.com/apache/gravitino/pull/7367#issuecomment-2959893891

   Do you also need to verify the Apache Doris and add the doc?


-- 
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: commits-unsubscribe@gravitino.apache.org

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