mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-29 20:30:19 +00:00
This commit is contained in:
parent
49d47524ea
commit
861a5ecf59
@ -198,7 +198,14 @@ class ProfilerWorkflow:
|
|||||||
if hasattr(
|
if hasattr(
|
||||||
self.config.source.serviceConnection.__root__.config, "supportsDatabase"
|
self.config.source.serviceConnection.__root__.config, "supportsDatabase"
|
||||||
):
|
):
|
||||||
copy_service_connection_config.database = database.name.__root__
|
if hasattr(
|
||||||
|
self.config.source.serviceConnection.__root__.config, "database"
|
||||||
|
):
|
||||||
|
copy_service_connection_config.database = database.name.__root__
|
||||||
|
if hasattr(
|
||||||
|
self.config.source.serviceConnection.__root__.config, "catalog"
|
||||||
|
):
|
||||||
|
copy_service_connection_config.catalog = database.name.__root__
|
||||||
|
|
||||||
self.create_processor(copy_service_connection_config)
|
self.create_processor(copy_service_connection_config)
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ def _(element, compiler, **kw):
|
|||||||
@compiles(ModuloFn, Dialects.Athena)
|
@compiles(ModuloFn, Dialects.Athena)
|
||||||
@compiles(ModuloFn, Dialects.MySQL)
|
@compiles(ModuloFn, Dialects.MySQL)
|
||||||
@compiles(ModuloFn, Dialects.Oracle)
|
@compiles(ModuloFn, Dialects.Oracle)
|
||||||
|
@compiles(ModuloFn, Dialects.Presto)
|
||||||
def _(element, compiler, **kw):
|
def _(element, compiler, **kw):
|
||||||
|
|
||||||
value, base = validate_and_compile(element, compiler, **kw)
|
value, base = validate_and_compile(element, compiler, **kw)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user