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 c129534 add info about querying hive views to hive sp doc
c129534 is described below
commit c129534fa501befe6c0b2aa094a75e790f4b19dc
Author: Bridget Bevens <[email protected]>
AuthorDate: Tue Apr 16 13:14:51 2019 -0700
add info about querying hive views to hive sp doc
---
docs/hive-storage-plugin/index.html | 11 +++++++++--
feed.xml | 4 ++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/docs/hive-storage-plugin/index.html
b/docs/hive-storage-plugin/index.html
index ed591b6..257c770 100644
--- a/docs/hive-storage-plugin/index.html
+++ b/docs/hive-storage-plugin/index.html
@@ -1308,7 +1308,7 @@
</div>
- Dec 8, 2018
+ Apr 16, 2019
<link href="/css/docpage.css" rel="stylesheet" type="text/css">
@@ -1317,7 +1317,14 @@
<p>Prior to Drill 1.13, Drill supported Hive 1.0. Drill 1.13 and later
includes version 2.3.2 of the Hive client, which adds support for queries on
transactional (ACID) and non-transactional Hive bucketed ORC tables. The
updated Hive libraries are backward compatible with earlier versions of the
Hive server and metastore. </p>
<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>
+<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>
diff --git a/feed.xml b/feed.xml
index 19df16e..d31d2c8 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>Mon, 15 Apr 2019 19:27:52 -0700</pubDate>
- <lastBuildDate>Mon, 15 Apr 2019 19:27:52 -0700</lastBuildDate>
+ <pubDate>Tue, 16 Apr 2019 13:11:39 -0700</pubDate>
+ <lastBuildDate>Tue, 16 Apr 2019 13:11:39 -0700</lastBuildDate>
<generator>Jekyll v2.5.2</generator>
<item>