From 5d0ea770947ae1da51537ff75b14b48218d729aa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 3 Mar 2024 15:11:03 +0100 Subject: Adding upstream version 22.2.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_doris.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/dialects/test_doris.py') diff --git a/tests/dialects/test_doris.py b/tests/dialects/test_doris.py index 5ae23ad..035289b 100644 --- a/tests/dialects/test_doris.py +++ b/tests/dialects/test_doris.py @@ -26,6 +26,16 @@ class TestDoris(Validator): "doris": "SELECT ARRAY_SUM(x -> x * x, ARRAY(2, 3))", }, ) + self.validate_all( + "MONTHS_ADD(d, n)", + read={ + "oracle": "ADD_MONTHS(d, n)", + }, + write={ + "doris": "MONTHS_ADD(d, n)", + "oracle": "ADD_MONTHS(d, n)", + }, + ) def test_identity(self): self.validate_identity("COALECSE(a, b, c, d)") -- cgit v1.2.3