Adding upstream version 11.4.5.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
36706608dc
commit
3e1362a879
131 changed files with 53004 additions and 37079 deletions
|
@ -79,6 +79,9 @@ class TestParser(unittest.TestCase):
|
|||
|
||||
def test_union_order(self):
|
||||
self.assertIsInstance(parse_one("SELECT * FROM (SELECT 1) UNION SELECT 2"), exp.Union)
|
||||
self.assertIsInstance(
|
||||
parse_one("SELECT x FROM y HAVING x > (SELECT 1) UNION SELECT 2"), exp.Union
|
||||
)
|
||||
|
||||
def test_select(self):
|
||||
self.assertIsNotNone(parse_one("select 1 natural"))
|
||||
|
@ -357,7 +360,7 @@ class TestParser(unittest.TestCase):
|
|||
@patch("sqlglot.parser.logger")
|
||||
def test_create_table_error(self, logger):
|
||||
parse_one(
|
||||
"""CREATE TABLE PARTITION""",
|
||||
"""CREATE TABLE SELECT""",
|
||||
error_level=ErrorLevel.WARN,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue