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 2019/05/02 17:18:26 UTC
[drill] branch gh-pages updated: edits
This is an automated email from the ASF dual-hosted git repository.
bridgetb pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 23e431a edits
23e431a is described below
commit 23e431a2b2df80f785fbbb187a6b2f5717d87d51
Author: Bridget Bevens <bb...@maprtech.com>
AuthorDate: Thu May 2 10:17:51 2019 -0700
edits
---
_docs/sql-reference/sql-commands/009-analyze-table.md | 2 +-
blog/_posts/2019-05-02-drill-1.16-released.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/_docs/sql-reference/sql-commands/009-analyze-table.md b/_docs/sql-reference/sql-commands/009-analyze-table.md
index 22ec084..544f4a9 100644
--- a/_docs/sql-reference/sql-commands/009-analyze-table.md
+++ b/_docs/sql-reference/sql-commands/009-analyze-table.md
@@ -4,7 +4,7 @@ date: 2019-05-02
parent: "SQL Commands"
---
-Drill 1.16 and later supports the ANALYZE TABLE statement. The ANALYZE TABLE statement computes statistics on Parquet data stored in tables and directories. ANALYZE TABLE writes statistics to a JSON file in the `.stats.drill` directory, for example `/user/table1/.stats.drill/0_0.json`. The optimizer in Drill uses these statistics to estimate filter, aggregation, and join cardinalities to create more efficient query plans.
+Drill 1.16 and later supports the ANALYZE TABLE statement. The ANALYZE TABLE statement computes statistics on Parquet data stored in tables and directories. ANALYZE TABLE writes statistics to a JSON file in the `.stats.drill` directory, for example `/user/table1/.stats.drill/0_0.json`. The optimizer in Drill uses these statistics to estimate filter, aggregation, and join cardinalities and create more efficient query plans.
You can run the ANALYZE TABLE statement to calculate statistics for tables, columns, and directories with Parquet data; however, Drill will not use the statistics for query planning unless you enable the `planner.statistics.use` option, as shown:
diff --git a/blog/_posts/2019-05-02-drill-1.16-released.md b/blog/_posts/2019-05-02-drill-1.16-released.md
index 0cfee85..27abbfa 100644
--- a/blog/_posts/2019-05-02-drill-1.16-released.md
+++ b/blog/_posts/2019-05-02-drill-1.16-released.md
@@ -14,7 +14,7 @@ This release provides the following bug fixes and improvements:
The [ANALYZE TABLE statement]({{site.baseurl}}/docs/analyze-table/) computes statistics and generates histograms for numeric data types.
## Schema Provisioning for Text Files
-The [CREATE OR REPLACE SCHEMA command]({{site.baseurl}}/docs/create-or-replace-schema/) defines a schema for text files (alpha phase).
+The [CREATE OR REPLACE SCHEMA command]({{site.baseurl}}/docs/create-or-replace-schema/) defines a schema for text files. (In Drill 1.16, this feature is in preview status.)
## Parquet Metadata Caching Improvements
The [REFRESH TABLE METADATA command]({{site.baseurl}}/docs/refresh-table-metadata/) can generate metadata cache files for specific columns.