From c03ba18c491e52cc85d8aae1825dd9e0b4f75e32 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 26 Oct 2023 19:21:54 +0200 Subject: Merging upstream version 18.17.0. Signed-off-by: Daniel Baumann --- tests/test_parser.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_parser.py') diff --git a/tests/test_parser.py b/tests/test_parser.py index 53e1a85..f3e663e 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -234,6 +234,9 @@ class TestParser(unittest.TestCase): "CREATE TABLE t (i UInt8) ENGINE=AggregatingMergeTree() ORDER BY tuple()", ) + with self.assertRaises(ParseError): + parse_one("SELECT A[:") + def test_space(self): self.assertEqual( parse_one("SELECT ROW() OVER(PARTITION BY x) FROM x GROUP BY y").sql(), -- cgit v1.2.3