Skip to content

Commit 8287098

Browse files
committed
AUTO: Sync ScalarDB docs in Japanese to docs site repo
1 parent f94c5ab commit 8287098

File tree

3 files changed

+59
-14
lines changed

3 files changed

+59
-14
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
tags:
3+
- Enterprise Option
4+
displayed_sidebar: docsJapanese
5+
---
6+
7+
# ScalarDB Analytics with Spark
8+
9+
import TranslationBanner from '/src/components/_translation-ja-jp.mdx';
10+
import WarningLicenseKeyContact from '/src/components/ja-jp/_warning-license-key-contact.mdx';
11+
12+
<TranslationBanner />
13+
14+
**ScalarDB Analytics** は、ScalarDB の分析コンポーネントです。ScalarDB と同様に、PostgreSQL や MySQL などの RDBMS から Cassandra や DynamoDB などの NoSQL データベースに至るまで、さまざまなデータソースを 1 つの論理データベースに統合します。ScalarDB は複数のデータベース間でトランザクションの一貫性が強い運用ワークロードに重点を置いているのに対し、ScalarDB Analytics は分析ワークロード向けに最適化されています。複雑な結合、集計、ウィンドウ関数など、幅広いクエリをサポートしています。ScalarDB Analytics は、ScalarDB 管理のデータソースと非 ScalarDB 管理のデータソースの両方でシームレスに動作し、さまざまなデータセットにわたる高度な分析クエリを可能にします。
15+
16+
現在のバージョンの ScalarDB Analytics は、**Apache Spark** を実行エンジンとして活用しています。Spark カスタムカタログを使用することで、ScalarDB 管理下のデータソースと ScalarDB 管理外のデータソースの統合ビューを提供します。ScalarDB Analytics を使用すると、これらのデータソースのテーブルをネイティブの Spark テーブルとして扱うことができ、Spark SQL クエリをシームレスに実行できます。たとえば、Cassandra に保存されているテーブルを PostgreSQL のテーブルと結合して、複数のデータソースにまたがる分析を簡単に実行できます。
17+
18+
<WarningLicenseKeyContact product="ScalarDB Analytics with Spark" />
19+
20+
## 参考資料
21+
22+
* サンプルデータセットとアプリケーションを使用して ScalarDB Analytics を使用する方法に関するチュートリアルについては、[ScalarDB Analytics をはじめよう](../scalardb-samples/scalardb-analytics-spark-sample/README.mdx)を参照してください。
23+
* サポートされている Spark および Scala のバージョンについては、[ScalarDB Analytics with Spark のバージョン互換性](version-compatibility.mdx)を参照してください。
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
tags:
3+
- Enterprise Option
4+
displayed_sidebar: docsJapanese
5+
---
6+
7+
# ScalarDB Analytics with Spark のバージョン互換性
8+
9+
import TranslationBanner from '/src/components/_translation-ja-jp.mdx';
10+
11+
<TranslationBanner />
12+
13+
Spark と Scala はマイナーバージョン間で互換性がない場合があるため、ScalarDB Analytics with Spark では、さまざまな Spark および Scala バージョンに対して、`scalardb-analytics-spark-<SPARK_VERSION>_<SCALA_VERSION>` という形式で名前が付けられたさまざまなアーティファクトを提供しています。使用している Spark および Scala のバージョンに一致するアーティファクトを選択してください。たとえば、Scala 2.13で Spark 3.5を使用している場合は、`scalardb-analytics-spark-3.5_2.13` を指定する必要があります。
14+
15+
Java バージョンに関しては、ScalarDB Analytics with Spark は Java 8以降をサポートしています。
16+
17+
以下は、ScalarDB Analytics with Spark の各バージョンでサポートされている Spark および Scalar バージョンのリストです。
18+
19+
| ScalarDB Analytics with Spark バージョン | ScalarDB バージョン | サポートされている Spark バージョン | サポートされている Scala バージョン | 最小 Java バージョン |
20+
|:---------------------------------------|:------------------|:-------------------------------|:-------------------------------|:-------------------|
21+
| 3.14 | 3.14 | 3.5, 3.4 | 2.13, 2.12 | 8 |
22+
| 3.12 | 3.12 | 3.5, 3.4 | 2.13, 2.12 | 8 |

