illes commented on PR #3924: URL: https://github.com/apache/iceberg-python/pull/3924#issuecomment-5907552306
@kevinjqliu thanks, the nightly (`0.12.0.dev20260930004702`) works: create, append, list and load against a Hive 4.2.0 metastore, and list and load against our Hive 3.1.3 one, where 0.12.0 fails on 4.2.0 with `Invalid method name`. A 0.13 works for us, and yes please to kicking off that discussion. I'll close #4016 and #4018. One gotcha: the nightly needs an exact pin. Its version sorts below 0.12.0, so with pypi.org as an extra index `--pre` still installs the 0.12.0 release. <details><summary>Repro</summary> ```sh docker run -d --name hms42 -p 9083:9083 -e SERVICE_NAME=metastore -v /tmp/wh:/tmp/wh apache/hive:4.2.0 pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ 'pyiceberg[hive,pyarrow]==0.12.0.dev20260930004702' python repro.py # nightly: 3 rows; pyiceberg==0.12.0: Invalid method name: 'get_table' ``` ```python # repro.py import pyarrow as pa from importlib.metadata import version from pyiceberg.catalog.hive import HiveCatalog cat = HiveCatalog("hms", uri="thrift://localhost:9083", warehouse="file:///tmp/wh") cat.create_namespace_if_not_exists("probe_db", {"location": "file:///tmp/wh/probe_db"}) if not cat.table_exists("probe_db.t1"): cat.create_table("probe_db.t1", schema=pa.schema([("id", pa.int64())])).append(pa.table({"id": [1, 2, 3]})) print(version("pyiceberg"), cat.list_tables("probe_db"), len(cat.load_table("probe_db.t1").scan().to_arrow()), "rows") ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
