This is an automated email from the ASF dual-hosted git repository.
bridgetb 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 875affa edits
875affa is described below
commit 875affacf31f3d490a744d323bf4a91cc3dd4a3a
Author: Bridget Bevens <[email protected]>
AuthorDate: Tue Apr 16 13:47:06 2019 -0700
edits
---
docs/hive-storage-plugin/index.html | 7 -------
docs/querying-hive/index.html | 17 +++++++++++++----
feed.xml | 4 ++--
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/docs/hive-storage-plugin/index.html
b/docs/hive-storage-plugin/index.html
index 257c770..2498f92 100644
--- a/docs/hive-storage-plugin/index.html
+++ b/docs/hive-storage-plugin/index.html
@@ -1319,13 +1319,6 @@
<p>To access Hive tables using custom SerDes or InputFormat/OutputFormat, all
nodes running Drillbits must have the SerDes or InputFormat/OutputFormat
<code>JAR</code> files in the
<code><drill_installation_directory>/jars/3rdparty</code> folder. </p>
-<h2 id="hive-views">Hive Views</h2>
-
-<p>Starting in Drill 1.16, you can query Hive views from Drill like you would
query Hive tables in a hive schema, for example: </p>
-<div class="highlight"><pre><code class="language-text"
data-lang="text">SELECT * FROM hive.`hive_view`;
-</code></pre></div>
-<p>For storage-based authorization, access to Hive views depends on the user’s
permissions on the underlying tables in the view definition. When a user
selects from a Hive view, the view is expanded (converted into a query), and
the underlying tables referenced in the query are validated for permissions.
</p>
-
<h2 id="setting-hive-properties">Setting Hive Properties</h2>
<p>Prior to Drill 1.14, you could only set <a
href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties">Hive
configuration properties</a> at the system level in <code>hive-site.xml</code>
or in the hive storage plugin configuration in the Drill Web UI. Starting in
Drill 1.14, Drill supports the <code>store.hive.conf.properties</code> option,
which enables you to specify Hive properties at the session level using the <a
href="/docs/set/">SET command</a>, as shown:</p>
diff --git a/docs/querying-hive/index.html b/docs/querying-hive/index.html
index 96fffbd..9f01815 100644
--- a/docs/querying-hive/index.html
+++ b/docs/querying-hive/index.html
@@ -1308,7 +1308,7 @@
</div>
- Jun 26, 2018
+ Apr 16, 2019
<link href="/css/docpage.css" rel="stylesheet" type="text/css">
@@ -1316,12 +1316,21 @@
<p>This is a simple exercise that provides steps for creating a Hive
table and
inserting data that you can query using Drill. Before you perform the steps,
-download the <a
href="http://doc.mapr.com/download/attachments/28868943/customers.csv?version=1&modificationDate=1426874930765&api=v2">customers.csv</a>
file. </p>
+download the <a
href="http://doc.mapr.com/download/attachments/28868943/customers.csv?version=1&modificationDate=1426874930765&api=v2">customers.csv</a>
file. </p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
- <p class="last">Drill 1.8 implements the IF EXISTS parameter for the DROP
TABLE and DROP VIEW commands, making IF a reserved word in Drill. As a result,
you must include backticks around the Hive \``IF`` conditional function when
you use it in a query on Hive tables. Alternatively, you can use the CASE
statement instead of the IF function. </p>
-</div>
+ <p class="last">Drill 1.8 implements the IF EXISTS parameter for the DROP
TABLE and DROP VIEW commands, making IF a reserved word in Drill. As a result,
you must include backticks around the Hive IF conditional function when you use
it in a query on Hive tables. Alternatively, you can use the CASE statement
instead of the IF function. </p>
+</div>
+
+<h2 id="hive-views">Hive Views</h2>
+
+<p>Starting in Drill 1.16, you can query Hive views from Drill like you would
query Hive tables in a hive schema, for example: </p>
+<div class="highlight"><pre><code class="language-text"
data-lang="text">SELECT * FROM hive.`hive_view`;
+</code></pre></div>
+<p>For storage-based authorization, access to Hive views depends on the user’s
permissions on the underlying tables in the view definition. When a user
selects from a Hive view, the view is expanded (converted into a query), and
the underlying tables referenced in the query are validated for permissions.
</p>
+
+<h2 id="creating-and-querying-a-hive-table">Creating and Querying a Hive
Table</h2>
<p>To create a Hive table and query it with Drill, complete the following
steps:</p>
diff --git a/feed.xml b/feed.xml
index d31d2c8..3454a36 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>/</link>
<atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Tue, 16 Apr 2019 13:11:39 -0700</pubDate>
- <lastBuildDate>Tue, 16 Apr 2019 13:11:39 -0700</lastBuildDate>
+ <pubDate>Tue, 16 Apr 2019 13:44:35 -0700</pubDate>
+ <lastBuildDate>Tue, 16 Apr 2019 13:44:35 -0700</lastBuildDate>
<generator>Jekyll v2.5.2</generator>
<item>