Update profiler.py

This commit is contained in:
Jonny Dixon 2025-07-14 13:35:47 +01:00
parent 75948a1825
commit caaa132823

View File

@ -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)