Specify Length function for PinotDB (#19189)

This commit is contained in:
piby180 2025-01-06 10:14:02 +01:00 committed by GitHub
parent 0a1ab95f8b
commit ebd6020329
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ def _(element, compiler, **kw):
@compiles(LenFn, Dialects.MariaDB)
@compiles(LenFn, Dialects.Athena)
@compiles(LenFn, Dialects.Trino)
@compiles(LenFn, Dialects.PinotDB)
@compiles(LenFn, Dialects.Presto)
@compiles(LenFn, Dialects.BigQuery)
@compiles(LenFn, Dialects.Oracle)

View File

@ -76,6 +76,7 @@ class PythonDialects(Enum):
MSSQL = "mssql"
MySQL = "mysql"
Oracle = "oracle"
PinotDB = "pinotdb"
Postgres = "postgresql"
Presto = "presto"
Redshift = "redshift"