)]}'
{
  "commit": "3256138ecc57de2666df704909a371919ff6fbfd",
  "tree": "7ffc97b66a3033f2455f77d81a331331cb6d2f12",
  "parents": [
    "cd7506ad645bf7f3c01796cbb16ec5821d56d389"
  ],
  "author": {
    "name": "kosiew",
    "email": "kosiew@gmail.com",
    "time": "Sat Jun 13 23:40:08 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Jun 13 23:40:08 2026 +0800"
  },
  "message": "Deprecate `Expr` temporal part arguments in date extraction and truncation functions (#1587)\n\nAdded a shared helper to emit a DeprecationWarning when an Expr is passed to a literal control argument.\n\nUpdated the implementations of:\n\ndate_part\ndatepart\nextract\ndate_trunc\ndatetrunc\nto warn when part is provided as an Expr.\n\nRefactored alias functions (datepart, extract, and datetrunc) to delegate through internal helper functions so warnings reference the user-facing function name correctly and avoid duplicate warning behavior.\n\nUpdated existing temporal function tests to use the preferred string-literal form for part.\n\nAdded targeted tests verifying:\n\nExpr inputs emit DeprecationWarning for date_part, datepart, and extract.\nExpr inputs emit DeprecationWarning for date_trunc and datetrunc.\nString literal inputs continue to work without emitting deprecation warnings.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ccb47a4e758ca0d65542e9fa23ccbbc0d4d47317",
      "old_mode": 33188,
      "old_path": "docs/source/user-guide/common-operations/functions.rst",
      "new_id": "ed5a991d82be8d22186e247f3467a1592cc726e5",
      "new_mode": 33188,
      "new_path": "docs/source/user-guide/common-operations/functions.rst"
    },
    {
      "type": "modify",
      "old_id": "c8f07497d73d659bcb1d4dae50d3dbd5a1db8c01",
      "old_mode": 33188,
      "old_path": "python/datafusion/functions.py",
      "new_id": "9158a71468768f9836f1ff3188a542b798ae9422",
      "new_mode": 33188,
      "new_path": "python/datafusion/functions.py"
    },
    {
      "type": "modify",
      "old_id": "55d9c8ee8fafeb7f1ef28605e453e6f38532e516",
      "old_mode": 33188,
      "old_path": "python/tests/test_functions.py",
      "new_id": "d2abe47412e9c604d0ec2a7eee60c762722ad289",
      "new_mode": 33188,
      "new_path": "python/tests/test_functions.py"
    }
  ]
}
