)]}'
{
  "commit": "4906d391beb0d224c034e60809db72172f0244fe",
  "tree": "cbaa77144831ba41c8fe62f68b212a1a6056f39a",
  "parents": [
    "5cc32306a8435ab7fb0b55216d97e0084bc1b9d1"
  ],
  "author": {
    "name": "Jared Yu",
    "email": "qzyu999@gmail.com",
    "time": "Thu Jul 30 12:12:21 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 30 15:12:21 2026 -0400"
  },
  "message": "Add object_store parameter to register/read file methods for thread-safe credentials (#1625)\n\n* Add object_store parameter to register/read file methods\n\nAdd an optional object_store parameter to register_parquet, read_parquet,\nregister_csv, read_csv, register_json, read_json, register_avro, read_avro,\nregister_arrow, and read_arrow methods.\n\nWhen provided, the store is automatically registered for the URL scheme\nand host parsed from the path, removing the need to manually call\nregister_object_store separately. This enables thread-safe cloud\ncredential handling without os.environ mutation.\n\nIncludes unit tests (mock-based) for URL parsing logic and integration\ntests using LocalFileSystem for end-to-end validation.\n\nCloses #1624\n\n* Fix file:// URL handling in _register_object_store_for_path\n\n- Allow empty netloc for file:// scheme (e.g. file:///tmp/data.parquet)\n- Require netloc (host/bucket) only for non-file schemes (s3, gs, az, https)\n- Add doctest +SKIP to register_parquet example referencing nonexistent file\n- Use Path.as_uri() in end-to-end tests for portable file:// URL construction\n- Add tests for file:// acceptance and scheme-without-host rejection\n\n* Refactor tests to use pytest.mark.parametrize per reviewer feedback\n\nReplace class-based test structure with flat parametrized functions\nto match the repository\u0027s testing conventions.\n\n---------\n\nCo-authored-by: Tim Saucer \u003ctimsaucer@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0bfc59bfee5d80924f5c2cc47e121be6b770bbcc",
      "old_mode": 33188,
      "old_path": "python/datafusion/context.py",
      "new_id": "94b2bb1c63acd9579e7d73109a2506dec00ea0e8",
      "new_mode": 33188,
      "new_path": "python/datafusion/context.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "13d51d792da2271e460c1c754b3f01862dfef613",
      "new_mode": 33188,
      "new_path": "python/tests/test_object_store_param.py"
    }
  ]
}
