diff --git a/README.md b/README.md index 30fc072..1caa1a4 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,10 @@ Even more queries can be found [here](https://colab.research.google.com/github/R # Latest updates +## Version 2.1.1 +- Extend data frame detection to nested arrays. +- More bugfixes. + ## Version 2.1.1 - Fixed a bug preventing the display of some query outputs as a Data Frame. diff --git a/pyproject.toml b/pyproject.toml index 9708d6b..b2ba273 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "jsoniq" -version = "2.1.1" +version = "2.1.2" description = "Python edition of RumbleDB, a JSONiq engine" requires-python = ">=3.11" dependencies = [ diff --git a/src/jsoniq/jars/rumbledb-2.1.1.jar b/src/jsoniq/jars/rumbledb-2.1.1.jar index f9c9b66..a87d000 100644 --- a/src/jsoniq/jars/rumbledb-2.1.1.jar +++ b/src/jsoniq/jars/rumbledb-2.1.1.jar @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:90e52a1958c478b4eec778b4c07bc147c7f604ac60740dc4b6baff5123f1cbd8 -size 79843137 +oid sha256:b774388eca9fa328d8906247907a3da19840ae22c2e2899ddc01b126c9dec0e9 +size 79843477 diff --git a/tests/test_sample.py b/tests/test_sample.py index 957c4a1..d1dc3f0 100644 --- a/tests/test_sample.py +++ b/tests/test_sample.py @@ -254,6 +254,20 @@ def test1(self): print(rdd.count()); for str in rdd.take(10): print(str); + + test_df = rumble.jsoniq(r""" + { + "operations" : [ + { "binary" : [ "and", "or"] }, + { "unary" : ["not"] }, + { "none" : [] } + ], + "bits" : [ + 0, 1 + ] + } + """); + print(test_df.pdf()); ################################################### ###### Write back to the disk (or data lake) ######