Skip to content

Commit 7f134d2

Browse files
committed
mindsdb_parser -> mindsdb_sql_parser
1 parent a2d35ad commit 7f134d2

File tree

100 files changed

+253
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+253
-290
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
__title__ = 'mindsdb_parser'
2-
__package_name__ = 'mindsdb_parser'
1+
__title__ = 'mindsdb_sql_parser'
2+
__package_name__ = 'mindsdb_sql_parser'
33
__version__ = '0.0.1'
44
__description__ = "Mindsdb SQL parser"
55
__email__ = "[email protected]"
66
__author__ = 'MindsDB Inc'
77
__github__ = 'https://github.com/mindsdb/mindsdb_sql_parser'
8-
__pypi__ = 'https://pypi.org/project/mindsdb_parser'
8+
__pypi__ = 'https://pypi.org/project/mindsdb_sql_parser'
99
__license__ = 'MIT'
1010
__copyright__ = 'Copyright 2021- mindsdb'
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
from sly.lex import Token
55

6-
from mindsdb_parser.exceptions import ParsingException
7-
from mindsdb_parser.ast import *
6+
from mindsdb_sql_parser.exceptions import ParsingException
7+
from mindsdb_sql_parser.ast import *
88

99

1010
class ErrorHandling:
@@ -162,8 +162,8 @@ def query_is_valid(self, tokens):
162162

163163

164164
def parse_sql(sql):
165-
from mindsdb_parser.lexer import MindsDBLexer
166-
from mindsdb_parser.parser import MindsDBParser
165+
from mindsdb_sql_parser.lexer import MindsDBLexer
166+
from mindsdb_sql_parser.parser import MindsDBParser
167167
lexer, parser = MindsDBLexer(), MindsDBParser()
168168

169169
# remove ending semicolon and spaces
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from mindsdb_parser.ast.base import ASTNode
2-
from mindsdb_parser.utils import indent
1+
from mindsdb_sql_parser.ast.base import ASTNode
2+
from mindsdb_sql_parser.utils import indent
33

44

55
class Alter(ASTNode):
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import copy
22

3-
from mindsdb_parser.exceptions import ParsingException
4-
from mindsdb_parser.utils import to_single_line
3+
from mindsdb_sql_parser.exceptions import ParsingException
4+
from mindsdb_sql_parser.utils import to_single_line
55

66

77
class ASTNode:

mindsdb_parser/ast/commit_transaction.py renamed to mindsdb_sql_parser/ast/commit_transaction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from mindsdb_parser.ast.base import ASTNode
2-
from mindsdb_parser.utils import indent
1+
from mindsdb_sql_parser.ast.base import ASTNode
2+
from mindsdb_sql_parser.utils import indent
33

44

55
class CommitTransaction(ASTNode):
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from mindsdb_parser.ast.base import ASTNode
2-
from mindsdb_parser.utils import indent
1+
from mindsdb_sql_parser.ast.base import ASTNode
2+
from mindsdb_sql_parser.utils import indent
33
from typing import List
44

55
try:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from mindsdb_parser.ast.base import ASTNode
2-
from mindsdb_parser.utils import indent
1+
from mindsdb_sql_parser.ast.base import ASTNode
2+
from mindsdb_sql_parser.utils import indent
33

44

55
class Delete(ASTNode):
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from mindsdb_parser.ast.base import ASTNode
2-
from mindsdb_parser.utils import indent
1+
from mindsdb_sql_parser.ast.base import ASTNode
2+
from mindsdb_sql_parser.utils import indent
33

44

55
class Describe(ASTNode):

0 commit comments

Comments
 (0)