For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e within the Google Cloud Spanner C++ library, detailing its usage across various library versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e allows users to set a preferred maximum number of partitions when using \u003ccode\u003eClient::PartitionRead()\u003c/code\u003e or \u003ccode\u003ePartitionQuery()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and documentation is available for versions down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe default value for \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e is 10,000, with a maximum value of 200,000, although the actual number of returned partitions may differ from the set hint.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e has a Type Alias of \u003ccode\u003estd::int64_t\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]