doris icon indicating copy to clipboard operation
doris copied to clipboard

[Feature] Support SQL Mode: ANSI_QUOTES

Open lucienlgl opened this issue 9 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Description

Can we support the following SQL modes, similar to those in MySQL?

  • ANSI_QUOTES: Treat " as an identifier quote character (like the quote character) and not as a string quote character. You can still use to quote identifiers with this mode enabled. With [ANSI_QUOTES] enabled, you cannot use double quotation marks to quote literal strings because they are interpreted as identifiers.

From: https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html#sqlmode_ansi_quotes

Additionally, the SQL modes supported by Doris differ significantly from those of MySQL. Is there a plan to gradually support these modes?

Use case

Related issues

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

lucienlgl avatar Feb 27 '26 07:02 lucienlgl

We're closing this issue because it hasn't been updated in a while. If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!

github-actions[bot] avatar Aug 27 '26 01:08 github-actions[bot]