boluor opened a new pull request, #3791:
URL: https://github.com/apache/doris-website/pull/3791

   ## Summary
   
   Doc page (4.x): \`scalar-functions/string-functions/uncompress.md\` (ZH).
   
   The ZH page's third example reads:
   
   \`\`\`sql
   select uncompress(compress(abc));
   \`\`\`
   
   \`abc\` here is an unquoted identifier (column reference). On a single-node 
Apache Doris 4.1.1 cluster this fails with:
   
   \`\`\`
   ERROR 1105 (HY000): errCode = 2, detailMessage = Unknown column 'abc' in 
'table list' in UNBOUND_ONE_ROW_RELATION clause
   \`\`\`
   
   But the result block right under it shows column header 
\`uncompress('abc')\` and value \`NULL\` — exactly what the EN page produces 
from \`select uncompress('abc');\`. The author clearly intended the same \"feed 
a non-COMPRESS-derived string to uncompress → NULL\" example as EN, with the 
surrounding string-literal quotes accidentally dropped.
   
   This change restores the quotes so the SQL and the result block agree, and 
the example actually runs.
   
   ## Verification
   
   - Reproduced the failure on 4.1.1 cluster (Unknown column 'abc' error).
   - Confirmed \`select uncompress('abc');\` returns \`NULL\` exactly as shown 
in the documented result block.
   
   ## Test plan
   
   - [x] Run the corrected SQL on the cluster — produces the documented result.
   - [x] No other content 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]

Reply via email to