You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by jm...@apache.org on 2023/02/14 15:49:35 UTC
[accumulo-examples] branch 2.1 updated: Update sample.md docs
This is an automated email from the ASF dual-hosted git repository.
jmark99 pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 1a3c6cc Update sample.md docs
1a3c6cc is described below
commit 1a3c6ccb04fb1719ac877f252c35a7357d3945d4
Author: Mark Owens <jm...@apache.org>
AuthorDate: Tue Feb 14 10:49:31 2023 -0500
Update sample.md docs
Updated some of the counts to more closely match output with recent updates to Accumulo.
---
docs/sample.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/sample.md b/docs/sample.md
index 9990907..05ac19f 100644
--- a/docs/sample.md
+++ b/docs/sample.md
@@ -170,15 +170,15 @@ After enabling sampling, the command below counts the number of documents in
the sample containing the words `import` and `int`.
$ ./bin/runex shard.Query --sample -t examples.shard import int | fgrep '.java' | wc
- 11 11 1246
+ 4 4 395
The command below counts the total number of documents containing the words
`import` and `int`.
$ ./bin/runex shard.Query -t examples.shard import int | fgrep '.java' | wc
- 1085 1085 118175
+ 382 382 40084
-The counts 11 out of 1085 total are around what would be expected for a modulus
+The counts 4 out of 395 total are around what would be expected for a modulus
of 101. Querying the sample first provides a quick way to estimate how much data
the real query will bring back.