mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-29 04:09:54 +00:00
This commit is contained in:
parent
49d47524ea
commit
861a5ecf59
@ -198,7 +198,14 @@ class ProfilerWorkflow:
|
||||
if hasattr(
|
||||
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)
|
||||
|
||||
|
@ -60,6 +60,7 @@ def _(element, compiler, **kw):
|
||||
@compiles(ModuloFn, Dialects.Athena)
|
||||
@compiles(ModuloFn, Dialects.MySQL)
|
||||
@compiles(ModuloFn, Dialects.Oracle)
|
||||
@compiles(ModuloFn, Dialects.Presto)
|
||||
def _(element, compiler, **kw):
|
||||
|
||||
value, base = validate_and_compile(element, compiler, **kw)
|
||||
|
Loading…
x
Reference in New Issue
Block a user