apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow

Home Page:https://arrow.apache.org/adbc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADBC: Arrow Database Connectivity

License

ADBC is an API standard (version 1.0.0) for database access libraries ("drivers") in C, Go, and Java that uses Arrow for result sets and query parameters. Instead of writing code to convert to and from Arrow data for each individual database, applications can build against the ADBC APIs, and link against drivers that implement the standard. Additionally, a JDBC/ODBC-style driver manager is provided. This also implements the ADBC APIs, but dynamically loads drivers and dispatches calls to them.

Like JDBC/ODBC, the goal is to provide a generic API for multiple databases. ADBC, however, is focused on bulk columnar data retrieval and ingestion through an Arrow-based API rather than attempting to replace JDBC/ODBC in all use cases. Hence, ADBC is complementary to those existing standards.

Like Arrow Flight SQL, ADBC is an Arrow-based way to work with databases. However, Flight SQL is a protocol defining a wire format and network transport as opposed to an API specification. Flight SQL requires a database to specifically implement support for it, while ADBC is a client API specification for wrapping existing database protocols which could be Arrow-native or not. Together, ADBC and Flight SQL offer a fully Arrow-native solution for clients and database vendors.

For more about ADBC, see the introductory blog post.

Status

ADBC versions the API standard and the implementing libraries separately.

The API standard (version 1.0.0) is considered stable, but enhancements may be made.

Libraries are under development. For more details, see the documentation, or read the changelog.

Installation

Please see the documentation.

Documentation

The core API definitions can be read in adbc.h. User documentation can be found at https://arrow.apache.org/adbc

Development and Contributing

For detailed instructions on how to build the various ADBC libraries, see CONTRIBUTING.md.

About

Database connectivity API standard and libraries for Apache Arrow

https://arrow.apache.org/adbc/

License:Apache License 2.0


Languages

Language:C++ 24.6%Language:Go 16.2%Language:C# 14.0%Language:Java 11.9%Language:C 10.5%Language:Python 5.7%Language:Shell 4.5%Language:R 3.6%Language:CMake 2.5%Language:Ruby 1.8%Language:Cython 1.7%Language:Rust 1.4%Language:PowerShell 0.5%Language:Meson 0.4%Language:Dockerfile 0.3%Language:Batchfile 0.2%Language:Makefile 0.1%Language:Vala 0.1%