Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
lookup
module for fetching reference data from remote and local files.In addition to the typical
http
/https
schemes for remote files, qsv adds two additional schemes -CKAN://
anddatHere://
, fetching lookup data from a CKAN site or datHere maintained reference data respectively. The lookup module has simple file-based caching as well to minimize repeated fetching of typically static reference data (default cache age: 600 seconds).The
lookup
module is now being used by theluau
(for itsqsv_register_lookup
helper) andvalidate
(for itsdynamicEnum
custom JSON Schema keyword) commands. More commands will take advantage of this module over time (e.g.apply
,geocode
,template
,sqlp
, etc.) to do extended lookups (e.g. lookup Census information given spatiotemporal data - like demographic info of a Census tract).fetchpost
with MiniJinja templating for payload construction.Previously,
fetchpost
was limited to posting url-encoded HTML Form data. Now with the--payload-tpl
and--content-type
options, users can render and post request bodies using MiniJinja using other content types as well (typicallyapplication/json
,text/plain
,multipart/form-data
).The
joinp
andsqlp
commands now use qsv's stats cache to automatically determine column data types, rather than having Polars scan a sample of rows. This provides two key benefits:fast-float2
crate for faster float parsingCasting string/bytes to float is now much faster (2 to 8x faster than Rust's standard library) with
fast-float2
.These core crates underpin much of qsv's functionality. Using the latest version of these crates allow qsv to stay true to its goal of being the fastest and most comprehensive data-wrangling toolkit.
Added
fetchpost
: add--payload-tpl <file>
and--content-type
options to construct payload using MiniJinja with the appropriate content-typefetchpost
: add--payload-tpl <file>
option to construct payload using MiniJinja dathere/qsv#2268 dathere/qsv@5921498joinp
: derive polars schema from stats cache dathere/qsv@86fe22esqlp
: derive polars schema from stats cachesqlp
: derive polars schema from stats cache dathere/qsv#2256template
: new command to render MiniJinja templates with CSV data add newtemplate
cmd dathere/qsv#2267validate
: adddynamicEnum
lookup supportvalidate
: adddynamicEnum
lookup support dathere/qsv#2265contrib(completions)
: add template command and update fetchpost by @rzmk incontrib(completions)
: add template command and update fetchpost dathere/qsv#2269fast-float2
dependency for faster bytes to float conversion dathere/qsv@7590e4e dathere/qsv@3ca30aaChanged
luau
: adapt to mlua 0.10 API changes dathere/qsv@268cb45luau
: refactored stage management dathere/qsv@31ef58aluau
: now uses the lookup module dathere/qsv@2f4be34stats
: minor perf refactoring dathere/qsv@6cdd6eadeps
: updated our fork of the csv crate with more perf optimizations dathere/qsv@eae7d76deps
: use calamine upstream with unreleased fixes dathere/qsv@4cc7f37deps
: use our csvlens fork untl PR removing unneeded arboard features is merged dathere/qsv@bb32322deps
: bump jsonschema from 0.25 to 0.26deps
: bump jsonschema from 0.25 to 0.26 dathere/qsv#2251deps
: bump embedded Luau from 0.640 to 0.650 dathere/qsv@8c54b87 dathere/qsv@aca30b0deps
: bump mlua from 0.9 to 0.10deps
: bump mlua from 0.9 to 0.10 dathere/qsv#2249deps
: bump Polars from 0.43.1 at py-1.11.0 tag to latest 0.44.2 upstream bump Polars from 0.43.1 at py-1.11.0 tag to 0.44.0 dathere/qsv#2255 dathere/qsv@0e40a44Fixed
Removed
create_dir_all_threadsafe
helper now that std::create_dir_all is threadsafe dathere/qsv@d0af83bFull Changelog: dathere/qsv@0.137.0...0.138.0