databow: a Rust CLI to query any database with an ADBC driver

TL;DR

Databow, an open-source Rust-based CLI, allows users to query over 30 databases using ADBC drivers, providing a unified, fast interface for data engineers. It simplifies multi-database workflows and supports scripting and automation.

Databow, an open-source command-line tool built in Rust, was launched today to enable querying any database that supports an ADBC driver, providing a unified interface for data engineers and analysts.

Developed as a modern, lightweight CLI, databow connects to over 30 databases, including transactional, analytical, lakehouse, and time-series systems, via the Arrow Database Connectivity (ADBC) standard. It offers an interactive SQL shell with syntax highlighting, multiline input, export options, and scripting capabilities. Users can install it using the uv tool or Cargo and manage database connections through profiles, simplifying repeated tasks.

Databow leverages ADBC, a vendor-neutral API from the Apache Arrow project, to facilitate efficient data transfer using Arrow’s columnar format. This design ensures consistent behavior across different databases and allows for immediate support of new systems as ADBC drivers become available. The tool also supports exporting results to CSV, JSON, and Arrow IPC formats, and plans are underway to add more features, such as additional export formats and improved result set handling.

Why It Matters

This development matters because it addresses fragmentation in database querying tools, offering a single, fast, and modern CLI that can connect to a wide range of databases. It reduces the need to learn multiple CLI syntaxes, improves workflow efficiency, and enhances automation capabilities for data professionals. As the ADBC ecosystem expands, databow’s support for new databases will grow, making it a versatile tool for data engineering and analysis.

Amazon

database query CLI tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Prior to databow, data engineers and analysts relied on database-specific CLI tools like psql, mysql, or snowsql, which vary in syntax and output formats. GUI tools exist but are often heavyweight and less suited for scripting. The introduction of ADBC as a standard aims to unify database connectivity, and databow leverages this to streamline data access across diverse systems. The tool’s release follows ongoing efforts within the Apache Arrow community to promote vendor-neutral, high-performance data transfer standards.

“Databow simplifies multi-database workflows by providing a single, modern CLI that supports any database with an ADBC driver.”

— an anonymous researcher

“Built in Rust, databow offers fast queries and a small footprint, making it suitable for scripting and automation.”

— an anonymous researcher

Free Fling File Transfer Software for Windows [PC Download]

Free Fling File Transfer Software for Windows [PC Download]

Intuitive interface of a conventional FTP client

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet clear how quickly database vendors will adopt ADBC drivers or how comprehensive the current driver ecosystem will become, which could impact databow’s database support in the near term.

Advanced Snowflake SQL and Scripting for Data Engineering: Master Querying, Data Transformation, Stored Procedures, and Automated Data Pipelines

Advanced Snowflake SQL and Scripting for Data Engineering: Master Querying, Data Transformation, Stored Procedures, and Automated Data Pipelines

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Next steps include expanding support for additional databases as ADBC drivers are released, developing new features such as more export formats, and integrating advanced query management tools. The project’s maintainers plan to gather community feedback to prioritize future improvements.

Membership Manage Professional; 100,000 Member Database Tracking and Management Software; Multiuser License (Online Access Code Card) Win, Mac, Smartphone

Membership Manage Professional; 100,000 Member Database Tracking and Management Software; Multiuser License (Online Access Code Card) Win, Mac, Smartphone

No monthly fees like similar software, one payment for lifetime access

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can databow connect to all databases?

Databow can connect to any database with an available ADBC driver. As the ADBC ecosystem grows, support for more databases will be added.

How do I install databow?

You can install databow using the uv tool with the command uv tool install databow or via Cargo with cargo install databow.

Does databow support scripting and automation?

Yes, databow is designed to be integrated into scripts and pipelines, supporting direct query execution, file reading, and output piping.

What are the future features planned for databow?

Planned features include dot commands for quick configuration, support for additional export formats like Parquet, result set truncation, and displaying data types alongside query results.

Source: Hacker News

You May Also Like

Warranty claim packet builder for appliance repair shops

A new tool designed for independent appliance repair shops to streamline warranty claim documentation is entering initial testing, aiming to improve claim accuracy and efficiency.

Technology Operations Signal Monitor: The Future Of Flipper Zero Development

A new role-filtered monitoring tool tracks platform changes like Flipper Zero development, aiding small software teams in early decision-making.

Disk Is the Contract: Inside Threlmark’s Local-First Architecture

Threlmark’s innovative local-first design uses disk-based JSON files as the single source of truth, enabling portable, interoperable project management without databases.

Technology operations signal monitor: I admire Fabrice Bellard. He is almost certainly a better overall programmer

A new technology operations signal monitor identifies Fabrice Bellard as an exceptional programmer, emphasizing the need for role-specific early alerts for small software teams.