{{ job.job_id }}
{# Statement type + workload pills moved here so the stat strip below can dedicate all six cards to numeric cost / bytes / slot data (mirrors the opportunity detail page). #}{{ job.statement_type }} {% if job.workload_kind == "build" %} build {% elif job.workload_kind == "consumption" %} consumption {% endif %} {% if job.is_dbt_originated %} dbt {% else %} other {% endif %} {% if job.cache_hit %} cache hit {% endif %}
| Rule | Detail | Affected Table | Current Cost |
|---|---|---|---|
| {{ issue.display_name }} |
{% if issue.explanation %}
{{ issue.explanation }} {% else %} - {% endif %} |
{{ issue.affected_table }}
|
{{ issue.current_cost | format_usd }} |
{% for line in job.query.split('\n') %}{{ loop.index }}{{ line }}
{% endfor %}
query_info.performance_insights."
) }}
{{ job.performance_insights | tojson(indent=2) }}