mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-06 21:43:37 +00:00
Fix bigint out of range issue (#15395)
This commit is contained in:
parent
c31bb98e64
commit
35679e5234
@ -40,6 +40,7 @@ def _(element, compiler, **kw):
|
|||||||
|
|
||||||
|
|
||||||
@compiles(SumFn, Dialects.BigQuery)
|
@compiles(SumFn, Dialects.BigQuery)
|
||||||
|
@compiles(SumFn, Dialects.Postgres)
|
||||||
def _(element, compiler, **kw):
|
def _(element, compiler, **kw):
|
||||||
"""Handle case where column type is INTEGER but SUM returns a NUMBER"""
|
"""Handle case where column type is INTEGER but SUM returns a NUMBER"""
|
||||||
proc = compiler.process(element.clauses, **kw)
|
proc = compiler.process(element.clauses, **kw)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user