mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-12 15:57:44 +00:00
table-name-fail-fix- (#3114)
This commit is contained in:
parent
84fd717c57
commit
37457dc668
@ -9,7 +9,8 @@
|
|||||||
"service_name": "aws_redshift",
|
"service_name": "aws_redshift",
|
||||||
"table_filter_pattern": {
|
"table_filter_pattern": {
|
||||||
"excludes": ["information_schema.*", "[\\w]*event_vw.*"]
|
"excludes": ["information_schema.*", "[\\w]*event_vw.*"]
|
||||||
}
|
},
|
||||||
|
"query":"select * from \"{}\".\"{}\" Limit 50"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sink": {
|
"sink": {
|
||||||
|
|||||||
@ -224,6 +224,7 @@ class RedshiftConfig(SQLConnectionConfig):
|
|||||||
where_clause: Optional[str] = None
|
where_clause: Optional[str] = None
|
||||||
duration: int = 1
|
duration: int = 1
|
||||||
service_type = DatabaseServiceType.Redshift.value
|
service_type = DatabaseServiceType.Redshift.value
|
||||||
|
query = 'select * from "{}"."{}"'
|
||||||
|
|
||||||
def get_identifier(self, schema: str, table: str) -> str:
|
def get_identifier(self, schema: str, table: str) -> str:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user