githubEdit

arrow-progressFederated SQL Query

Federated SQL Query documentation

Spice supports federated queries, enabling you to join and combine data from multiple sources, including databases (PostgreSQL, MySQL), data warehouses (Databricks, Snowflake, BigQuery), and data lakes (S3, MinIO). For a full list of supported sources, see Data Connectorsarrow-up-right.

SQL Query

Playground SQL Explorer

The Playground SQL Explorer is the fastest way to get started with federated queries, debugging queries, and iterating quickly. The SQL Query Editor be accessed by clicking on the SQL Explorer tab after selecting Playground in the app navigation bar.

The Playground SQL Query Editor.

See https://github.com/spicehq/docs/blob/trunk/portal/playground/sql-query-editor.md for further documentation on using the SQL Query Editor.

Apache Arrow Flight API

For production applications, leveraging the high-performance Apache Arrow Flightarrow-up-right endpoint is recommended. The Spice SDKs always query using Arrow Flight.

See https://github.com/spicehq/docs/blob/trunk/api/sql-query/apache-arrow-flight-api.md for further documentation on using Apache Arrow Flight APIs.

HTTP API

SQL Query is also accessible via a standard HTTP API.

See https://github.com/spicehq/docs/blob/trunk/api/sql-query/http-api.md for further documentation on using the HTTP SQL API.

Last updated

Was this helpful?