This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/drill-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 12ab343 Automatic Site Publish by Buildbot
12ab343 is described below
commit 12ab343f4e18d71caf921477343bc4405f88c560
Author: buildbot <[email protected]>
AuthorDate: Wed Sep 15 13:11:01 2021 +0000
Automatic Site Publish by Buildbot
---
output/docs/limit-clause/index.html | 4 ++--
output/docs/offset-clause/index.html | 2 +-
output/docs/running-drill-on-docker/index.html | 23 +++++++++++++++++++++--
output/feed.xml | 4 ++--
output/zh/docs/limit-clause/index.html | 4 ++--
output/zh/docs/offset-clause/index.html | 2 +-
output/zh/docs/running-drill-on-docker/index.html | 23 +++++++++++++++++++++--
output/zh/feed.xml | 4 ++--
8 files changed, 52 insertions(+), 14 deletions(-)
diff --git a/output/docs/limit-clause/index.html
b/output/docs/limit-clause/index.html
index 359c76c..e7e0698 100644
--- a/output/docs/limit-clause/index.html
+++ b/output/docs/limit-clause/index.html
@@ -1434,9 +1434,9 @@
<h2 id="syntax">Syntax</h2>
<p>The LIMIT clause supports the following syntaxes:</p>
-<div class="language-sql highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="k">LIMIT</span> <span class="err">{</span>
<span class="k">count</span> <span class="o">|</span> <span
class="k">ALL</span> <span class="err">}</span>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>LIMIT { count | ALL }
-<span class="k">FETCH</span> <span class="k">NEXT</span> <span
class="k">count</span> <span class="err">{</span> <span class="k">ROW</span>
<span class="o">|</span> <span class="k">ROWS</span> <span class="err">}</span>
<span class="k">ONLY</span>
+FETCH NEXT count { ROW | ROWS } ONLY
</code></pre></div></div>
<h2 id="parameters">Parameters</h2>
diff --git a/output/docs/offset-clause/index.html
b/output/docs/offset-clause/index.html
index ca0aff2..b2cdd6d 100644
--- a/output/docs/offset-clause/index.html
+++ b/output/docs/offset-clause/index.html
@@ -1430,7 +1430,7 @@
<h2 id="syntax">Syntax</h2>
<p>The OFFSET clause supports the following syntax:</p>
-<div class="language-sql highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="k">OFFSET</span> <span
class="k">start</span> <span class="err">{</span> <span class="k">ROW</span>
<span class="o">|</span> <span class="k">ROWS</span> <span class="err">}</span>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>OFFSET start { ROW | ROWS }
</code></pre></div></div>
<h2 id="parameters">Parameters</h2>
<p><em>rows</em>
diff --git a/output/docs/running-drill-on-docker/index.html
b/output/docs/running-drill-on-docker/index.html
index 647104c..72b2b23 100644
--- a/output/docs/running-drill-on-docker/index.html
+++ b/output/docs/running-drill-on-docker/index.html
@@ -1428,7 +1428,7 @@
<p><strong>Introduced in release:</strong> 1.14</p>
-<p>You can run Drill in a <a
href="https://www.docker.com/what-container#/package_software">Docker
container</a>. Running Drill in a container gives a simple way to start using
Drill; all you need is Docker installed on your machine. You simply run a
Docker command, and your installation will download the Drill Docker image from
the <a href="https://hub.docker.com/r/apache/drill">apache/drill</a> repository
on <a href="https://docs.docker.com/docker-hub/">Docker Hub</a> and bring up a
c [...]
+<p>You can run Drill in a <a
href="https://www.docker.com/what-container#/package_software">Docker
container</a>. Running Drill in a container gives a simple way to start using
Drill; all you need is Docker installed on your machine. You simply run a
Docker command, and your installation will download the Drill Docker image from
the <a href="https://hub.docker.com/r/apache/drill">apache/drill</a> repository
on <a href="https://docs.docker.com/docker-hub/">Docker Hub</a> and bring up a
[...]
<p>Currently, you can only run Drill in embedded mode in a Docker container.
Embedded mode is when a single instance of Drill runs on a node or in a
container. You do not have to perform any configuration tasks to start using
Drill to query local files in embedded mode.</p>
@@ -1477,6 +1477,8 @@
</tbody>
</table>
+<p>If you decide to work in the filesytem of the Docker image, for example to
modify a Drill configuration file, then be aware that Drill has been installed
to /opt/drill. When reading the Drill documentation in the context of the
official Docker image, you should substitute the mentioned path for any
mentions of the environment variable <code class="language-plaintext
highlighter-rouge">$DRILL_HOME</code>.</p>
+
<h3 id="running-the-drill-docker-container-in-foreground-mode">Running the
Drill Docker Container in Foreground Mode</h3>
<p>Open a terminal window (Command Prompt or PowerShell, but not PowerShell
ISE) and then issue the following command and options to connect to SQLLine
(the Drill shell):</p>
@@ -1533,7 +1535,24 @@
1 row selected (0.256 seconds)
</code></pre></div></div>
-<p>To query files outside of the container, you can configure <a
href="https://docs.docker.com/storage/volumes/#start-a-service-with-volumes">Docker
volumes</a>.</p>
+<p>To query files stored outside of the container, you can <a
href="https://docs.docker.com/storage/bind-mounts/">bind mount a directory in
from the host</a></p>
+<div class="language-sh highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>docker run <span class="nt">-i</span> <span
class="nt">--name</span> drill-1.19.0 <span class="se">\</span>
+ <span class="nt">-p</span> 8047:8047 <span class="se">\</span>
+ <span class="nt">-t</span> apache/drill:1.19.0
+ <span class="nt">-v</span> /mnt/big/data:/mnt
+ /bin/bash
+</code></pre></div></div>
+<p>or you can <a href="https://docs.docker.com/storage/volumes/">create and
mount a Docker volume</a>.</p>
+<div class="language-sh highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>docker volume create big-data-vol
+
+docker run <span class="nt">-i</span> <span class="nt">--name</span>
drill-1.19.0 <span class="se">\</span>
+ <span class="nt">-p</span> 8047:8047 <span class="se">\</span>
+ <span class="nt">-t</span> apache/drill:1.19.0
+ <span class="nt">-v</span> big-data-vol:/mnt
+ /bin/bash
+</code></pre></div></div>
+
+<p>See the linked Docker documentation for more details.</p>
<h2 id="drill-web-ui">Drill Web UI</h2>
diff --git a/output/feed.xml b/output/feed.xml
index 2f466e2..a16cfc4 100644
--- a/output/feed.xml
+++ b/output/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>/</link>
<atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Wed, 15 Sep 2021 09:04:17 +0000</pubDate>
- <lastBuildDate>Wed, 15 Sep 2021 09:04:17 +0000</lastBuildDate>
+ <pubDate>Wed, 15 Sep 2021 13:08:09 +0000</pubDate>
+ <lastBuildDate>Wed, 15 Sep 2021 13:08:09 +0000</lastBuildDate>
<generator>Jekyll v3.9.1</generator>
<item>
diff --git a/output/zh/docs/limit-clause/index.html
b/output/zh/docs/limit-clause/index.html
index 49661cc..3dcc43d 100644
--- a/output/zh/docs/limit-clause/index.html
+++ b/output/zh/docs/limit-clause/index.html
@@ -1434,9 +1434,9 @@
<h2 id="syntax">Syntax</h2>
<p>The LIMIT clause supports the following syntaxes:</p>
-<div class="language-sql highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="k">LIMIT</span> <span class="err">{</span>
<span class="k">count</span> <span class="o">|</span> <span
class="k">ALL</span> <span class="err">}</span>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>LIMIT { count | ALL }
-<span class="k">FETCH</span> <span class="k">NEXT</span> <span
class="k">count</span> <span class="err">{</span> <span class="k">ROW</span>
<span class="o">|</span> <span class="k">ROWS</span> <span class="err">}</span>
<span class="k">ONLY</span>
+FETCH NEXT count { ROW | ROWS } ONLY
</code></pre></div></div>
<h2 id="parameters">Parameters</h2>
diff --git a/output/zh/docs/offset-clause/index.html
b/output/zh/docs/offset-clause/index.html
index 04a192b..fe5eba5 100644
--- a/output/zh/docs/offset-clause/index.html
+++ b/output/zh/docs/offset-clause/index.html
@@ -1430,7 +1430,7 @@
<h2 id="syntax">Syntax</h2>
<p>The OFFSET clause supports the following syntax:</p>
-<div class="language-sql highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="k">OFFSET</span> <span
class="k">start</span> <span class="err">{</span> <span class="k">ROW</span>
<span class="o">|</span> <span class="k">ROWS</span> <span class="err">}</span>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>OFFSET start { ROW | ROWS }
</code></pre></div></div>
<h2 id="parameters">Parameters</h2>
<p><em>rows</em>
diff --git a/output/zh/docs/running-drill-on-docker/index.html
b/output/zh/docs/running-drill-on-docker/index.html
index ff33ef7..b4aaf9b 100644
--- a/output/zh/docs/running-drill-on-docker/index.html
+++ b/output/zh/docs/running-drill-on-docker/index.html
@@ -1428,7 +1428,7 @@
<p><strong>Introduced in release:</strong> 1.14</p>
-<p>You can run Drill in a <a
href="https://www.docker.com/what-container#/package_software">Docker
container</a>. Running Drill in a container gives a simple way to start using
Drill; all you need is Docker installed on your machine. You simply run a
Docker command, and your installation will download the Drill Docker image from
the <a href="https://hub.docker.com/r/apache/drill">apache/drill</a> repository
on <a href="https://docs.docker.com/docker-hub/">Docker Hub</a> and bring up a
c [...]
+<p>You can run Drill in a <a
href="https://www.docker.com/what-container#/package_software">Docker
container</a>. Running Drill in a container gives a simple way to start using
Drill; all you need is Docker installed on your machine. You simply run a
Docker command, and your installation will download the Drill Docker image from
the <a href="https://hub.docker.com/r/apache/drill">apache/drill</a> repository
on <a href="https://docs.docker.com/docker-hub/">Docker Hub</a> and bring up a
[...]
<p>Currently, you can only run Drill in embedded mode in a Docker container.
Embedded mode is when a single instance of Drill runs on a node or in a
container. You do not have to perform any configuration tasks to start using
Drill to query local files in embedded mode.</p>
@@ -1477,6 +1477,8 @@
</tbody>
</table>
+<p>If you decide to work in the filesytem of the Docker image, for example to
modify a Drill configuration file, then be aware that Drill has been installed
to /opt/drill. When reading the Drill documentation in the context of the
official Docker image, you should substitute the mentioned path for any
mentions of the environment variable <code class="language-plaintext
highlighter-rouge">$DRILL_HOME</code>.</p>
+
<h3 id="running-the-drill-docker-container-in-foreground-mode">Running the
Drill Docker Container in Foreground Mode</h3>
<p>Open a terminal window (Command Prompt or PowerShell, but not PowerShell
ISE) and then issue the following command and options to connect to SQLLine
(the Drill shell):</p>
@@ -1533,7 +1535,24 @@
1 row selected (0.256 seconds)
</code></pre></div></div>
-<p>To query files outside of the container, you can configure <a
href="https://docs.docker.com/storage/volumes/#start-a-service-with-volumes">Docker
volumes</a>.</p>
+<p>To query files stored outside of the container, you can <a
href="https://docs.docker.com/storage/bind-mounts/">bind mount a directory in
from the host</a></p>
+<div class="language-sh highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>docker run <span class="nt">-i</span> <span
class="nt">--name</span> drill-1.19.0 <span class="se">\</span>
+ <span class="nt">-p</span> 8047:8047 <span class="se">\</span>
+ <span class="nt">-t</span> apache/drill:1.19.0
+ <span class="nt">-v</span> /mnt/big/data:/mnt
+ /bin/bash
+</code></pre></div></div>
+<p>or you can <a href="https://docs.docker.com/storage/volumes/">create and
mount a Docker volume</a>.</p>
+<div class="language-sh highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>docker volume create big-data-vol
+
+docker run <span class="nt">-i</span> <span class="nt">--name</span>
drill-1.19.0 <span class="se">\</span>
+ <span class="nt">-p</span> 8047:8047 <span class="se">\</span>
+ <span class="nt">-t</span> apache/drill:1.19.0
+ <span class="nt">-v</span> big-data-vol:/mnt
+ /bin/bash
+</code></pre></div></div>
+
+<p>See the linked Docker documentation for more details.</p>
<h2 id="drill-web-ui">Drill Web UI</h2>
diff --git a/output/zh/feed.xml b/output/zh/feed.xml
index 3cf3ab5..e876251 100644
--- a/output/zh/feed.xml
+++ b/output/zh/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>/</link>
<atom:link href="/zh/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Wed, 15 Sep 2021 09:04:17 +0000</pubDate>
- <lastBuildDate>Wed, 15 Sep 2021 09:04:17 +0000</lastBuildDate>
+ <pubDate>Wed, 15 Sep 2021 13:08:09 +0000</pubDate>
+ <lastBuildDate>Wed, 15 Sep 2021 13:08:09 +0000</lastBuildDate>
<generator>Jekyll v3.9.1</generator>
<item>