diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-11 16:34:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-11 16:34:56 +0000 |
commit | 278f416d08028bd175e1d6433739461f2168f4e2 (patch) | |
tree | 12492ebc5907744b2a4297228324fcda9ee2e40f /tests/dialects/test_doris.py | |
parent | Adding upstream version 24.1.0. (diff) | |
download | sqlglot-278f416d08028bd175e1d6433739461f2168f4e2.tar.xz sqlglot-278f416d08028bd175e1d6433739461f2168f4e2.zip |
Adding upstream version 25.0.3.upstream/25.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_doris.py')
-rw-r--r-- | tests/dialects/test_doris.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/dialects/test_doris.py b/tests/dialects/test_doris.py index f7fce02..8180d05 100644 --- a/tests/dialects/test_doris.py +++ b/tests/dialects/test_doris.py @@ -48,6 +48,14 @@ class TestDoris(Validator): "postgres": """SELECT JSON_EXTRACT_PATH(CAST('{"key": 1}' AS JSONB), 'key')""", }, ) + self.validate_all( + "SELECT GROUP_CONCAT('aa', ',')", + read={ + "doris": "SELECT GROUP_CONCAT('aa', ',')", + "mysql": "SELECT GROUP_CONCAT('aa' SEPARATOR ',')", + "postgres": "SELECT STRING_AGG('aa', ',')", + }, + ) def test_identity(self): self.validate_identity("COALECSE(a, b, c, d)") |