#80 CSVReader only reads first 1000 entries

closed-works-for-me
nobody
None
5
2011-10-23
2011-10-19
Anonymous
No

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.

Discussion


  • Anonymous
    2011-10-19

     
    Attachments
  • Scott Conway
    Scott Conway
    2011-10-23

    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.

     
  • Scott Conway
    Scott Conway
    2011-10-23

    • status: open --> closed-works-for-me