You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serving any [datafusion](https://datafusion.apache.org)`SessionContext` with full PostgreSQL compatibility, including authentication, role-based access control, and SSL/TLS encryption. Available as a library and a CLI tool.
6
-
7
-
This project adds a comprehensive [PostgreSQL compatible access layer](https://github.com/sunng87/pgwire) to the [Apache DataFusion](https://github.com/apache/arrow-datafusion) query engine, making it a drop-in replacement for PostgreSQL in analytics workloads.
5
+
A PostgreSQL-compatible server for [Apache DataFusion](https://datafusion.apache.org), supporting authentication, role-based access control, and SSL/TLS encryption. Available as both a library and CLI tool.
8
6
7
+
Built on [pgwire](https://github.com/sunng87/pgwire) to provide PostgreSQL wire protocol compatibility for analytical workloads.
9
8
It was originally an example of the [pgwire](https://github.com/sunng87/pgwire)
10
9
project.
11
10
12
11
## ✨ Key Features
13
12
14
13
- 🔌 **Full PostgreSQL Wire Protocol** - Compatible with all PostgreSQL clients and drivers
15
-
- 🛡️ **Enterprise Security** - Authentication, RBAC, and SSL/TLS encryption
14
+
- 🛡️ **Security Features** - Authentication, RBAC, and SSL/TLS encryption
16
15
- 🏗️ **Complete System Catalogs** - Real `pg_catalog` tables with accurate metadata
17
16
- 📊 **Advanced Data Types** - Comprehensive Arrow ↔ PostgreSQL type mapping
18
-
- 🔄 **Transaction Support** - Full ACID transaction lifecycle (BEGIN/COMMIT/ROLLBACK)
As a command-line application, this tool serves any JSON/CSV/Arrow/Parquet/Avro
95
-
files as tables, and exposes them via PostgreSQL compatible protocol with full security features.
99
+
Command-line tool to serve JSON/CSV/Arrow/Parquet/Avro files as PostgreSQL-compatible tables.
96
100
97
101
```
98
102
datafusion-postgres-cli 0.6.1
99
-
A secure postgres interface for datafusion. Serve any CSV/JSON/Arrow/Parquet files as tables.
103
+
A PostgreSQL interface for DataFusion. Serve CSV/JSON/Arrow/Parquet files as tables.
100
104
101
105
USAGE:
102
106
datafusion-postgres-cli [OPTIONS]
@@ -149,6 +153,8 @@ Listening on 127.0.0.1:5432 (unencrypted)
149
153
150
154
### Connect with psql
151
155
156
+
> **🔐 Authentication**: The default setup allows connections without authentication for development. For secure deployments, use `DfAuthSource` with standard pgwire authentication handlers (cleartext, MD5, or SCRAM). See `auth.rs` for implementation examples.
0 commit comments