You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2023/01/09 06:39:50 UTC

[flink-table-store] branch master updated: [hotfix][doc] Add download to oss and s3

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-table-store.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b745569 [hotfix][doc] Add download to oss and s3
3b745569 is described below

commit 3b7455690d8f0db7f26c4bfac6652b77e698629a
Author: JingsongLi <lz...@aliyun.com>
AuthorDate: Mon Jan 9 14:39:40 2023 +0800

    [hotfix][doc] Add download to oss and s3
---
 docs/content/docs/filesystems/oss.md | 26 ++++++++++++++++++++++++++
 docs/content/docs/filesystems/s3.md  | 26 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/docs/content/docs/filesystems/oss.md b/docs/content/docs/filesystems/oss.md
index 1e0bbc0c..a83c26cd 100644
--- a/docs/content/docs/filesystems/oss.md
+++ b/docs/content/docs/filesystems/oss.md
@@ -26,6 +26,17 @@ under the License.
 
 # OSS
 
+{{< stable >}}
+
+## Download
+
+[Download](https://repo.maven.apache.org/maven2/org/apache/flink/flink-table-store-oss/{{< version >}}/flink-table-store-oss-{{< version >}}.jar)
+flink table store shaded jar for Spark, Hive and Trino.
+
+{{< /stable >}}
+
+{{< unstable >}}
+
 ## Build
 
 To build from source code, either [download the source of a release](https://flink.apache.org/downloads.html) or [clone the git repository]({{< github_repo >}}).
@@ -39,6 +50,8 @@ mvn clean install -DskipTests
 You can find the shaded jars under
 `./flink-table-store-filesystems/flink-table-store-oss/target/flink-table-store-oss-{{< version >}}.jar`.
 
+{{< /unstable >}}
+
 ## Usage
 
 {{< tabs "oss" >}}
@@ -90,4 +103,17 @@ SELECT COUNT(1) FROM test_table;
 
 {{< /tab >}}
 
+{{< tab "Trino" >}}
+
+Place `flink-table-store-oss-{{< version >}}.jar` together with `flink-table-store-trino-{{< version >}}.jar` under `plugin/tablestore` directory.
+
+Add options in `etc/catalog/tablestore.properties`.
+```shell
+fs.oss.endpoint=oss-cn-hangzhou.aliyuncs.com
+fs.oss.accessKeyId=xxx
+fs.oss.accessKeySecret=yyy
+```
+
+{{< /tab >}}
+
 {{< /tabs >}}
diff --git a/docs/content/docs/filesystems/s3.md b/docs/content/docs/filesystems/s3.md
index 02179960..f89f21b7 100644
--- a/docs/content/docs/filesystems/s3.md
+++ b/docs/content/docs/filesystems/s3.md
@@ -26,6 +26,17 @@ under the License.
 
 # S3
 
+{{< stable >}}
+
+## Download
+
+[Download](https://repo.maven.apache.org/maven2/org/apache/flink/flink-table-store-s3/{{< version >}}/flink-table-store-s3-{{< version >}}.jar)
+flink table store shaded jar for Spark, Hive and Trino.
+
+{{< /stable >}}
+
+{{< unstable >}}
+
 ## Build
 
 To build from source code, either [download the source of a release](https://flink.apache.org/downloads.html) or [clone the git repository]({{< github_repo >}}).
@@ -39,6 +50,8 @@ mvn clean install -DskipTests
 You can find the shaded jars under
 `./flink-table-store-filesystems/flink-table-store-s3/target/flink-table-store-s3-{{< version >}}.jar`.
 
+{{< /unstable >}}
+
 ## Usage
 
 {{< tabs "oss" >}}
@@ -90,6 +103,19 @@ SELECT COUNT(1) FROM test_table;
 
 {{< /tab >}}
 
+{{< tab "Trino" >}}
+
+Place `flink-table-store-s3-{{< version >}}.jar` together with `flink-table-store-trino-{{< version >}}.jar` under `plugin/tablestore` directory.
+
+Add options in `etc/catalog/tablestore.properties`.
+```shell
+s3.endpoint=your-endpoint-hostname
+s3.access-key=xxx
+s3.secret-key=yyy
+```
+
+{{< /tab >}}
+
 {{< /tabs >}}
 
 ## S3 Complaint Object Stores