Skip to main content

ArpeMSSQL

v0.7.6Linux · Windows (x64)On-premiseAzure SQL · Microsoft Fabric

A pure-native ADBC driver for Microsoft SQL Server that speaks MS-TDS 7.4 and 8.0 directly over TCP/TLS and delivers Apache Arrow RecordBatches end to end. The driver is self-contained — no ODBC, no SQL Server client libraries, no separate OpenSSL to install. It also covers Azure SQL and Microsoft Fabric Warehouse.

note

Reading these docs. The badge above is the version this documentation describes. Options and features added recently are flagged inline with a Since vX.Y.Z note; the What's new page is the release-by-release view. See Versioning.

Highlights​

  • Native TDS 7.4 and 8.0 (strict encryption) over TCP/TLS — SQL Server 2012–2025, Azure SQL, Fabric.
  • Authentication — SQL logins, Microsoft Entra ID, and trusted/integrated auth: Windows SSPI, and Kerberos on Linux (with the system's MIT Kerberos).
  • Rich type mapping — including SQL Server 2025 VECTOR(n) → Arrow fixed_size_list and JSON → arrow.json, sql_variant as text, and geometry/geography ↔ GeoArrow WKB.
  • Arrow straight from the wire — results decode into Arrow column buffers with no intermediate row objects.

Connect in seconds​

Load the driver by name (arpemssql) from any ADBC client:

import adbc_driver_manager.dbapi as dbapi
with dbapi.connect(driver="arpemssql",
db_kwargs={"uri": "sqlserver://sa:<pw>@host:1433/?database=db&encrypt=true"}) as conn:
cur = conn.cursor()
cur.execute("SELECT * FROM dbo.orders")
table = cur.fetch_arrow_table()

New here? Install ArpeMSSQL first, then see the Connection guide.

All ArpeMSSQL pages​