You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2017/10/10 22:44:20 UTC
svn commit: r1811777 - in /phoenix/site: publish/tablesample.html
source/src/site/markdown/tablesample.md
Author: jamestaylor
Date: Tue Oct 10 22:44:20 2017
New Revision: 1811777
URL: http://svn.apache.org/viewvc?rev=1811777&view=rev
Log:
Fix typo in table sampling docs
Modified:
phoenix/site/publish/tablesample.html
phoenix/site/source/src/site/markdown/tablesample.md
Modified: phoenix/site/publish/tablesample.html
URL: http://svn.apache.org/viewvc/phoenix/site/publish/tablesample.html?rev=1811777&r1=1811776&r2=1811777&view=diff
==============================================================================
--- phoenix/site/publish/tablesample.html (original)
+++ phoenix/site/publish/tablesample.html Tue Oct 10 22:44:20 2017
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<!--
- Generated by Apache Maven Doxia at 2017-10-04
+ Generated by Apache Maven Doxia at 2017-10-10
Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin)
-->
<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
- <title>Table Sampliing | Apache Phoenix</title>
+ <title>Table Sampling | Apache Phoenix</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta http-equiv="content-language" content="en" />
@@ -160,7 +160,7 @@
<div class="span12">
<div class="body-content">
<div class="page-header">
- <h1>Table Sampliing</h1>
+ <h1>Table Sampling</h1>
</div>
<p>To support table sampling, similar to the Postgresql and T-SQL syntax, a TABLESAMPLE clause has been encorporated into the table aliases ref as of Phoenix 4.12. The general syntax is described <a href="language/index.html#aliased_table_ref">here</a>. This feature limits the number of rows returned from a table to a PERCENT of rows. See <a class="externalLink" href="https://issues.apache.org/jira/browse/PHOENIX-153">PHOENIX-153</a> for implementation details.</p>
<p>This feature is implmented with a Bernoulli trial, a consistent-hashing based tablesampler, to achieve a Bernoulli sampling on a given population (rows). When executed, given a sampling rate, it leverages Phoenixâs stats as well HBaseâs region distribution to perform a table sampling.</p>
Modified: phoenix/site/source/src/site/markdown/tablesample.md
URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/tablesample.md?rev=1811777&r1=1811776&r2=1811777&view=diff
==============================================================================
--- phoenix/site/source/src/site/markdown/tablesample.md (original)
+++ phoenix/site/source/src/site/markdown/tablesample.md Tue Oct 10 22:44:20 2017
@@ -1,4 +1,4 @@
-# Table Sampliing
+# Table Sampling
To support table sampling, similar to the Postgresql and T-SQL syntax, a TABLESAMPLE clause has been
encorporated into the table aliases ref as of Phoenix 4.12. The general syntax is described