i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current/scalardb-sql/grammar.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,32 +1803,32 @@ GRANT ALL ON NAMESPACE ns TO user1 WITH GRANT OPTION;
18031803
```java
18041804
// Grant the SELECT privilege on a table to a user.
18051805
GrantStatement statement1 =
1806-
StatementBuilder.grant(Privilege.SELECT).on("ns", "tbl").to("user1").build();
1806+
StatementBuilder.grant(Privilege.SELECT).onTable("ns", "tbl").toUser("user1").build();
18071807

18081808
// Grant the SELECT privilege on tables to users.
18091809
GrantStatement statement2 =
18101810
StatementBuilder.grant(Privilege.SELECT)
1811-
.on("ns", "tbl1", "ns", "tbl2")
1812-
.to("user1", "user2")
1811+
.onTable("ns", "tbl1", "ns", "tbl2")
1812+
.toUser("user1", "user2")
18131813
.build();
18141814

18151815
// Grant the SELECT privilege on all tables in a namespace to a user.
18161816
GrantStatement statement3 =
1817-
StatementBuilder.grant(Privilege.SELECT).onNamespace("ns").to("user1").build();
1817+
StatementBuilder.grant(Privilege.SELECT).onNamespace("ns").toUser("user1").build();
18181818

18191819
// Grant all privileges and GRANT OPTION on a table to a user.
18201820
GrantStatement statement4 =
18211821
StatementBuilder.grant(Privilege.values())
1822-
.on("ns", "tbl")
1823-
.to("user1")
1822+
.onTable("ns", "tbl")
1823+
.toUser("user1")
18241824
.withGrantOption()
18251825
.build();
18261826

18271827
// Grant all privileges and GRANT OPTION on all tables in a namespace to a user.
18281828
GrantStatement statement5 =
18291829
StatementBuilder.grant(Privilege.values())
18301830
.onNamespace("ns")
1831-
.to("user1")
1831+
.toUser("user1")
18321832
.withGrantOption()
18331833
.build();
18341834
```
@@ -1877,31 +1877,31 @@ REVOKE ALL, GRANT OPTION ON NAMESPACE ns FROM user1;
18771877
```java
18781878
// Revoke the SELECT privilege on a table from a user.
18791879
RevokeStatement statement1 =
1880-
StatementBuilder.revoke(Privilege.SELECT).on("ns", "tbl").from("user1").build();
1880+
StatementBuilder.revoke(Privilege.SELECT).onTable("ns", "tbl").fromUser("user1").build();
18811881

18821882
// Revoke the SELECT privilege on tables from users.
18831883
RevokeStatement statement2 =
18841884
StatementBuilder.revoke(Privilege.SELECT)
1885-
.on("ns", "tbl1", "ns", "tbl2")
1886-
.from("user1", "user2")
1885+
.onTable("ns", "tbl1", "ns", "tbl2")
1886+
.fromUser("user1", "user2")
18871887
.build();
18881888

18891889
// Revoke the SELECT privilege on all tables in a namespace from a user.
18901890
RevokeStatement statement3 =
1891-
StatementBuilder.revoke(Privilege.SELECT).onNamespace("ns").from("user1").build();
1891+
StatementBuilder.revoke(Privilege.SELECT).onNamespace("ns").fromUser("user1").build();
18921892

18931893
// Revoke all privileges and GRANT OPTION on a table from a user.
18941894
RevokeStatement statement4 =
18951895
StatementBuilder.revoke(Privilege.values())
1896-
.on("ns", "tbl")
1897-
.from("user1")
1896+
.onTable("ns", "tbl")
1897+
.fromUser("user1")
18981898
.build();
18991899

19001900
// Revoke all privileges and GRANT OPTION on all tables in a namespace from a user.
19011901
RevokeStatement statement5 =
19021902
StatementBuilder.revoke(Privilege.values())
19031903
.onNamespace("ns")
1904-
.from("user1")
1904+
.fromUser("user1")
19051905
.build();
19061906
```
19071907

0 commit comments

Comments
 (0)