Skip to content

Commit 72207e3

Browse files
Fix schema detection with nested arrays.
Fix schema detection with nested arrays.
2 parents 7ae9c9a + 940f010 commit 72207e3

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@ Even more queries can be found [here](https://colab.research.google.com/github/R
336336

337337
# Latest updates
338338

339+
## Version 2.1.1
340+
- Extend data frame detection to nested arrays.
341+
- More bugfixes.
342+
339343
## Version 2.1.1
340344
- Fixed a bug preventing the display of some query outputs as a Data Frame.
341345

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "jsoniq"
7-
version = "2.1.1"
7+
version = "2.1.2"
88
description = "Python edition of RumbleDB, a JSONiq engine"
99
requires-python = ">=3.11"
1010
dependencies = [

src/jsoniq/jars/rumbledb-2.1.1.jar

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:90e52a1958c478b4eec778b4c07bc147c7f604ac60740dc4b6baff5123f1cbd8
3-
size 79843137
2+
oid sha256:b774388eca9fa328d8906247907a3da19840ae22c2e2899ddc01b126c9dec0e9
3+
size 79843477

tests/test_sample.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,20 @@ def test1(self):
254254
print(rdd.count());
255255
for str in rdd.take(10):
256256
print(str);
257+
258+
test_df = rumble.jsoniq(r"""
259+
{
260+
"operations" : [
261+
{ "binary" : [ "and", "or"] },
262+
{ "unary" : ["not"] },
263+
{ "none" : [] }
264+
],
265+
"bits" : [
266+
0, 1
267+
]
268+
}
269+
""");
270+
print(test_df.pdf());
257271

258272
###################################################
259273
###### Write back to the disk (or data lake) ######

0 commit comments

Comments
 (0)