Releases: uwdata/arquero
v5.0.0
Changes from v4.8.8:
- Breaking. Update to Apache Arrow v8.0, remove export of arrow
Type
enum. To specify types using integer type ids, use the Apache ArrowType
export directly. Arrow v8.0 has a significant number of API changes that affect calls to Arrow tables produced by Arquero. For example,arrowTable.getColumn()
no longer exists, usearrowTable.getChild()
instead. - Fix pivot count aggregation to respect pivot keys. (#273)
- Update dependencies.
v4.8.8
v4.8.7
v4.8.6
v4.8.5
v4.8.4
v4.8.3
v4.8.2
v4.8.1
v4.8.0
Changes from v4.7.2:
- Add
escape()
expression helper to "escape" JavaScript functions and values from internal parsing. - Add
names()
selection helper for renaming columns by index. (#195) - Add support for array literals and escaped values in expression parsing.
- Fix
rollup()
output early exit condition to support literal expressions without aggregate operations. - Improve TypeScript types. (#182)
Description
This version adds the aq.escape()
expression helper: this allows users to pass in JavaScript functions that are invoked as-is to process row objects: no internal parsing and rewriting, thus supporting closures! The helper can be applied anywhere Arquero accepts single-table table expressions, though note that it sidesteps internal optimizations and breaks portability (serialization) of Arquero queries to worker threads or other data sources. The escape()
function also accepts literal values, for example allowing Date
or Map
instances to be assigned directly as a column values.
This version also adds the aq.names()
selection helper that makes it easier to select and rename columns based on their integer column indices.