mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-01 13:58:01 +00:00
Update profiler.py
This commit is contained in:
parent
75948a1825
commit
caaa132823
@ -2697,10 +2697,7 @@ LIMIT 1"""
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Execute the query
|
# Execute the query
|
||||||
result = self.execute_query(
|
result = self.execute_query(sample_query)
|
||||||
sample_query,
|
|
||||||
timeout=self.config.profiling.partition_fetch_timeout,
|
|
||||||
)
|
|
||||||
|
|
||||||
if result and len(result) > 0:
|
if result and len(result) > 0:
|
||||||
value = getattr(result[0], "value", None)
|
value = getattr(result[0], "value", None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user