mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-07 00:28:02 +00:00
Fix: Remove min duration limit (#7627)
This commit is contained in:
parent
517e9a4aac
commit
d1a3fa4928
@ -44,9 +44,7 @@ class SnowflakeQueryParserSource(QueryParserSource, ABC):
|
|||||||
def __init__(self, config: WorkflowSource, metadata_config: OpenMetadataConnection):
|
def __init__(self, config: WorkflowSource, metadata_config: OpenMetadataConnection):
|
||||||
super().__init__(config, metadata_config)
|
super().__init__(config, metadata_config)
|
||||||
|
|
||||||
# Snowflake does not allow retrieval of data older than 7 days
|
duration = self.source_config.queryLogDuration
|
||||||
# Update start and end based on this
|
|
||||||
duration = min(self.source_config.queryLogDuration, 6)
|
|
||||||
self.start, self.end = get_start_and_end(duration)
|
self.start, self.end = get_start_and_end(duration)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user