From 1cf198f430585de76bd0768b7462911b92f8d5aa Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Wed, 6 Aug 2025 16:25:11 +0200 Subject: [PATCH 1/3] Upgrade version. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3744a4e..4ceb6e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta" [project] name = "jsoniq" -version = "0.2.0a3" +version = "0.2.0a4" description = "Python edition of RumbleDB, a JSONiq engine" requires-python = ">=3.11" dependencies = [ "pyspark==4.0", - "pandas==2.3" + "pandas>=2.2" ] authors = [ {name = "Ghislain Fourny", email = "ghislain.fourny@inf.ethz.ch"}, From 45f339d3f308fb88f296c504467d52c581ee0c47 Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Wed, 6 Aug 2025 16:26:03 +0200 Subject: [PATCH 2/3] Update documentation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4061f3..c2f89b1 100644 --- a/README.md +++ b/README.md @@ -349,7 +349,7 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates -## Version 0.3.0 alpha 3 +## Version 0.3.0 alpha 4 - Added parameters to the jsoniq magic to select the desired output to print: -j, -df, -pdf - Added informative error message with a hint on how to fix when trying to get a DataFrame and there is no schema. - Added parameter -t to the jsoniq magic to measure the response time From 60d5c1af47e601329bb213046347029b435bdaa9 Mon Sep 17 00:00:00 2001 From: Ghislain Fourny Date: Wed, 6 Aug 2025 16:27:00 +0200 Subject: [PATCH 3/3] Fix documentation. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c2f89b1..4532c4c 100644 --- a/README.md +++ b/README.md @@ -349,12 +349,13 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates -## Version 0.3.0 alpha 4 +## Version 0.2.0 alpha 4 - Added parameters to the jsoniq magic to select the desired output to print: -j, -df, -pdf - Added informative error message with a hint on how to fix when trying to get a DataFrame and there is no schema. - Added parameter -t to the jsoniq magic to measure the response time - The RumbleSession object now saves the latest result (sequence of items) in a field called lastResult. This is particularly useful in notebooks for post-processing a result in Python after obtained it through the jsoniq magic. - Improved static type detection upon binding a pandas or pyspark DataFrame as an input variable to a JSONiq queries. +- Now also accepts pandas version 2.2. ## Version 0.2.0 alpha 2 - You can change the result size cap through to the now accessible Rumble configuration (for example rumble .getRumbleConf().setResultSizeCap(10)). This controls how many items can be retrieved at most with a json() call. You can increase it to whichever number you would like if you reach the cap.