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

Table query not extracting and following continuation token properly #5425

Closed
djyou opened this issue Aug 3, 2019 · 1 comment
Closed

Table query not extracting and following continuation token properly #5425

djyou opened this issue Aug 3, 2019 · 1 comment

Comments

@djyou
Copy link
Member

djyou commented Aug 3, 2019

Bug Report

Azure Storage table query may return results with non-empty x-ms-continuation-NextPartitionKey but empty x-ms-continuation-NextRowKey, see https://docs.microsoft.com/en-us/rest/api/storageservices/query-timeout-and-pagination

The current Go SDK implementation couldn't extract and follow the continuation token for these cases due to the assumption that both have to exist

if ct.NextPartitionKey != "" && ct.NextRowKey != "" {

The expectation is that (also how other SDKs handle continuation token), the pagination headers don't have dependencies on each other, and any non-empty ones should formulate a continuation token and be added to the URL of the next request.

@jhendrixMSFT
Copy link
Member

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants