drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bridg...@apache.org
Subject drill-site git commit: minor edits from Kris
Date Tue, 27 Oct 2015 01:00:44 GMT
Repository: drill-site
Updated Branches:
  refs/heads/asf-site 653dece07 -> 777ba0120


minor edits from Kris


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

Branch: refs/heads/asf-site
Commit: 777ba0120f0afb8372888cbda01466ed26c2e6bc
Parents: 653dece
Author: Bridget Bevens <bbevens@maprtech.com>
Authored: Mon Oct 26 18:00:24 2015 -0700
Committer: Bridget Bevens <bbevens@maprtech.com>
Committed: Mon Oct 26 18:00:24 2015 -0700

----------------------------------------------------------------------
 docs/apache-drill-0-6-0-release-notes/index.html |  2 +-
 docs/json-data-model/index.html                  | 11 +----------
 docs/querying-plain-text-files/index.html        | 10 ++++++++--
 docs/supported-data-types/index.html             |  6 +++---
 feed.xml                                         |  4 ++--
 5 files changed, 15 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill-site/blob/777ba012/docs/apache-drill-0-6-0-release-notes/index.html
----------------------------------------------------------------------
diff --git a/docs/apache-drill-0-6-0-release-notes/index.html b/docs/apache-drill-0-6-0-release-notes/index.html
index 93045cc..963d1d8 100644
--- a/docs/apache-drill-0-6-0-release-notes/index.html
+++ b/docs/apache-drill-0-6-0-release-notes/index.html
@@ -1022,7 +1022,7 @@ JIRAs that can help you run Drill against your preferred distribution.</p>
 <p>This release is primarily a bug fix release, with <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12313820&amp;vers%0Aion=12327472">more
than 30 JIRAs closed</a>, but there are some notable features:</p>
 
 <ul>
-<li>Direct ANSI SQL access to MongoDB, using the latest <a href="/docs/mongodb-plugin-for-apache-drill">MongoDB
Plugin for Apache Drill</a></li>
+<li>Direct ANSI SQL access to MongoDB, using the latest <a href="/docs/mongodb-storage-plugin">MongoDB
Plugin for Apache Drill</a></li>
 <li>Filesystem query performance improvements with partition pruning</li>
 <li>Ability to use the file system as a persistent store for query profiles and diagnostic
information</li>
 <li>Window function support (alpha)</li>

http://git-wip-us.apache.org/repos/asf/drill-site/blob/777ba012/docs/json-data-model/index.html
----------------------------------------------------------------------
diff --git a/docs/json-data-model/index.html b/docs/json-data-model/index.html
index 23d5a7f..597e56a 100644
--- a/docs/json-data-model/index.html
+++ b/docs/json-data-model/index.html
@@ -1410,7 +1410,6 @@ WHERE t.birth.bearer.max_hdl &lt; 160;
 <p>In most cases, you can use a workaround, presented in the following sections, to
overcome the following limitations:</p>
 
 <ul>
-<li><a href="/docs/json-data-model/#array-at-the-root-level">Array at the root
level</a></li>
 <li><a href="/docs/json-data-model/#complex-nested-da%5Bta">Complex nested data</a></li>
 <li><a href="/docs/json-data-model/#commas-between-records">Commas between records</a></li>
 <li><a href="/docs/json-data-model/#irregular-data">Irregular data</a></li>
@@ -1423,14 +1422,6 @@ WHERE t.birth.bearer.max_hdl &lt; 160;
 <li><a href="/docs/json-data-model/#selecting-all-in-a-json-directory-query">Selecting
all in a JSON directory query</a></li>
 </ul>
 
-<h3 id="array-at-the-root-level">Array at the root level</h3>
-
-<p>Drill cannot read an array at the root level, outside an object.</p>
-
-<p>Workaround: Remove square brackets at the root of the object, as shown in the following
example.</p>
-
-<p><img src="/docs/img/datasources-json-bracket.png" alt="drill query flow"></p>
-
 <h3 id="complex-nested-data">Complex nested data</h3>
 
 <p>Drill cannot read some complex nested arrays unless you use a table alias.</p>
@@ -1516,7 +1507,7 @@ MultiPolygons will fail.</p>
 
 <h3 id="misusing-dot-notation">Misusing Dot Notation</h3>
 
-<p>Drill accesses an object when you use dot notation in the SELECT statement sses
only when the dot is <em>not</em> the first dot in the expression. Drill attempts
to access the table that appears after the first dot. For example,  records in some-file have
a geometry field that Drill successfully accesses given this query:</p>
+<p>Drill accesses an object when you use dot notation in the SELECT statement only
when the dot is <em>not</em> the first dot in the expression. Drill attempts to
access the table that appears after the first dot. For example,  records in <code>some-file</code>
have a geometry field that Drill successfully accesses given this query:</p>
 
 <p><code>select geometry from  dfs.`some-file.json`;</code></p>
 

http://git-wip-us.apache.org/repos/asf/drill-site/blob/777ba012/docs/querying-plain-text-files/index.html
----------------------------------------------------------------------
diff --git a/docs/querying-plain-text-files/index.html b/docs/querying-plain-text-files/index.html
index 122ffea..c2c7e16 100644
--- a/docs/querying-plain-text-files/index.html
+++ b/docs/querying-plain-text-files/index.html
@@ -1208,8 +1208,14 @@ AND (columns[2] &gt; 250)) LIMIT 10;
 
 <h2 id="querying-compressed-files">Querying Compressed Files</h2>
 
-<p>You can query compressed GZ files, such as JSON and CSV, as well as uncompressed
files. The file extension specified in the <code>formats . . . extensions</code>
property of the storage plugin configuration must precede the gz extension in the file name.
For example, <code>proddata.json.gz</code> or <code>mydata.csv.gz</code>
are valid file names to use in a query, as shown in the next example.</p>
-
+<p>You can query compressed JSON and CSV files. You can specify a file extension in
the <code>formats . . . extensions</code> property of the storage plugin configuration
to include the gz extension in the file name, or you can rename files, for example, <code>proddata.json.gz</code>
or <code>mydata.csv.gz</code>, as shown in the next example. To change the <code>formats
. . . extensions</code> property, you can copy the <code>dfs</code> storage
plugin configuration to create a custom configuration. Using the following property in a configuration,
Drill can read JSON in gzipped filed named <code>somefile.gz</code>:</p>
+<div class="highlight"><pre><code class="language-text" data-lang="text">
   &quot;json&quot;: {
+      &quot;type&quot;: &quot;json&quot;,
+      &quot;extensions&quot;: [
+        &quot;gz&quot;
+      ]
+    },
+</code></pre></div>
 <h3 id="query-the-gz-file-directly">Query the GZ File Directly</h3>
 
 <p>This example covers how to query the GZ file containing the compressed TSV data.
The GZ file name needs to be renamed to specify the type of delimited file, such as CSV or
TSV. You add <code>.tsv</code> before the <code>.gz</code> extension
in this example.</p>

http://git-wip-us.apache.org/repos/asf/drill-site/blob/777ba012/docs/supported-data-types/index.html
----------------------------------------------------------------------
diff --git a/docs/supported-data-types/index.html b/docs/supported-data-types/index.html
index 0826322..4f95ee7 100644
--- a/docs/supported-data-types/index.html
+++ b/docs/supported-data-types/index.html
@@ -1648,12 +1648,12 @@ and CONVERT_FROM functions:</p>
 <tr>
 <td>TIMESTAMP_EPOCH</td>
 <td>bytes(8)</td>
-<td>DATE/TIME</td>
+<td>TIMESTAMP</td>
 </tr>
 <tr>
 <td>TIMESTAMP_IMPALA*</td>
-<td>bytes(8)</td>
-<td>INT96</td>
+<td>bytes(12)</td>
+<td>TIMESTAMP</td>
 </tr>
 <tr>
 <td>UTF8</td>

http://git-wip-us.apache.org/repos/asf/drill-site/blob/777ba012/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 6410fc0..d3fc407 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, 20 Oct 2015 15:02:51 -0700</pubDate>
-    <lastBuildDate>Tue, 20 Oct 2015 15:02:51 -0700</lastBuildDate>
+    <pubDate>Mon, 26 Oct 2015 17:53:14 -0700</pubDate>
+    <lastBuildDate>Mon, 26 Oct 2015 17:53:14 -0700</lastBuildDate>
     <generator>Jekyll v2.5.2</generator>
     
       <item>


Mime
View raw message