drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bridg...@apache.org
Subject drill git commit: misc edits
Date Tue, 27 Oct 2015 00:50:45 GMT
Repository: drill
Updated Branches:
  refs/heads/gh-pages dd4cdd0f5 -> 6e5a2f93d


misc edits


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

Branch: refs/heads/gh-pages
Commit: 6e5a2f93dffd6dc71beff9beab758b0647e1ce7d
Parents: dd4cdd0
Author: Kristine Hahn <khahn@maprtech.com>
Authored: Fri Oct 23 17:31:08 2015 -0700
Committer: Kristine Hahn <khahn@maprtech.com>
Committed: Fri Oct 23 17:31:08 2015 -0700

----------------------------------------------------------------------
 .../data-sources-and-file-formats/050-json-data-model.md  | 10 +---------
 .../query-a-file-system/030-querying-plain-text-files.md  |  9 ++++++++-
 _docs/rn/070-0.6.0-rn.md                                  |  2 +-
 .../sql-reference/data-types/010-supported-data-types.md  |  4 ++--
 4 files changed, 12 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/6e5a2f93/_docs/data-sources-and-file-formats/050-json-data-model.md
----------------------------------------------------------------------
diff --git a/_docs/data-sources-and-file-formats/050-json-data-model.md b/_docs/data-sources-and-file-formats/050-json-data-model.md
index 95d186c..b7c0b91 100644
--- a/_docs/data-sources-and-file-formats/050-json-data-model.md
+++ b/_docs/data-sources-and-file-formats/050-json-data-model.md
@@ -372,7 +372,6 @@ Use dot notation, for example `t.birth.lastname` and `t.birth.bearer.max_hdl`
to
 ## Limitations and Workarounds
 In most cases, you can use a workaround, presented in the following sections, to overcome
the following limitations:
 
-* [Array at the root level]({{site.baseurl}}/docs/json-data-model/#array-at-the-root-level)
 * [Complex nested data]({{site.baseurl}}/docs/json-data-model/#complex-nested-da[ta)
 * [Commas between records]({{site.baseurl}}/docs/json-data-model/#commas-between-records)
 * [Irregular data]({{site.baseurl}}/docs/json-data-model/#irregular-data)
@@ -384,13 +383,6 @@ In most cases, you can use a workaround, presented in the following sections,
to
 * [Schema changes]({{site.baseurl}}/docs/json-data-model/#schema-changes)
 * [Selecting all in a JSON directory query]({{site.baseurl}}/docs/json-data-model/#selecting-all-in-a-json-directory-query)
 
-### Array at the root level
-Drill cannot read an array at the root level, outside an object.
-
-Workaround: Remove square brackets at the root of the object, as shown in the following example.
-
-![drill query flow]({{ site.baseurl }}/docs/img/datasources-json-bracket.png)
-
 ### Complex nested data
 Drill cannot read some complex nested arrays unless you use a table alias.
 
@@ -474,7 +466,7 @@ MultiPolygons will fail.
 Workaround: None.
 
 ### Misusing Dot Notation
-Drill accesses an object when you use dot notation in the SELECT statement sses only when
the dot is *not* 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:
+Drill accesses an object when you use dot notation in the SELECT statement only when the
dot is *not* 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:
 
 ``select geometry from  dfs.`some-file.json`;``
 

http://git-wip-us.apache.org/repos/asf/drill/blob/6e5a2f93/_docs/query-data/query-a-file-system/030-querying-plain-text-files.md
----------------------------------------------------------------------
diff --git a/_docs/query-data/query-a-file-system/030-querying-plain-text-files.md b/_docs/query-data/query-a-file-system/030-querying-plain-text-files.md
index 07e1e03..f772e3a 100644
--- a/_docs/query-data/query-a-file-system/030-querying-plain-text-files.md
+++ b/_docs/query-data/query-a-file-system/030-querying-plain-text-files.md
@@ -198,7 +198,14 @@ The Drill default storage plugins support common file formats.
 
 ## Querying Compressed Files
 
-You can query compressed GZ files, such as JSON and CSV, as well as uncompressed files. The
file extension specified in the `formats . . . extensions` property of the storage plugin
configuration must precede the gz extension in the file name. For example, `proddata.json.gz`
or `mydata.csv.gz` are valid file names to use in a query, as shown in the next example.
+You can query compressed JSON and CSV files. You can specify a file extension in the `formats
. . . extensions` property of the storage plugin configuration to include the gz extension
in the file name, or you can rename files, for example, `proddata.json.gz` or `mydata.csv.gz`,
as shown in the next example. To change the `formats . . . extensions` property, you can copy
the `dfs` storage plugin configuration to create a custom configuration. Using the following
property in a configuration, Drill can read JSON in gzipped filed named `somefile.gz`:
+
+        "json": {
+          "type": "json",
+          "extensions": [
+            "gz"
+          ]
+        },
 
 ### Query the GZ File Directly
 

http://git-wip-us.apache.org/repos/asf/drill/blob/6e5a2f93/_docs/rn/070-0.6.0-rn.md
----------------------------------------------------------------------
diff --git a/_docs/rn/070-0.6.0-rn.md b/_docs/rn/070-0.6.0-rn.md
index 5b4ee00..ce19d0c 100755
--- a/_docs/rn/070-0.6.0-rn.md
+++ b/_docs/rn/070-0.6.0-rn.md
@@ -20,7 +20,7 @@ This release is primarily a bug fix release, with [more than 30 JIRAs closed](
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12313820&vers
 ion=12327472), but there are some notable features:
 
-  * Direct ANSI SQL access to MongoDB, using the latest [MongoDB Plugin for Apache Drill]({{
site.baseurl }}/docs/mongodb-plugin-for-apache-drill)
+  * Direct ANSI SQL access to MongoDB, using the latest [MongoDB Plugin for Apache Drill]({{
site.baseurl }}/docs/mongodb-storage-plugin)
   * Filesystem query performance improvements with partition pruning
   * Ability to use the file system as a persistent store for query profiles and diagnostic
information
   * Window function support (alpha)

http://git-wip-us.apache.org/repos/asf/drill/blob/6e5a2f93/_docs/sql-reference/data-types/010-supported-data-types.md
----------------------------------------------------------------------
diff --git a/_docs/sql-reference/data-types/010-supported-data-types.md b/_docs/sql-reference/data-types/010-supported-data-types.md
index b2b5582..6f07a62 100644
--- a/_docs/sql-reference/data-types/010-supported-data-types.md
+++ b/_docs/sql-reference/data-types/010-supported-data-types.md
@@ -219,8 +219,8 @@ DATE_EPOCH_BE| bytes(8)| DATE
 DATE_EPOCH| bytes(8)| DATE  
 TIME_EPOCH_BE| bytes(8)| TIME  
 TIME_EPOCH| bytes(8)| TIME  
-TIMESTAMP_EPOCH| bytes(8)| DATE/TIME
-TIMESTAMP_IMPALA*| bytes(8)| INT96
+TIMESTAMP_EPOCH| bytes(8)| TIMESTAMP
+TIMESTAMP_IMPALA*| bytes(12)| TIMESTAMP
 UTF8| bytes| VARCHAR  
 UTF16| bytes| VAR16CHAR  
 UINT8| bytes(8)| UINT8  


Mime
View raw message