Repository: drill-site Updated Branches: refs/heads/asf-site bf910b0d6 -> 36873db33
update per DRILL-4515 Project: http://git-wip-us.apache.org/repos/asf/drill-site/repo Commit: http://git-wip-us.apache.org/repos/asf/drill-site/commit/36873db3 Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/36873db3 Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/36873db3 Branch: refs/heads/asf-site Commit: 36873db332b4fe1bdf6d7b133b1499042cef078c Parents: bf910b0 Author: Bridget Bevens <[email protected]> Authored: Mon Mar 21 12:23:44 2016 -0700 Committer: Bridget Bevens <[email protected]> Committed: Mon Mar 21 12:23:44 2016 -0700 ---------------------------------------------------------------------- docs/text-files-csv-tsv-psv/index.html | 10 +++++----- feed.xml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill-site/blob/36873db3/docs/text-files-csv-tsv-psv/index.html ---------------------------------------------------------------------- diff --git a/docs/text-files-csv-tsv-psv/index.html b/docs/text-files-csv-tsv-psv/index.html index 726ace9..b5dd252 100644 --- a/docs/text-files-csv-tsv-psv/index.html +++ b/docs/text-files-csv-tsv-psv/index.html @@ -1054,7 +1054,7 @@ </div> - + Mar 21, 2016 <link href="/css/docpage.css" rel="stylesheet" type="text/css"> @@ -1070,14 +1070,14 @@ <h3 id="select-data-from-particular-columns">Select Data from Particular Columns</h3> -<p>Converting text files to another format, such as Parquet, using the CTAS command and a SELECT * statement is not recommended. Instead, you should select data from particular columns. If your text file have no headers, use the <a href="/docs/querying-plain-text-files">COLUMN[n] syntax</a>, and then assign meaningful column names using aliases. For example:</p> +<p>Converting text files to another format, such as Parquet, using the CTAS command and a SELECT * statement is not recommended. Instead, you should select data from particular columns. If your text files have no headers, use the <a href="/docs/querying-plain-text-files">COLUMN[n] syntax</a>, and then assign meaningful column names using aliases. For example:</p> <div class="highlight"><pre><code class="language-text" data-lang="text">CREATE TABLE parquet_users AS SELECT CAST(COLUMNS[0] AS INT) AS user_id, COLUMNS[1] AS username, CAST(COLUMNS[2] AS TIMESTAMP) AS registration_date FROM `users.csv1`; </code></pre></div> -<p>You need to select particular columns instead of using SELECT * for performance reasons. Drill reads CSV, TSV, and PSV files into a list of VARCHARS, rather than individual columns. While parquet supports and Drill reads lists, as of this release of Drill, the read path for complex data is not optimized. </p> +<p>You need to select particular columns instead of using SELECT * for performance reasons. Drill reads CSV, TSV, and PSV files into a list of VARCHARS, rather than individual columns. </p> -<p>If your text file have headers, you can enable extractHeader and select particular columns by name. For example:</p> +<p>If your text files have headers, you can enable extractHeader and select particular columns by name. For example:</p> <div class="highlight"><pre><code class="language-text" data-lang="text">CREATE TABLE parquet_users AS SELECT CAST(user_id AS INT) AS user_id, username, CAST(registration_date AS TIMESTAMP) AS registration_date FROM `users.csv1`; @@ -1103,7 +1103,7 @@ FROM `users.csv1`; <h3 id="use-a-distributed-file-system">Use a Distributed File System</h3> -<p>Using a distributed file system, such as HDFS, instead of a local file system to query the files also improves performance because currently Drill does not split files on block splits.</p> +<p>Using a distributed file system, such as HDFS, instead of a local file system to query files improves performance because Drill attempts to split files on block boundaries. i</p> <h2 id="configuring-drill-to-read-text-files">Configuring Drill to Read Text Files</h2> http://git-wip-us.apache.org/repos/asf/drill-site/blob/36873db3/feed.xml ---------------------------------------------------------------------- diff --git a/feed.xml b/feed.xml index 3b48e07..f6ae9d2 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, 17 Mar 2016 11:42:45 -0700</pubDate> - <lastBuildDate>Thu, 17 Mar 2016 11:42:45 -0700</lastBuildDate> + <pubDate>Mon, 21 Mar 2016 12:20:28 -0700</pubDate> + <lastBuildDate>Mon, 21 Mar 2016 12:20:28 -0700</lastBuildDate> <generator>Jekyll v2.5.2</generator> <item>
