Add Oracle LENGTH (#5287)

This commit is contained in:
Pere Miquel Brull 2022-06-03 11:39:43 +02:00 committed by GitHub
parent 9adc772aa4
commit 49fa5c4f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ def _(element, compiler, **kw):
@compiles(LenFn, Dialects.Trino)
@compiles(LenFn, Dialects.Presto)
@compiles(LenFn, Dialects.BigQuery)
@compiles(LenFn, Dialects.Oracle)
def _(element, compiler, **kw):
return "LENGTH(%s)" % compiler.process(element.clauses, **kw)