mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-06 13:31:28 +00:00
sample-data-fixed (#4976)
This commit is contained in:
parent
74e5404fe0
commit
1f6901f1c9
@ -39,5 +39,8 @@ class AzuresqlSource(SQLSource):
|
|||||||
raise InvalidSourceException(
|
raise InvalidSourceException(
|
||||||
f"Expected AzureSQLConnection, but got {connection}"
|
f"Expected AzureSQLConnection, but got {connection}"
|
||||||
)
|
)
|
||||||
|
if config.sourceConfig.config.sampleDataQuery == "select * from {}.{} limit 50":
|
||||||
|
config.sourceConfig.config.sampleDataQuery = (
|
||||||
|
"select top 50 * from [{}].[{}]"
|
||||||
|
)
|
||||||
return cls(config, metadata_config)
|
return cls(config, metadata_config)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user