百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cq

> 编程语言
开源

cq - 用于 CSV 文件的高性能 SQL 查询引擎

194 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

cq - 用于 CSV 文件的高性能 SQL 查询引擎

cq - High-Performance SQL Query Engine for CSV Files

A lightweight, fast SQL query processor written in C that enables executing SQL queries directly on CSV files without requiring a database. For full documentation, see the /doc directory.

Documentation

  • Getting Started: doc/GettingStarted.md
  • Installation: doc/Installation.md
  • Command Line Interface: doc/CLI.md
  • TUI (Terminal User Interface): doc/TUI.md
  • Architecture: doc/Architecture.md
  • Testing: doc/Testing.md
  • Roadmap: doc/Roadmap.md
  • Contributing: doc/Contributing.md

Quick Start

Build: make

Command Line

Run a sample query: ./build/cq -q "SELECT name, age FROM 'data.csv' WHERE age > 25" -p

Terminal UI

Launch interactive TUI: ./build/cqtui data/

Features:

  • Browse and open CSV files as tables
  • Execute SQL queries interactively
  • Multi-tab interface for multiple tables
  • Keyboard-driven navigation
  • No external dependencies

Example SQL Files

The repository includes example SQL under assets/ (example_between.sql, example_aggregation.sql, etc.). See assets/ for details.

Data & Features Overview

  • See the /doc folder for detailed sections on data types, date formats, CSV format, and more.

License

MIT License. See LICENSE file for details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言