Repository navigation
jsoniq 3.0.2 "Coast Redwood" beta
Version 3.0.1
Upgraded to RumbleDB 3.0.0 and its immutable configuration and external bindings APIs.
There is a breaking change in how configuration parameters are set. New:
rumble.getRumbleConf().set("runtime.resultsSizeCap", 100)
rumble.getRumbleConf().set("runtime.materializationCap", 100000)
rumble.getRumbleConf().set("debug.showErrorInfo", True)
Calling old configuration functions leads to a message explaining the new syntax. Configuration changes apply to subsequent queries; existing sequences retain their compilation settings.
Fixed object conversion and binding query results as DataFrames. Keyword bindings are scoped to a query and restore persistent bindings even when query compilation fails.
New rumble.xquery() call and %%xquery magic.
In the %%jsoniq magic, the new -s parameter outputs the results as a single string following the W3C Serialization 3.1 specification. If using rumble.xquery() or rumble.jsoniq() call, the same can be achieved by chaining a .serialize() call returning a string. All standard serialization methods (xml, json, xhtml, html, text, adaptive) are available. For %%xquery, this is the default behavior.
By default, the Spark bundled with pyspark is used. Use .withBundledSpark(False) when creating the session to use a different spark installation that SPARK_HOME points to (for advanced users only).