Skip to content

Commit e134a21

Browse files
Merge pull request #27 from RumbleDB/Improvements2
Improvements2
2 parents 321c9fd + 13295e0 commit e134a21

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Even more queries can be found [here](https://colab.research.google.com/github/R
338338

339339
# Latest updates
340340

341-
## Version 2.0.6
341+
## Version 2.0.7
342342
- 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.
343343
- Fixed an issue in the implementation when a FLWOR gets executed locally with a return clause with an underlying RDD or DataFrame.
344344

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "jsoniq"
7-
version = "2.0.6"
7+
version = "2.0.7"
88
description = "Python edition of RumbleDB, a JSONiq engine"
99
requires-python = ">=3.11"
1010
dependencies = [
11-
"pyspark==4.0",
11+
"pyspark==4.0.1",
1212
"pandas>=2.2",
1313
"delta-spark==4.0"
1414
]

src/jsoniq/jars/rumbledb-2.0.0.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:e4fa82699ecbd0f0d9fef9732938f64db8e48d7fc67e93d92942cd399eb14ec6
3-
size 33138526
2+
oid sha256:32458322c395d01e3cdd70eeb9509f36fa93d3992cf851737056842f3d134f73
3+
size 33138507

src/jsoniq/sequence.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,10 @@ def rdd(self):
5454
return self._rumblesession.lastResult
5555

5656
def df(self):
57-
if (not "DataFrame" in self._jsequence.availableOutputs()):
58-
sys.stderr.write(self.schema_str)
59-
return None
6057
self._rumblesession.lastResult = DataFrame(self._jsequence.getAsDataFrame(), self._sparksession)
6158
return self._rumblesession.lastResult
6259

6360
def pdf(self):
64-
if (not "DataFrame" in self._jsequence.availableOutputs()):
65-
sys.stderr.write(self.schema_str)
66-
return None
6761
self._rumblesession.lastResult = self.df().toPandas()
6862
return self._rumblesession.lastResult
6963

0 commit comments

Comments
 (0)