Skip to content

Commit

Permalink
Specify Length function for PinotDB (#19189)
Browse files Browse the repository at this point in the history
  • Loading branch information
piby180 authored Jan 6, 2025
1 parent 0a1ab95 commit ebd6020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ingestion/src/metadata/profiler/orm/functions/length.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions ingestion/src/metadata/profiler/orm/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class PythonDialects(Enum):
MSSQL = "mssql"
MySQL = "mysql"
Oracle = "oracle"
PinotDB = "pinotdb"
Postgres = "postgresql"
Presto = "presto"
Redshift = "redshift"
Expand Down

0 comments on commit ebd6020

Please sign in to comment.