Skip to content

Commit c02e954

Browse files
committed
fix a.* case
1 parent 2a36900 commit c02e954

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mindsdb_sql_parser/parser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,7 @@ def json_value(self, p):
17311731
'identifier DOT star')
17321732
def identifier(self, p):
17331733
node = p[0]
1734+
is_quoted = False
17341735
if isinstance(p[2], Star):
17351736
node.parts.append(p[2])
17361737
elif isinstance(p[2], int):
@@ -1739,7 +1740,8 @@ def identifier(self, p):
17391740
node.parts.append(p[2])
17401741
else:
17411742
node.parts += p[2].parts
1742-
node.is_quoted.append(p[2].is_quoted[0])
1743+
is_quoted = p[2].is_quoted[0]
1744+
node.is_quoted.append(is_quoted)
17431745
return node
17441746

17451747
@_('quote_string',

0 commit comments

Comments
 (0)