Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed missing row issues due to skipping heade row in each page of responses(#12) #13

Merged
merged 1 commit into from
Sep 26, 2018

Conversation

nfssdq
Copy link
Contributor

@nfssdq nfssdq commented Sep 23, 2018

This PR addresses the issue in #12 . I didn't fix the issue #10 . However i have put a SkipHeaderRow field in the config which can be used to signal if it should skip the first row of the first response page. But whatever happens the first row of the subsequent pages of the query response are not skipped.

@tejasmanohar
Copy link
Contributor

tejasmanohar commented Sep 24, 2018

Thanks for the PR! I'd rather test against the real AWS API instead of mocks if it's convenient since that's what we've been doing so far, and it's what matters in the end.

How many results does it take to hit a new page? Is it a static amount?

@nfssdq
Copy link
Contributor Author

nfssdq commented Sep 24, 2018

The default page size is 1000 i think. Unfortunately i don't have a test account for aws, this issue came up when trying to run some queries in my workplace, and i can't share the query or the data. so mocking seemed the easier way. please suggest some way to test it. thanks.

@tejasmanohar
Copy link
Contributor

@nfssdq Got it. We need CI haha so only integration tests can be reasonably accepted. Anyhow, mocks are OK here. Merging. Thanks!

@tejasmanohar tejasmanohar merged commit 6fc6193 into segmentio:master Sep 26, 2018
@nfssdq
Copy link
Contributor Author

nfssdq commented Sep 26, 2018

Thanks a lot for merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants