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