You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: SQL mode behavior description for PIPES_AS_CONCAT (#3381)
## Summary
- Correct `PIPES_AS_CONCAT` behavior description: when not enabled, `||`
should be parsed as logical **OR** (not logical AND).
- Apply the fix across `dev`, `3.x`, and `4.x` for both English and
Chinese docs.
## Versions
- [x] dev
- [x] 4.x
- [x] 3.x
- [ ] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Reference
- Original PR: #3199
Co-authored-by: Felix021 <felix021@gmail.com>
Copy file name to clipboardExpand all lines: docs/query-data/mysql-compatibility.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,6 @@ Doris Function covers most MySQL functions.
265
265
266
266
| Name | Behavior when enabled | Behavior when disabled | Notes |
267
267
| :-- | :-- | :-- | :-- |
268
-
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical AND operator | - |
268
+
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical OR operator | - |
269
269
| NO_BACKSLASH_ESCAPES | Treats backslashes in strings as literal characters | Treats backslashes in strings as escape characters | - |
270
-
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
270
+
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
Copy file name to clipboardExpand all lines: versioned_docs/version-3.x/query-data/mysql-compatibility.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,6 @@ Doris Function covers most MySQL functions.
265
265
266
266
| Name | Behavior when enabled | Behavior when disabled | Notes |
267
267
| :-- | :-- | :-- | :-- |
268
-
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical AND operator | - |
268
+
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical OR operator | - |
269
269
| NO_BACKSLASH_ESCAPES | Treats backslashes in strings as literal characters | Treats backslashes in strings as escape characters | - |
270
-
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
270
+
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
Copy file name to clipboardExpand all lines: versioned_docs/version-4.x/query-data/mysql-compatibility.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,6 @@ Doris Function covers most MySQL functions.
265
265
266
266
| Name | Behavior when enabled | Behavior when disabled | Notes |
267
267
| :-- | :-- | :-- | :-- |
268
-
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical AND operator | - |
268
+
| PIPES_AS_CONCAT | Parses `\|\|` as the `concat` function | Parses `\|\|` as the logical OR operator | - |
269
269
| NO_BACKSLASH_ESCAPES | Treats backslashes in strings as literal characters | Treats backslashes in strings as escape characters | - |
270
-
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
270
+
| ONLY_FULL_GROUP_BY | Allows only standard aggregations | Allows scalar values not in the GROUP BY key to appear in the aggregation result | Supported since version 3.1.0 |
0 commit comments