mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-03 12:16:10 +00:00
revert: mssql - lowercase db name in mssql ingestion (#6481)
This commit is contained in:
parent
d35e327d3b
commit
b73ebe69b5
@ -122,7 +122,7 @@ class SQLServerSource(SQLAlchemySource):
|
||||
super().__init__(config, ctx, "mssql")
|
||||
# Cache the table and column descriptions
|
||||
self.config: SQLServerConfig = config
|
||||
self.current_database: Optional[str] = None
|
||||
self.current_database = None
|
||||
self.table_descriptions: Dict[str, str] = {}
|
||||
self.column_descriptions: Dict[str, str] = {}
|
||||
for inspector in self.get_inspectors():
|
||||
@ -262,5 +262,5 @@ class SQLServerSource(SQLAlchemySource):
|
||||
return f"{self.config.database_alias}.{regular}"
|
||||
return f"{self.config.database}.{regular}"
|
||||
if self.current_database:
|
||||
return f"{self.current_database.lower()}.{regular}"
|
||||
return f"{self.current_database}.{regular}"
|
||||
return regular
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user