Merging upstream version 25.5.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
298e7a8147
commit
029b9c2c73
136 changed files with 80990 additions and 72541 deletions
|
@ -56,6 +56,34 @@ class TestDoris(Validator):
|
|||
"postgres": "SELECT STRING_AGG('aa', ',')",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"SELECT LAG(1, 1, NULL) OVER (ORDER BY 1)",
|
||||
read={
|
||||
"doris": "SELECT LAG(1, 1, NULL) OVER (ORDER BY 1)",
|
||||
"postgres": "SELECT LAG(1) OVER (ORDER BY 1)",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"SELECT LAG(1, 2, NULL) OVER (ORDER BY 1)",
|
||||
read={
|
||||
"doris": "SELECT LAG(1, 2, NULL) OVER (ORDER BY 1)",
|
||||
"postgres": "SELECT LAG(1, 2) OVER (ORDER BY 1)",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"SELECT LEAD(1, 1, NULL) OVER (ORDER BY 1)",
|
||||
read={
|
||||
"doris": "SELECT LEAD(1, 1, NULL) OVER (ORDER BY 1)",
|
||||
"postgres": "SELECT LEAD(1) OVER (ORDER BY 1)",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"SELECT LEAD(1, 2, NULL) OVER (ORDER BY 1)",
|
||||
read={
|
||||
"doris": "SELECT LEAD(1, 2, NULL) OVER (ORDER BY 1)",
|
||||
"postgres": "SELECT LEAD(1, 2) OVER (ORDER BY 1)",
|
||||
},
|
||||
)
|
||||
|
||||
def test_identity(self):
|
||||
self.validate_identity("COALECSE(a, b, c, d)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue