You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2016/05/05 21:50:06 UTC

drill-site git commit: doc edits

Repository: drill-site
Updated Branches:
  refs/heads/asf-site 7bdc461d4 -> 7c0245755


doc edits


Project: http://git-wip-us.apache.org/repos/asf/drill-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill-site/commit/7c024575
Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/7c024575
Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/7c024575

Branch: refs/heads/asf-site
Commit: 7c024575537fb090b79942079246555134c32d6b
Parents: 7bdc461
Author: Bridget Bevens <bb...@maprtech.com>
Authored: Thu May 5 14:49:53 2016 -0700
Committer: Bridget Bevens <bb...@maprtech.com>
Committed: Thu May 5 14:49:53 2016 -0700

----------------------------------------------------------------------
 docs/configuring-user-impersonation/index.html  | 47 ++++++++++----------
 docs/create-view/index.html                     | 39 +---------------
 .../index.html                                  | 41 ++++++++++++++++-
 feed.xml                                        |  4 +-
 4 files changed, 66 insertions(+), 65 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill-site/blob/7c024575/docs/configuring-user-impersonation/index.html
----------------------------------------------------------------------
diff --git a/docs/configuring-user-impersonation/index.html b/docs/configuring-user-impersonation/index.html
index 349009e..de84104 100644
--- a/docs/configuring-user-impersonation/index.html
+++ b/docs/configuring-user-impersonation/index.html
@@ -1058,7 +1058,7 @@
 
     </div>
 
-     
+     May 5, 2016
 
     <link href="/css/docpage.css" rel="stylesheet" type="text/css">
 
@@ -1082,28 +1082,29 @@
 
 <p>The following table lists the clients, storage plugins, and types of queries that you can use with impersonation in Drill:</p>
 
-<table>
-  <tr>
-    <th>Type</th>
-    <th>Supported</th>
-    <th>Not Supported</th>
-  </tr>
-  <tr>
-    <td>Clients</td>
-    <td>SQLLine, ODBC, JDBC</td>
-    <td>Drill Web Console, REST API</td>
-  </tr>
-  <tr>
-    <td>Storage Plugins</td>
-    <td>File System</td>
-    <td>Hive HBase</td>
-  </tr>
-  <tr>
-    <td>Queries</td>
-    <td>When you enable impersonation, the setting applies to queries on data and metadata. For example, if you issue the SHOW SCHEMAS command, Drill impersonates the user logged into the client to access the requested metadata. If you issue a SELECT query on a workspace, Drill impersonates the user logged in to the client to access the requested data. Drill applies impersonation to queries issued using the following commands: <br>SHOW SCHEMAS <br>SHOW DATABASES<br> SHOW TABLES<br> CTAS<br> SELECT<br> CREATE VIEW<br> DROP VIEW<br> SHOW FILES<br> To successfully run the CTAS and CREATE VIEW commands, a user must have write permissions on the directory where the table or view will exist. Running these commands creates artifacts on the file system.</td>
-    <td></td>
-  </tr>
-</table>
+<table><thead>
+<tr>
+<th>Type</th>
+<th>Supported</th>
+<th>Not Supported</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>Clients</td>
+<td>SQLLine, ODBC, JDBC</td>
+<td>Drill Web Console, REST API</td>
+</tr>
+<tr>
+<td>Storage Plugins</td>
+<td>File System, Hive, MapR-DB</td>
+<td>HBase</td>
+</tr>
+<tr>
+<td>Queries</td>
+<td>When you enable impersonation, the setting applies to queries on data and metadata. For example, if you issue the SHOW SCHEMAS command, Drill impersonates the user logged into the client to access the requested metadata. If you issue a SELECT query on a workspace, Drill impersonates the user logged in to the client to access the requested data. Drill applies impersonation to queries issued using the following commands: SHOW SCHEMAS, SHOW DATABASES, SHOW TABLES, CTAS, SELECT, CREATE VIEW, DROP VIEW, SHOW FILES. To successfully run the CTAS and CREATE VIEW commands, a user must have write permissions on the directory where the table or view will exist. Running these commands creates artifacts on the file system.</td>
+<td></td>
+</tr>
+</tbody></table>
 
 <h2 id="impersonation-and-views">Impersonation and Views</h2>
 

http://git-wip-us.apache.org/repos/asf/drill-site/blob/7c024575/docs/create-view/index.html
----------------------------------------------------------------------
diff --git a/docs/create-view/index.html b/docs/create-view/index.html
index e2e0442..ef9b207 100644
--- a/docs/create-view/index.html
+++ b/docs/create-view/index.html
@@ -1060,7 +1060,7 @@
 
     </div>
 
