ISSUE-600: data-shell/data/animals.txt is truncated #722
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added additional records to bring the animals.txt file up to 586 lines as mentioned in the text. Added ellipses to the file listing to indicate more data exists in the file than listed.
Before the change, checked the output of the example
[arne@localhost data]$ cat animals.txt | head -n 5 | tail -n 3 | sort -r
2012-11-06,rabbit
2012-11-06,deer
2012-11-05,raccoon
Added additional records and checked the distribution of values
[arne@localhost data]$ wc -l animals.txt
586 animals.txt
[arne@localhost data]$ cat animals.txt | sort | uniq -c
43 2012-11-05,bear
35 2012-11-05,deer
44 2012-11-05,fox
44 2012-11-05,rabbit
45 2012-11-05,raccoon
42 2012-11-06,bear
37 2012-11-06,deer
44 2012-11-06,fox
39 2012-11-06,rabbit
35 2012-11-06,raccoon
36 2012-11-07,bear
32 2012-11-07,deer
40 2012-11-07,fox
36 2012-11-07,rabbit
34 2012-11-07,raccoon
Tested the example pipeline to ensure no changes resulted
[arne@localhost data]$ cat animals.txt | head -n 5 | tail -n 3 | sort -r
2012-11-06,rabbit
2012-11-06,deer
2012-11-05,raccoon