We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e938870 + a4d5a1c commit 34b875eCopy full SHA for 34b875e
elementary/monitor/data_monitoring/data_monitoring.py
@@ -79,8 +79,10 @@ def get_elementary_database_and_schema(self):
79
relation = self.internal_dbt_runner.run_operation(
80
"elementary_cli.get_elementary_database_and_schema", quiet=True
81
)[0]
82
- logger.info(f"Elementary's database and schema: '{relation}'")
83
- return relation
+ # Strip quotes from relation to avoid case sensitivity issues and double-quoting
+ strip_relation = relation.strip('"')
84
+ logger.info(f"Elementary's database and schema: '{strip_relation}'")
85
+ return strip_relation
86
except Exception as ex:
87
logger.error("Failed to parse Elementary's database and schema.")
88
if self.tracking:
0 commit comments