morningman opened a new pull request, #3763:
URL: https://github.com/apache/doris-website/pull/3763
## Summary
Documents the contract change introduced by apache/doris#63505,
cross-checked against the actual Java code and `DorisParser.g4` grammar (not
just the PR description):
- **Cloud mode (storage-compute decoupled)**:
- `CREATE / ALTER / DROP WORKLOAD GROUP` must explicitly carry the `FOR
<compute_group>` clause; omitting it now raises `Must specify compute group via
'FOR <compute_group>' in cloud mode.`
- The `workload_group` property of `CREATE / ALTER WORKLOAD POLICY` must
use the fully qualified `<compute_group>.<workload_group>` form; bare names,
extra dots, and empty segments are rejected.
- **Non-cloud mode (storage-compute coupled)**:
- The `FOR` clause is optional; the value is a resource group (Tag), with
the grammar shared with cloud mode for consistency. Omitting it falls back to
`Tag.VALUE_DEFAULT_TAG`.
- The `workload_group` property accepts either `<workload_group>` or
`<resource_group>.<workload_group>`.
## Files updated (8 files × 4 locations = 32)
EN current + EN version-4.x + ZH current + ZH version-4.x of:
- `sql-manual/.../CREATE-WORKLOAD-GROUP.md`
- `sql-manual/.../ALTER-WORKLOAD-GROUP.md`
- `sql-manual/.../DROP-WORKLOAD-GROUP.md`
- `sql-manual/.../CREATE-WORKLOAD-POLICY.md` (the EN file was a stale copy
of CREATE WORKLOAD GROUP content; rewritten to the correct policy structure as
part of this change)
- `sql-manual/.../ALTER-WORKLOAD-POLICY.md`
- `admin-manual/workload-management/workload-group-bind-compute-group.md`
- `admin-manual/workload-management/workload-group.md`
- `admin-manual/workload-management/sql-blocking.md`
## Test plan
- [ ] Render the updated pages locally and verify the new caution / note
blocks render correctly.
- [ ] Verify internal cross-links (no `.md` / `.mdx` extensions) resolve.
- [ ] Verify EN current and EN version-4.x stay byte-identical for these 8
files.
- [ ] Verify ZH current and ZH version-4.x stay byte-identical for these 8
files.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]