From 98409cfb609513a8d64f3a1079dc9cc44fe6b029 Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Tue, 23 Dec 2025 13:42:03 +0100 Subject: [PATCH 1/2] Special case Windows. --- src/jsoniq/session.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jsoniq/session.py b/src/jsoniq/session.py index e0dda1d..fb2aa7c 100644 --- a/src/jsoniq/session.py +++ b/src/jsoniq/session.py @@ -8,7 +8,11 @@ import importlib.resources as pkg_resources with pkg_resources.path("jsoniq.jars", "rumbledb-2.0.8.jar") as jar_path: - jar_path_str = "file://" + str(jar_path) + if (os.name == 'nt'): + jar_path_str = str(jar_path) + else: + jar_path_str = "file://" + str(jar_path) + print(f"[Info] Using RumbleDB jar file at: {jar_path_str}") def get_spark_version(): if os.environ.get('SPARK_HOME') != None: From 6d205faeb8c96fc3284c16462449be973ff234ce Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Tue, 23 Dec 2025 13:45:01 +0100 Subject: [PATCH 2/2] Bump version. --- README.md | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d710406..cfe26f9 100644 --- a/README.md +++ b/README.md @@ -338,6 +338,9 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates +## Version 2.0.9 +- Solve an issue under Windows that caused the error "Java gateway process exited before sending its port number.". + ## Version 2.0.8 - Decoupled the internal materialization cap (when a parallel sequence of items is materialized, e.g., into an array) from the outer result size cap (for printing to screen) with now two distinct configuration parameters. The default materialization cap is set to 100'000 items while the default outer result size is set to 10. They can be changed by the user through the Rumble configuration. - Fixed an issue in the implementation when a FLWOR gets executed locally with a return clause with an underlying RDD or DataFrame. diff --git a/pyproject.toml b/pyproject.toml index ec4fc1a..2ce12ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "jsoniq" -version = "2.0.8" +version = "2.0.9" description = "Python edition of RumbleDB, a JSONiq engine" requires-python = ">=3.11" dependencies = [