Skip to content

Commit b91df07

Browse files
committed
refactor: update substrait.gen.antlr imports
1 parent 0bc365d commit b91df07

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/substrait/derivation_expression.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
from antlr4 import CommonTokenStream, InputStream
44
from substrait.type_pb2 import NamedStruct, Type
5-
6-
from substrait.gen.antlr.SubstraitTypeLexer import SubstraitTypeLexer
7-
from substrait.gen.antlr.SubstraitTypeParser import SubstraitTypeParser
5+
from substrait_antlr.substrait_type.SubstraitTypeLexer import SubstraitTypeLexer
6+
from substrait_antlr.substrait_type.SubstraitTypeParser import SubstraitTypeParser
87

98

109
def _evaluate(x, values: dict):

src/substrait/extension_registry/signature_checker_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from typing import Dict
44

55
from substrait.type_pb2 import Type
6+
from substrait_antlr.substrait_type.SubstraitTypeParser import SubstraitTypeParser
67

78
from substrait.derivation_expression import _evaluate
8-
from substrait.gen.antlr.SubstraitTypeParser import SubstraitTypeParser
99

1010
from .exceptions import UnhandledParameterizedTypeError, UnrecognizedSubstraitTypeError
1111

0 commit comments

Comments
 (0)