diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-13 07:45:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-13 07:45:22 +0000 |
commit | 21f20723eed2e3b68174cc474029083f1ce32afc (patch) | |
tree | ef12b2eb7eb404213a96c82cda0b070489ffce63 /tests/dialects/test_duckdb.py | |
parent | Releasing debian version 25.34.0-1. (diff) | |
download | sqlglot-21f20723eed2e3b68174cc474029083f1ce32afc.tar.xz sqlglot-21f20723eed2e3b68174cc474029083f1ce32afc.zip |
Merging upstream version 26.0.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_duckdb.py')
-rw-r--r-- | tests/dialects/test_duckdb.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dialects/test_duckdb.py b/tests/dialects/test_duckdb.py index a9d6330..09f0134 100644 --- a/tests/dialects/test_duckdb.py +++ b/tests/dialects/test_duckdb.py @@ -899,6 +899,16 @@ class TestDuckDB(Validator): "NOT a ILIKE b", ) + self.validate_all( + "SELECT e'Hello\nworld'", + read={ + "duckdb": "SELECT E'Hello\nworld'", + }, + write={ + "duckdb": "SELECT e'Hello\nworld'", + }, + ) + def test_array_index(self): with self.assertLogs(helper_logger) as cm: self.validate_all( |