Repository: drill-site Updated Branches: refs/heads/asf-site 78d5ee806 -> b373927d2
update for multiple window in query support, 1.2 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/b373927d Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/b373927d Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/b373927d Branch: refs/heads/asf-site Commit: b373927d2f926cbad1ab53f272ad1a230b06d728 Parents: 78d5ee8 Author: Bridget Bevens <[email protected]> Authored: Tue Oct 6 16:51:27 2015 -0700 Committer: Bridget Bevens <[email protected]> Committed: Tue Oct 6 16:51:27 2015 -0700 ---------------------------------------------------------------------- .../index.html | 5 --- .../index.html | 6 +-- .../index.html | 40 ++++++++++---------- feed.xml | 4 +- 4 files changed, 23 insertions(+), 32 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill-site/blob/b373927d/docs/configuring-multitenant-resources/index.html ---------------------------------------------------------------------- diff --git a/docs/configuring-multitenant-resources/index.html b/docs/configuring-multitenant-resources/index.html index fdc10e2..5154446 100644 --- a/docs/configuring-multitenant-resources/index.html +++ b/docs/configuring-multitenant-resources/index.html @@ -1008,11 +1008,6 @@ OS = 8G </p> <p>If Yarn does most of the work, give Drill 20G, for example, and give Yarn 60G. If you expect a heavy query load, give Drill 60G and Yarn 20G.</p> -<p><div class="admonition note"> - <p class="first admonition-title">Note</p> - <p class="last">Drill will execute queries within Yarn soon. </p> -</div> <a href="https://issues.apache.org/jira/browse/DRILL-142">DRILL-142</a></p> - <p>YARN consists of two main services:</p> <ul> http://git-wip-us.apache.org/repos/asf/drill-site/blob/b373927d/docs/lesson-2-run-queries-with-ansi-sql/index.html ---------------------------------------------------------------------- diff --git a/docs/lesson-2-run-queries-with-ansi-sql/index.html b/docs/lesson-2-run-queries-with-ansi-sql/index.html index 42241e5..33dfb91 100644 --- a/docs/lesson-2-run-queries-with-ansi-sql/index.html +++ b/docs/lesson-2-run-queries-with-ansi-sql/index.html @@ -1291,11 +1291,7 @@ supports the creation of metadata in the file system.</p> +----------+-------------------+-----------+----------+--------+----------+-------------+ 1 row selected </code></pre></div> -<p>Once the users get an idea on what data is available by exploring it directly -from file system , views can be used as a way to take the data in downstream -tools like Tableau, Microstrategy etc for downstream analysis and -visualization. For these tools, a view appears simply as a âtableâ with -selectable âcolumnsâ in it.</p> +<p>Once the users know what data is available by exploring it directly from the file system, views can be used as a way to read the data into downstream tools such as Tableau and MicroStrategy for analysis and visualization. For these tools, a view appears simply as a âtableâ with selectable âcolumnsâ in it.</p> <h2 id="query-across-data-sources">Query Across Data Sources</h2> http://git-wip-us.apache.org/repos/asf/drill-site/blob/b373927d/docs/sql-window-functions-introduction/index.html ---------------------------------------------------------------------- diff --git a/docs/sql-window-functions-introduction/index.html b/docs/sql-window-functions-introduction/index.html index 54768f2..a764f39 100644 --- a/docs/sql-window-functions-introduction/index.html +++ b/docs/sql-window-functions-introduction/index.html @@ -993,9 +993,9 @@ <div class="int_text" align="left"> - <p>Window functions operate on a set of rows and return a single value for each row from the underlying query. The term window describes the set of rows on which the function operates. A window function uses values from the rows in a window to calculate the returned values. </p> + <p>Window functions operate on a set of rows and return a single value for each row from the underlying query. The term window describes the set of rows on which the function operates. A window function uses values from the rows in a window to calculate the returned values. </p> -<p>When you use a window function in a query, you specify a window using the OVER() clause. The OVER() clause differentiates window functions from other analytical and reporting functions. </p> +<p>When you use a window function in a query, define the window using the OVER() clause. The OVER() clause (window definition) differentiates window functions from other analytical and reporting functions. A query can include multiple window functions with the same or different window definitions. </p> <p>The OVER() clause has the following capabilities: </p> @@ -1060,34 +1060,34 @@ To compare, you can run a query using the AVG() function as a standard set funct <p>Currently, Drill supports the following value, aggregate, and ranking window functions: </p> -<p>Value</p> +<p><a href="/docs/value-window-functions/">Value</a></p> <ul> -<li>FIRST_VALUE()</li> -<li>LAG()</li> -<li>LAST_VALUE()</li> -<li>LEAD() </li> +<li><a href="/docs/value-window-functions/#first_value-%7C-last_value">FIRST_VALUE()</a></li> +<li><a href="/docs/value-window-functions/#lag-%7C-lead">LAG()</a></li> +<li><a href="/docs/value-window-functions/#first_value-%7C-last_value">LAST_VALUE()</a></li> +<li><a href="/docs/value-window-functions/#lag-%7C-lead">LEAD()</a> </li> </ul> -<p>Aggregate </p> +<p><a href="/docs/aggregate-window-functions/">Aggregate</a> </p> <ul> -<li>AVG()</li> -<li>COUNT()</li> -<li>MAX()</li> -<li>MIN()</li> -<li>SUM()</li> +<li><a href="/docs/aggregate-window-functions/">AVG()</a></li> +<li><a href="/docs/aggregate-window-functions/">COUNT()</a></li> +<li><a href="/docs/aggregate-window-functions/">MAX()</a></li> +<li><a href="/docs/aggregate-window-functions/">MIN()</a></li> +<li><a href="/docs/aggregate-window-functions/">SUM()</a></li> </ul> -<p>Ranking </p> +<p><a href="/docs/ranking-window-functions/">Ranking</a> </p> <ul> -<li>CUME_DIST()</li> -<li>DENSE_RANK()</li> -<li>NTILE()</li> -<li>PERCENT_RANK()</li> -<li>RANK()</li> -<li>ROW_NUMBER()</li> +<li><a href="/docs/ranking-window-functions/">CUME_DIST()</a></li> +<li><a href="/docs/ranking-window-functions/">DENSE_RANK()</a></li> +<li><a href="/docs/ranking-window-functions/">NTILE()</a></li> +<li><a href="/docs/ranking-window-functions/">PERCENT_RANK()</a></li> +<li><a href="/docs/ranking-window-functions/">RANK()</a></li> +<li><a href="/docs/ranking-window-functions/">ROW_NUMBER()</a></li> </ul> <p>All of the ranking functions depend on the sort ordering specified by the ORDER BY clause of the associated window definition. Rows that are not distinct in the ordering are called peers. The ranking functions are defined so that they give the same answer for any two peer rows. </p> http://git-wip-us.apache.org/repos/asf/drill-site/blob/b373927d/feed.xml ---------------------------------------------------------------------- diff --git a/feed.xml b/feed.xml index d7316c1..8d01455 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, 05 Oct 2015 16:08:13 -0700</pubDate> - <lastBuildDate>Mon, 05 Oct 2015 16:08:13 -0700</lastBuildDate> + <pubDate>Tue, 06 Oct 2015 16:47:12 -0700</pubDate> + <lastBuildDate>Tue, 06 Oct 2015 16:47:12 -0700</lastBuildDate> <generator>Jekyll v2.5.2</generator> <item>
