This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 38cb02c4269 [HUDI-5390] Docker Demo only works on master for m1 macs
but site does not mention this (#7458)
38cb02c4269 is described below
commit 38cb02c4269b828eb837b01e5407137b3b18244d
Author: Jon Vexler <[email protected]>
AuthorDate: Thu Dec 15 16:04:49 2022 -0500
[HUDI-5390] Docker Demo only works on master for m1 macs but site does not
mention this (#7458)
Co-authored-by: Jonathan Vexler <=>
---
website/docs/docker_demo.md | 38 ++++++++++++++++++++--
.../versioned_docs/version-0.12.0/docker_demo.md | 38 ++++++++++++++++++++--
.../versioned_docs/version-0.12.1/docker_demo.md | 38 ++++++++++++++++++++--
3 files changed, 105 insertions(+), 9 deletions(-)
diff --git a/website/docs/docker_demo.md b/website/docs/docker_demo.md
index 681b1be51a2..4d811925de5 100644
--- a/website/docs/docker_demo.md
+++ b/website/docs/docker_demo.md
@@ -131,7 +131,14 @@ $ docker ps
</TabItem>
<TabItem value="m1">
-Please note that Presto and Trino do not currently work for the docker demo on
Mac AArch64
+
+:::note Please note the following for Mac AArch64 users
+<ul>
+ <li> The demo must be built and run using the master branch. We currently
plan to include support starting with the
+ 0.13.0 release. </li>
+ <li> Presto and Trino are not currently supported in the demo. </li>
+</ul>
+:::
```java
cd docker
@@ -548,7 +555,14 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
### Step 4 (c): Run Presto Queries
-Here are the Presto queries for similar Hive and Spark queries. Currently,
Presto does not support snapshot or incremental queries on Hudi tables.
+Here are the Presto queries for similar Hive and Spark queries.
+
+:::note
+<ul>
+ <li> Currently, Presto does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
@@ -639,7 +653,14 @@ presto:default> exit
### Step 4 (d): Run Trino Queries
-Here are the similar queries with Trino. Currently, Trino does not support
snapshot or incremental queries on Hudi tables.
+Here are the similar queries with Trino.
+:::note
+<ul>
+ <li> Currently, Trino does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> show catalogs;
@@ -922,6 +943,10 @@ exit
Running the same queries on Presto for ReadOptimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
presto> use hive.default;
@@ -984,6 +1009,10 @@ presto:default> exit
Running the same queries on Trino for Read-Optimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> use hive.default;
@@ -1346,6 +1375,9 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
```
### Step 11: Presto Read Optimized queries on MOR table after compaction
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
diff --git a/website/versioned_docs/version-0.12.0/docker_demo.md
b/website/versioned_docs/version-0.12.0/docker_demo.md
index 13e0a50834c..2be5e49d885 100644
--- a/website/versioned_docs/version-0.12.0/docker_demo.md
+++ b/website/versioned_docs/version-0.12.0/docker_demo.md
@@ -126,7 +126,14 @@ $ docker ps
</TabItem>
<TabItem value="m1">
-Please note that Presto and Trino do not currently work for the docker demo on
Mac AArch64
+
+:::note Please note the following for Mac AArch64 users
+<ul>
+ <li> The demo must be built and run using the master branch. We currently
plan to include support starting with the
+ 0.13.0 release. </li>
+ <li> Presto and Trino are not currently supported in the demo. </li>
+</ul>
+:::
```java
cd docker
@@ -543,7 +550,14 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
### Step 4 (c): Run Presto Queries
-Here are the Presto queries for similar Hive and Spark queries. Currently,
Presto does not support snapshot or incremental queries on Hudi tables.
+Here are the Presto queries for similar Hive and Spark queries.
+
+:::note
+<ul>
+ <li> Currently, Presto does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
@@ -634,7 +648,14 @@ presto:default> exit
### Step 4 (d): Run Trino Queries
-Here are the similar queries with Trino. Currently, Trino does not support
snapshot or incremental queries on Hudi tables.
+Here are the similar queries with Trino.
+:::note
+<ul>
+ <li> Currently, Trino does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> show catalogs;
@@ -917,6 +938,10 @@ exit
Running the same queries on Presto for ReadOptimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
presto> use hive.default;
@@ -979,6 +1004,10 @@ presto:default> exit
Running the same queries on Trino for Read-Optimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> use hive.default;
@@ -1341,6 +1370,9 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
```
### Step 11: Presto Read Optimized queries on MOR table after compaction
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
diff --git a/website/versioned_docs/version-0.12.1/docker_demo.md
b/website/versioned_docs/version-0.12.1/docker_demo.md
index 13e0a50834c..2be5e49d885 100644
--- a/website/versioned_docs/version-0.12.1/docker_demo.md
+++ b/website/versioned_docs/version-0.12.1/docker_demo.md
@@ -126,7 +126,14 @@ $ docker ps
</TabItem>
<TabItem value="m1">
-Please note that Presto and Trino do not currently work for the docker demo on
Mac AArch64
+
+:::note Please note the following for Mac AArch64 users
+<ul>
+ <li> The demo must be built and run using the master branch. We currently
plan to include support starting with the
+ 0.13.0 release. </li>
+ <li> Presto and Trino are not currently supported in the demo. </li>
+</ul>
+:::
```java
cd docker
@@ -543,7 +550,14 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
### Step 4 (c): Run Presto Queries
-Here are the Presto queries for similar Hive and Spark queries. Currently,
Presto does not support snapshot or incremental queries on Hudi tables.
+Here are the Presto queries for similar Hive and Spark queries.
+
+:::note
+<ul>
+ <li> Currently, Presto does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
@@ -634,7 +648,14 @@ presto:default> exit
### Step 4 (d): Run Trino Queries
-Here are the similar queries with Trino. Currently, Trino does not support
snapshot or incremental queries on Hudi tables.
+Here are the similar queries with Trino.
+:::note
+<ul>
+ <li> Currently, Trino does not support snapshot or incremental queries on
Hudi tables. </li>
+ <li> This section of the demo is not supported for Mac AArch64 users at this
time. </li>
+</ul>
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> show catalogs;
@@ -917,6 +938,10 @@ exit
Running the same queries on Presto for ReadOptimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090
presto> use hive.default;
@@ -979,6 +1004,10 @@ presto:default> exit
Running the same queries on Trino for Read-Optimized queries.
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
+
```java
docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
trino> use hive.default;
@@ -1341,6 +1370,9 @@ scala> spark.sql("select `_hoodie_commit_time`, symbol,
ts, volume, open, close
```
### Step 11: Presto Read Optimized queries on MOR table after compaction
+:::note
+This section of the demo is not supported for Mac AArch64 users at this time.
+:::
```java
docker exec -it presto-worker-1 presto --server presto-coordinator-1:8090