You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "jerqi (via GitHub)" <gi...@apache.org> on 2026/01/13 12:53:57 UTC
[PR] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
jerqi opened a new pull request, #9705:
URL: https://github.com/apache/gravitino/pull/9705
### What changes were proposed in this pull request?
Add the Flink using IRC documents
### Why are the changes needed?
Fix: #9704
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Just documents.
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2688673777
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
Review Comment:
I tried this configuration options. It works. I don't know other storage configuration.
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2688673777
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
Review Comment:
I tried this configuration options. 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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2692895942
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
Review Comment:
Iceberg catalog interfaces won't call `Gravitino` to create the catalog. It is just Flink client configurations.
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2688676422
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
+ 'rest.auth.type' = 'basic',
+ 'rest.auth.basic.username' = 'manager',
+ 'rest.auth.basic.password' = 'mock'
+);
+```
+
+After creating the catalog, you can use standard Flink SQL commands to explore and manage your Iceberg tables:
+
+```
+USE CATALOG my_catalog;
+SHOW DATABASES;
+USE default;
+SHOW TABLES;
+CREATE TABLE `my_catalog`.`default`.`sample` (
Review Comment:
I need to create a table before reading and writing.
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2688674940
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
+ 'rest.auth.type' = 'basic',
+ 'rest.auth.basic.username' = 'manager',
+ 'rest.auth.basic.password' = 'mock'
+);
+```
+
+After creating the catalog, you can use standard Flink SQL commands to explore and manage your Iceberg tables:
+
+```
+USE CATALOG my_catalog;
+SHOW DATABASES;
+USE default;
+SHOW TABLES;
+CREATE TABLE `my_catalog`.`default`.`sample` (
Review Comment:
is `necessary?
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 merged PR #9705:
URL: https://github.com/apache/gravitino/pull/9705
--
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] [#9704] improvement(docs): Add the Flink using IRC documents [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #9705:
URL: https://github.com/apache/gravitino/pull/9705#discussion_r2688672204
##########
docs/iceberg-rest-service.md:
##########
@@ -561,6 +561,37 @@ INSERT INTO dml.test VALUES (1), (2);
SELECT * FROM dml.test;
```
+## Apache Flink Integration
+
+You can use Apache Flink to connect to the Gravitino Iceberg REST catalog service. Below is an example of how to create a catalog and access tables using Flink SQL:
+
+```
+CREATE CATALOG my_catalog WITH (
+ 'type' = 'iceberg',
+ 'catalog-type' = 'rest',
+ 'uri' = 'http://localhost:9001/iceberg/',
+ 'header.X-Iceberg-Access-Delegation' = 'vended-credentials',
Review Comment:
Do you need an extra storage configuration?
--
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