-     
+     May 5, 2016
 
     <link href="/css/docpage.css" rel="stylesheet" type="text/css">
 
@@ -1125,43 +1125,6 @@ when you run the CREATE VIEW command, suffixed <code>by .view.drill</code>. For
 if you create a view named <code>myview</code>, Drill stores the view in the designated
 workspace as <code>myview.view.drill</code>.</p>
 
-<p>Data Sources</p>
-
-<p>Drill considers data sources to have either a strong schema or a weak schema.  </p>
-
-<h5 id="strong-schema">Strong Schema</h5>
-
-<p>With the exception of text file data sources, Drill verifies that data sources
-associated with a strong schema contain data types compatible with those used
-in the query. Drill also verifies that the columns referenced in the query
-exist in the underlying data sources. If the columns do not exist, CREATE VIEW
-fails.</p>
-
-<h4 id="weak-schema">Weak Schema</h4>
-
-<p>Drill does not verify that data sources associated with a weak schema contain
-data types compatible with those used in the query. Drill does not verify if
-columns referenced in a query on a Parquet data source exist, therefore CREATE
-VIEW always succeeds. In the case of JSON files, Drill does not verify if the
-files contain the maps specified in the view.</p>
-
-<p>The following table lists the current categories of schema and the data
-sources associated with each:</p>
-
-<table>
-  <tr>
-    <th></th>
-    <th>Strong Schema</th>
-    <th>Weak Schema</th>
-  </tr>
-  <tr>
-    <td valign="top">Data Sources</td>
-    <td>views<br>hive tables<br>hbase column families<br>text</td>
-    <td>json<br>mongodb<br>hbase column qualifiers<br>parquet</td>
-  </tr>
-</table>
-  
-
 <h2 id="related-commands">Related Commands</h2>
 
 <p>After you create a view using the CREATE VIEW command, you can issue the

http://git-wip-us.apache.org/repos/asf/drill-site/blob/7c024575/docs/data-sources-and-file-formats-introduction/index.html
----------------------------------------------------------------------
diff --git a/docs/data-sources-and-file-formats-introduction/index.html b/docs/data-sources-and-file-formats-introduction/index.html
index 61b2256..d9da108 100644
--- a/docs/data-sources-and-file-formats-introduction/index.html
+++ b/docs/data-sources-and-file-formats-introduction/index.html
@@ -1058,7 +1058,7 @@
 
     </div>
 
-     
+     May 5, 2016
 
     <link href="/css/docpage.css" rel="stylesheet" type="text/css">
 
@@ -1070,9 +1070,46 @@
 <li>HBase</li>
 <li>Hive</li>
 <li>MapR-DB</li>
-<li>File system</li>
+<li>File system<br></li>
 </ul>
 
+<p>Drill considers data sources to have either a strong schema or a weak schema.  </p>
+
+<p>The following table describes each schema type:</p>
+
+<table><thead>
+<tr>
+<th>Schema Type</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>Strong</td>
+<td>With the exception of text file data sources, Drill verifies that data sources associated with a strong schema contain data types compatible with those used in the query. Drill also verifies that the columns referenced in the query exist in the underlying data sources. If the columns do not exist, CREATE VIEW fails.</td>
+</tr>
+<tr>
+<td>Weak</td>
+<td>Drill does not verify that data sources associated with a weak schema contain data types compatible with those used in the query. Drill does not verify if columns referenced in a query on a Parquet data source exist, therefore CREATE VIEW always succeeds. In the case of JSON files, Drill does not verify if the files contain the maps specified in the view.</td>
+</tr>
+</tbody></table>
+
+<p>The following table lists the current categories of schema and the data
+sources associated with each:</p>
+
+<table><thead>
+<tr>
+<th></th>
+<th>Strong Schema</th>
+<th>Weak Schema</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>Data Sources</td>
+<td>views, hive tables, hbase column families, text</td>
+<td>json, mongodb, hbase column qualifiers, parquet</td>
+</tr>
+</tbody></table>
+
 <p>Drill supports the following input formats for data:</p>
 
 <ul>

http://git-wip-us.apache.org/repos/asf/drill-site/blob/7c024575/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index fc54278..728dbed 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>Thu, 14 Apr 2016 14:47:55 -0700</pubDate>
-    <lastBuildDate>Thu, 14 Apr 2016 14:47:55 -0700</lastBuildDate>
+    <pubDate>Thu, 05 May 2016 14:47:36 -0700</pubDate>
+    <lastBuildDate>Thu, 05 May 2016 14:47:36 -0700</lastBuildDate>
     <generator>Jekyll v2.5.2</generator>
     
       <item>