Skip to content

[fix](doc) quote.md en: drop backslash escape from expected output#3808

Open
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/quote-en-no-backslash-escape
Open

[fix](doc) quote.md en: drop backslash escape from expected output#3808
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/quote-en-no-backslash-escape

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 26, 2026

Summary

Doc page (4.x): `scalar-functions/string-functions/quote.md` (EN).

The EN example claimed:

```
| quote("It's a test") |
+----------------------+
| 'It\'s a test' |
```

But on Apache Doris 4.1.1 the actual mysql client output is:

```
| quote("It's a test") |
+----------------------+
| 'It's a test' |
```

(No backslash before the inner single quote.) ZH already shows the unescaped form. Update EN to match the actual cluster output.

Verification

`mysql -e "SELECT quote(\"It's a test\");"` against a 4.1.1 cluster returns the unescaped form quoted above.

Test plan

  • Re-run on 4.1.1 cluster after the change — value matches.
  • No other change.

🤖 Generated with Claude Code

The EN example expected `'It\'s a test'` but the cluster prints
`'It's a test'` (no backslash) when feeding the same SELECT through
the mysql client on Apache Doris 4.1.1. The ZH counterpart already
shows the unescaped form.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant