boluor opened a new pull request, #3802:
URL: https://github.com/apache/doris-website/pull/3802
## Summary
Doc page (4.x): \`scalar-functions/json-functions/json-extract-bigint.md\`
(ZH).
The first example on the ZH page calls \`json_extract_int(...)\`:
\`\`\`sql
SELECT json_extract_int('{\"id\": 122222222222223, \"name\": \"doris\"}',
'\$.id');
\`\`\`
…but the result block underneath shows the column header for
\`json_extract_bigint(...)\` and the value \`122222222222223\`. That is the
result of the *bigint* variant; the int variant returns NULL because
\`122222222222223\` overflows 32-bit INT.
The page is titled JSON_EXTRACT_BIGINT and every other example uses the
bigint variant — this was just a copy-paste typo on example 1.
## Verification
Confirmed on a single-node Apache Doris 4.1.1 cluster:
\`json_extract_int(...)\` returns NULL for this value,
\`json_extract_bigint(...)\` returns \`122222222222223\` as the doc shows.
## Test plan
- [x] Run the corrected SQL — returns \`122222222222223\` matching the
result block.
- [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: [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]