{"Entry":{"collection":"func","key":"ntile","name":"ntile","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"eb793edf2a120752477f8824a1ac049b5c045a6571f319f833b2d55caba37524","derived_content_hash":"067109f26ffaa9931859a4340e9f7d0df91705b154fef5beec3132c7f2e4933c","first_version":"8.4","group":"window","group_label":"Window Functions","groups":["window"],"imported_at":"2026-09-27T17:57:29.008749+08:00","last_version":"20","name":"ntile","name_key":"ntile","position":22005,"present_in":["8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"d82eca78dd1d1b3fcc7a2dd9b7a50788ca8dde6ed5b7f183c6616a431edd9271","repair":"wiki-repair-20261023"},"signature":"ntile ( num_buckets integer ) → integer","signature_count":1,"slug":"ntile","source_rev":"wiki-repair-20261023:55f6281d1d6766851a3f3c9c860b53ff82c204a0b584428c3109c7cdbedbb4c6","summary":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","summary_zh":""}},"Definition":{"Collection":"func","Key":"ntile","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ntile","SourceRevision":"wiki-repair-20261023:55f6281d1d6766851a3f3c9c860b53ff82c204a0b584428c3109c7cdbedbb4c6","Facts":{"description":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_html":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_zh":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","description_zh_html":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"},"group":"window","group_label":"Window Functions","lang":"en","layout":"table-new","pages":["functions-window.html"],"prose_only":false,"signatures":[{"description":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_html":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_zh":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","description_zh_html":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","examples":[],"html":"\u003ccode class=\"function\"\u003entile\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enum_buckets\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"ntile ( num_buckets integer ) → integer","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-window.html","sha256":"859f0e20306eeaf9a15406f95e01cb81a166cfbe2fd21534fc44df3f903b4e6d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"ntile","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ntile","Summary":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","BodyHTML":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","SourceRevision":"wiki-repair-20261023:55f6281d1d6766851a3f3c9c860b53ff82c204a0b584428c3109c7cdbedbb4c6","ContentHash":"0ba2670a08faaf22148dbe7f436dd3bcb65efe3f1b10543c6e59faa03b5f8db0","Payload":{"description":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_html":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","signatures":[{"description":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_html":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_zh":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","description_zh_html":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","examples":[],"html":"\u003ccode class=\"function\"\u003entile\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enum_buckets\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"ntile ( num_buckets integer ) → integer","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"f8bc647a271500cecca8e3e5e330d0ff0eaad92a81ec27ddc5f5be193621c5ca","Text":"ntile ( num_buckets integer ) → integer","Returns":"integer","Payload":{"description":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_html":"Returns an integer ranging from 1 to the argument value, dividing the partition as equally as possible.","description_zh":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","description_zh_html":"返回从 1 到参数值的整数，将分区尽可能均等地划分。","examples":[],"html":"\u003ccode class=\"function\"\u003entile\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enum_buckets\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"ntile ( num_buckets integer ) → integer","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
