This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch release-0.3 in repository https://gitbox.apache.org/repos/asf/flink-table-store.git
commit 651bffbfc5c95e7ffb79f3a36c268d6fdb527b76 Author: JingsongLi <[email protected]> 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
