summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_duckdb.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-27 16:31:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-27 16:31:23 +0000
commit886e522786b50d8cb126baacbd1eaf92861832ec (patch)
tree6d9736731779fe0f981e8a3692c9eeb37e40fbf3 /tests/dialects/test_duckdb.py
parentReleasing debian version 26.2.1-1. (diff)
downloadsqlglot-886e522786b50d8cb126baacbd1eaf92861832ec.tar.xz
sqlglot-886e522786b50d8cb126baacbd1eaf92861832ec.zip
Merging upstream version 26.3.8.
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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dialects/test_duckdb.py b/tests/dialects/test_duckdb.py
index 69a592d..959a1b3 100644
--- a/tests/dialects/test_duckdb.py
+++ b/tests/dialects/test_duckdb.py
@@ -903,6 +903,13 @@ class TestDuckDB(Validator):
},
)
+ self.validate_all(
+ "SELECT REGEXP_MATCHES('ThOmAs', 'thomas', 'i')",
+ read={
+ "postgres": "SELECT 'ThOmAs' ~* 'thomas'",
+ },
+ )
+
def test_array_index(self):
with self.assertLogs(helper_logger) as cm:
self.validate_all(