Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
6 changes: 5 additions & 1 deletion src/jsoniq/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down