You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "boluor (via GitHub)" <gi...@apache.org> on 2026/05/26 14:03:56 UTC
[PR] [fix](doc) monthname.md en: break prose comment from SET onto its own line [doris-website]
boluor opened a new pull request, #3807:
URL: https://github.com/apache/doris-website/pull/3807
## Summary
Doc page (4.x): \`scalar-functions/date-time-functions/monthname.md\` (EN).
The 4th example began with the single line:
\`\`\`
---Control the output language by setting \`lc_time_names\`SET lc_time_names='zh_CN';
\`\`\`
The opening \`---\` is a SQL line comment, so the *entire* line — including the SET — was being commented out. The next SELECT then ran without \`lc_time_names\` actually being changed and returned \`July\` instead of the documented \`七月\`.
Break the SET onto its own line so it executes. ZH already does this.
## Verification
Confirmed on a single-node Apache Doris 4.1.1 cluster:
\`\`\`
mysql> SET lc_time_names='zh_CN';
mysql> SELECT MONTHNAME('2023-07-13 22:28:18') AS result;
+--------+
| result |
+--------+
| 七月 |
+--------+
\`\`\`
## Test plan
- [x] Apply the fix; \`SET lc_time_names='zh_CN'; SELECT MONTHNAME(...)\` executed on 4.1.1 cluster returns \`七月\` as the doc states.
- [x] No other change.
🤖 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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](doc) monthname.md en: break prose comment from SET onto its own line [doris-website]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #3807:
URL: https://github.com/apache/doris-website/pull/3807
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org