CSVReader only reads first 1000 entries
Brought to you by:
aruckerjones,
sconway
When I read this file http://dl.dropbox.com/u/4820835/opencsv/issues-jb-all.zip I only get 1001 String[] entries while it contains many more entries. It's a CSV dump of all JetBrains issues in their YouTrack tracker.
See the screenshot attached.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Nope - the file you sent had EXACTLY 1001 entries.
I opened the file in vi and saw it had 38164 lines. Seeing that the file contained stack traces and code dumps in I figured 38 lines per issue was a good average.
I then noticed that each issue ended in a ^M so I ran a grep on it to see how many issues there were exactly:
grep ^M issues-jb-all.csv | wc -l
1001
So after the header there are 1000 entries.
The issue then is that there are exactly 1000 bugs in the jetbrains database or when you ask for all it only sends the latest 1000 to save space/time.