Merging upstream version 10.5.6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3b8c9606bf
commit
599f59b0f8
39 changed files with 786 additions and 133 deletions
|
@ -33,6 +33,7 @@ class Dialects(str, Enum):
|
|||
TSQL = "tsql"
|
||||
DATABRICKS = "databricks"
|
||||
DRILL = "drill"
|
||||
TERADATA = "teradata"
|
||||
|
||||
|
||||
class _Dialect(type):
|
||||
|
@ -368,7 +369,7 @@ def locate_to_strposition(args):
|
|||
)
|
||||
|
||||
|
||||
def strposition_to_local_sql(self, expression):
|
||||
def strposition_to_locate_sql(self, expression):
|
||||
args = self.format_args(
|
||||
expression.args.get("substr"), expression.this, expression.args.get("position")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue