Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

CSV Streaming results in incorrect number of rows #209

Description

@marcesher

http://www.consumerfinance.gov/hmda/explore#!/as_of_year=2012,2011&action_taken=1&respondent_id=22-3887207&select=as_of_year,count&section=summary

Shows 8,966 records.

Clicking to download the full results as CSV would inconsistently produce a spreadsheet with 5 fewer rows. I observed this behavior over the course of an hour or so. Clicking on "labels and codes" would consistently get me a spreadsheet with the right number of rows, and clicking on "labels" would return 8991 probably 90% of the time. Then, eventually, it simply started working consistently as expected.

The only difference is that "labels" passes the full "$select" statement to include just the fields it needs, and "labels and codes" passes an empty $select. I doubt that matters.

@cndreisbach , can you think of anything in the CSV streaming bits that would cause this behavior? Nothing in the logs indicated a problem when I observed this behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions