ZhiHanZ / bendsql

Databend Native Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BendSQL

Databend Native Client in Rust

Components

  • core: Databend RestAPI rust client

  • driver: Databend unified SQL client for RestAPI and FlightSQL

  • cli: Databend native CLI

Installation for BendSQL

  • Cargo:
cargo install bendsql
  • Homebrew:
brew install databendcloud/homebrew-tap/bendsql
  • Apt:
sudo curl -L -o /usr/share/keyrings/datafuselabs-keyring.gpg https://repo.databend.rs/deb/datafuselabs.gpg
sudo curl -L -o /etc/apt/sources.list.d/datafuselabs.list https://repo.databend.rs/deb/datafuselabs.list

# or using DEB822-STYLE format in Ubuntu-22.04/Debian-12 and later
# sudo curl -L -o /etc/apt/sources.list.d/datafuselabs.sources https://repo.databend.rs/deb/datafuselabs.sources

sudo apt update

sudo apt install bendsql
  • Binary: check for latest release here

Development

Cargo fmt, clippy, audit

make check

Unit tests

make test

integration tests

Note: Docker and Docker Compose needed

make integration

About

Databend Native Client

License:Apache License 2.0


Languages

Language:Rust 97.9%Language:Shell 1.6%Language:Makefile 0.5%