mirror of https://github.com/buster-so/buster.git
- Introduced `executeMetricQuery` utility for standardized metric SQL query execution with retry logic. - Updated `getMetricDataHandler` and metric tool execution functions to utilize the new query utility, improving error handling and result processing. - Added metadata generation from query results to provide detailed insights into data structure. - Refactored SQL validation to ensure only read-only queries are executed, enhancing data integrity. |
||
---|---|---|
.. | ||
adapters | ||
config | ||
errors | ||
introspection | ||
types | ||
utils | ||
data-source.int.test.ts | ||
data-source.test.ts | ||
data-source.ts | ||
env.ts | ||
index.ts |