From be52ee2039b150cb079051ba09ef9fe162f83456 Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Mon, 29 Jun 2026 11:40:55 +0200 Subject: [PATCH 1/2] Fix DataFrame conversion issue with arrays of objects. --- README.md | 3 +-- pyproject.toml | 2 +- src/jsoniq/jars/rumbledb-2.1.8.jar | 3 --- src/jsoniq/jars/rumbledb-2.1.9.jar | 3 +++ src/jsoniq/session.py | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 src/jsoniq/jars/rumbledb-2.1.8.jar create mode 100644 src/jsoniq/jars/rumbledb-2.1.9.jar diff --git a/README.md b/README.md index 07bdd0e..fca86a0 100644 --- a/README.md +++ b/README.md @@ -340,7 +340,7 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates -## Version 2.1.8 +## Version 2.1.9 - The order of the columns in output DataFrames were occasionally reshuffled. This new version keeps the column order more stable. - Further improvements supporting built-in function and improved XML/XQuery 3.1 support. - Update to Spark 4.0.3. @@ -455,4 +455,3 @@ Even more queries can be found [here](https://colab.research.google.com/github/R - Ability to write back a sequence of items to local disk, HDFS, S3... in various formats (JSON, CSV, Parquet...). - Automatically declare external variables bound as DataFrames to improve userfriendliness. - Simplified the function names to make them more intuitive (json(), items(), df(), rdd(), etc). - diff --git a/pyproject.toml b/pyproject.toml index a5692b3..13497eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "jsoniq" -version = "2.1.8" +version = "2.1.9" description = "Python edition of RumbleDB, a JSONiq engine" requires-python = ">=3.11" dependencies = [ diff --git a/src/jsoniq/jars/rumbledb-2.1.8.jar b/src/jsoniq/jars/rumbledb-2.1.8.jar deleted file mode 100644 index 3a15a98..0000000 --- a/src/jsoniq/jars/rumbledb-2.1.8.jar +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ef6213de358698daf6bd5ab43b7747ff74cda4c7d30226b1f3886f813c77f01 -size 79729772 diff --git a/src/jsoniq/jars/rumbledb-2.1.9.jar b/src/jsoniq/jars/rumbledb-2.1.9.jar new file mode 100644 index 0000000..a5009bd --- /dev/null +++ b/src/jsoniq/jars/rumbledb-2.1.9.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cad5d2bbc20972bfe7536dad7624cb6f1d7df7efd995ab181173b199b5e3ad53 +size 79750237 diff --git a/src/jsoniq/session.py b/src/jsoniq/session.py index 163c9dd..dcacaad 100644 --- a/src/jsoniq/session.py +++ b/src/jsoniq/session.py @@ -7,7 +7,7 @@ import pandas as pd from importlib.resources import files, as_file -with as_file(files("jsoniq.jars").joinpath("rumbledb-2.1.8.jar")) as jar_path: +with as_file(files("jsoniq.jars").joinpath("rumbledb-2.1.9.jar")) as jar_path: if (os.name == 'nt'): jar_path_str = str(jar_path) else: From 86a2a64ddf96f7b307ed7dec0901ca60538b9262 Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Mon, 29 Jun 2026 11:43:43 +0200 Subject: [PATCH 2/2] Add documentation. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index fca86a0..08cafd1 100644 --- a/README.md +++ b/README.md @@ -341,6 +341,9 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates ## Version 2.1.9 +- Fixed a bug in the inferred conversion to DataFrames of output involving arrays of objects. + +## Version 2.1.8 - The order of the columns in output DataFrames were occasionally reshuffled. This new version keeps the column order more stable. - Further improvements supporting built-in function and improved XML/XQuery 3.1 support. - Update to Spark 4.0.3.