We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93911ce commit 9ae671dCopy full SHA for 9ae671d
tests/test_base_sql/test_ast.py
@@ -1,3 +1,5 @@
1
+from copy import deepcopy
2
+
3
from mindsdb_sql_parser.ast import *
4
5
@@ -24,3 +26,8 @@ def test_copy(self):
24
26
# change
25
27
ast.where.args[0] = Constant(1)
28
assert ast.to_tree() != ast2.to_tree()
29
30
+ def test_identifier_deepcopy_is_quoted(self):
31
+ ident = Identifier('`a`')
32
+ ident2 = deepcopy(ident)
33
+ assert ident2.is_quoted == [True]
0 commit comments