You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -338,6 +338,9 @@ Even more queries can be found [here](https://colab.research.google.com/github/R
338
338
339
339
# Latest updates
340
340
341
+
## Version 0.2.0 alpha 9
342
+
- Stability improvements.
343
+
341
344
## Version 0.2.0 alpha 8
342
345
- Variables can now be bound to JSON values, pandas DataFrames or pyspark DataFrames with extra parameters to the rumble.jsoniq() call. It is no longer necessary to explicitly call bind(). This is similar to how DataFrames can be attached to views with extra parameters to spark.sql().
343
346
- rumble.lastResult is now correctly assigned also when partial data is returned (only with the partial data).
raiseValueError("To avoid confusion, a sequence of items must be provided as a Python tuple, not as a Python list. Lists are mapped to single array items, while tuples are mapped to sequences of items. If you want to interpret the list as a sequence of items (one item for each list member), then you need to change this list to a tuple by wrapping it into a tuple() call. If you want to bind the variable to one array item, then you need to wrap the provided list inside a singleton tuple and try again, or you can also call bindOne() instead.")
187
+
raiseValueError("""
188
+
To avoid confusion, a sequence of items must be provided as a Python tuple, not as a Python list.
189
+
Lists are mapped to single array items, while tuples are mapped to sequences of items.
190
+
191
+
If you want to interpret the list as a sequence of items (one item for each list member), then you need to convert it to a tuple.
192
+
Example: [1,2,3] should then be rewritten as tuple([1,2,3]) for the sequence of three (integer) items 1, 2, and 3.
193
+
194
+
If you want to interpret the list as a sequence of one array item, then you need to create a singleton tuple.
195
+
Example: [1,2,3] should then be rewritten as ([1,2,3],) for the sequence of one (array) item [1,2,3].
0 commit comments