)]}'
{
  "commit": "35d1a6c21c53b84723ca571f7a9d6248ac70bac6",
  "tree": "a5f724e2dc41183a32e4a600598a788cbdc47616",
  "parents": [
    "add087cbfe97cba551ba51657e4ee5f0631262c3"
  ],
  "author": {
    "name": "Beto Dealmeida",
    "email": "roberto@dealmeida.net",
    "time": "Thu Nov 13 12:50:38 2025 -0500"
  },
  "committer": {
    "name": "Beto Dealmeida",
    "email": "roberto@dealmeida.net",
    "time": "Thu Nov 13 12:50:38 2025 -0500"
  },
  "message": "fix: render Jinja templates in ORDER BY adhoc metrics\n\nWhen processing adhoc metrics in ORDER BY clauses during query execution,\nJinja templates were not being rendered because `processed\u003dTrue` was\npassed without providing template processing.\n\nThis commit:\n1. Updates adhoc_metric_to_sqla() to apply template processing even when\n   processed\u003dTrue (meaning SQL is already sanitized)\n2. Passes template_processor when converting orderby adhoc metrics\n3. Removes obsolete test that expected error handling removed in commit\n   add087cbfe\n\nThe fix ensures that:\n- During validation: SQL is sanitized but Jinja templates are preserved\n  (template_processor\u003dNone)\n- During execution: Jinja templates are rendered (template_processor\n  provided, processed\u003dTrue skips re-sanitization)\n\nFixes test: test_chart_data_table_chart_with_time_grain_filter\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bbe2cfb1f9d982f42bafd44ec636d471bbd8098d",
      "old_mode": 33188,
      "old_path": "superset/models/helpers.py",
      "new_id": "c9415023ed1543ad66129c029c11dfc908b7f8ba",
      "new_mode": 33188,
      "new_path": "superset/models/helpers.py"
    },
    {
      "type": "modify",
      "old_id": "10f164656e80882cd79d85d7e8d6524b1a815a02",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/connectors/sqla/test_cache_key_stability.py",
      "new_id": "1ce77b7d155a16c8bb742582c1a1b307dc5e3781",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/connectors/sqla/test_cache_key_stability.py"
    }
  ]
}
