dsq

Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more.

OTHER License

Downloads
9
Stars
3.6K
Committers
14

Bot releases are visible (Hide)

dsq - v0.23.0 Latest Release

Published by eatonphil about 2 years ago

dsq - v0.22.0

Published by eatonphil about 2 years ago

dsq - 0.21.0

Published by eatonphil over 2 years ago

dsq - 0.20.2

Published by eatonphil over 2 years ago

  • Properly quote fields when using new CSV writer (see #74 )
  • Handle --convert-numbers flag in new SQLiteWriter by using NUMERIC field type, no conversions in Go
  • Properly handle no query case by disabling SQLiteWriter in this case so intermediate JSON file does get written
dsq - 0.20.1

Published by eatonphil over 2 years ago

  • Limit SQLite writer to only CSV, TSV and Regexp newline files for now since nested objects aren't translated the same way yet in the SQLite writer.
dsq - 0.20.0

Published by eatonphil over 2 years ago

  • Speed up most runs of dsq on large files 2x by skipping intermediate writes to JSON, writing directly from file to SQLite (see https://github.com/multiprocessio/datastation/pull/267 for details). If this breaks things for you you can add the --no-sqlite-writer flag to go back to the old code path. This path isn't taken for JSON, Excel, and ODS files or when schema or --convert-numbers is set.
dsq - 0.19.0

Published by eatonphil over 2 years ago

  • -n, --convert-numbers flag to automatically convert values to integers or floats when reading CSV/TSV; courtesy of @fritzgrabo
dsq - 0.18.0

Published by eatonphil over 2 years ago

  • New hashing/encoding functions: base64, from_base64, md5, sha1, sha256, sha512, etc. See here for the full list.
  • New string functions: len, split_part, regexp_count, regexp_split_part. See here for details.
dsq - 0.17.0

Published by eatonphil over 2 years ago

  • Bring in go-sqlite3-stdlib with functions for parsing URLs, best-effort date parsing, string and math helpers, and aggregate functions like percentiles, stddev, median, mode, etc. See that repo README for full details.
dsq - 0.16.0

Published by eatonphil over 2 years ago

  • Support for a basic interactive REPL with the -i or --interactive flag courtesy of @Ghibranalj
dsq - 0.15.1

Published by eatonphil over 2 years ago

  • Fixes dsq -v, dsq -h panic after printing version and help text. Introduced in 0.15.0
dsq - 0.15.0

Published by eatonphil over 2 years ago

  • Support for -f|--file flag to pass query as file instead of string in terminal, courtesy of @Ghibranalj
  • Support for --cache|-C flag to cache imported data, courtesy of @Posrabi (see README for details)
dsq - 0.14.0

Published by eatonphil over 2 years ago

dsq - 0.13.0

Published by eatonphil over 2 years ago

  • Support for Apache Avro (courtesy of @Posrabi)
  • Support for dumping inferred file schema (rather than dumping data or running a query) with --schema flag
dsq - 0.12.0

Published by eatonphil over 2 years ago

dsq - 0.11.0

Published by eatonphil over 2 years ago

dsq - 0.10.0

Published by eatonphil over 2 years ago

  • Consistent sort --pretty table columns
dsq - 0.9.0

Published by eatonphil over 2 years ago

  • Support for loading and querying nested array columns
dsq - 0.8.1

Published by eatonphil over 2 years ago

dsq - 0.8.0

Published by eatonphil over 2 years ago

Adds -v/--version flag to show version.