cq

Query CSVs using SQL (by jolmg)

Cq Alternatives

Similar projects and alternatives to cq

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cq alternative or higher similarity.

cq reviews and mentions

Posts with mentions or reviews of cq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-04.
  • SQLite Is Dynamically Typed (2020)
    3 projects | news.ycombinator.com | 4 Aug 2021
    It seems beneficial for my case.

    I have a light wrapper around SQLite called cq[1], to make querying CSVs with SQL more convenient. The point of the tool is to facilitate making ad-hoc, one-off queries on CSV data. CSVs don't specify the types of their columns, and they're either text or numeric. Having to be explicit on what the columns are would be a downside for me. Many CSVs have a ton of columns and I often care only about a few columns for one particular query I'll write and run once and never again.

    I've fallen into the trap[2] where imported columns compare alphabetically despite them being numbers. I've been casting in my queries and was considering adding argument syntax for specifying the types of certain columns, but now that I see this, I think the behavior on specifying everything as NUMERIC is more desirable. It's more like Excel/LibreOfficeCalc, where you can just use numbers and they behave like numbers without having to be super-explicit.

    I do very much agree that it's not desirable design for the DB of an app. There type-safety is more desirable.

    [1] https://github.com/jolmg/cq

    [2] https://news.ycombinator.com/item?id=28071615

  • Show HN: Work with CSV files using SQL. For data scientists and engineers
    10 projects | news.ycombinator.com | 18 Jul 2021

Stats

Basic cq repo stats
2
167
0.0
over 4 years ago

jolmg/cq is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of cq is Shell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com