Skip to content

Commit

Permalink
fix(bigquery): use bigquery-specific StringFind compilation
Browse files Browse the repository at this point in the history
Typo `visti` -> `visit`
  • Loading branch information
tswast authored Sep 13, 2024
1 parent 70de8db commit 8bf0284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/sql/compilers/bigquery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def visit_ArrayContains(self, op, *, arg, other):
def visit_StringContains(self, op, *, haystack, needle):
return self.f.strpos(haystack, needle) > 0

def visti_StringFind(self, op, *, arg, substr, start, end):
def visit_StringFind(self, op, *, arg, substr, start, end):
if start is not None:
raise NotImplementedError(
"`start` not implemented for BigQuery string find"
Expand Down

0 comments on commit 8bf0284

Please sign in to comment.