databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

[ISSUE] Users.ListAll function handles `Count` parameter as total count, not as the page size.

Open alexott opened this issue 1 year ago • 0 comments

Tested on current Terraform trunk.

The documentation for aim.ListUsersRequest says (Go SDK as well):

// Desired number of results per page.
Count int64 `json:"-" url:"count,omitempty"`

But it's treated as a total Count, not as page size, so if I specify it, it returns only N items, although I want to have just a bigger page size to avoid performance problems when listing users in the big workspace.

alexott avatar Jan 29 '24 17:01 alexott