> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

Ingest Engine pipelines are written in SQL. The dialect is based on [Apache DataFusion](https://arrow.apache.org/datafusion/) - a well-supported SQL engine built on [Apache Arrow](https://arrow.apache.org/) - and extended with streaming-specific constructs like windows, watermarks, and event-time joins.

If you've used other SQL engines (Postgres, DuckDB, Spark SQL, Flink SQL), most of what you already know carries over. The sections below cover the pieces that are either specific to Ingest Engine or particularly important for streaming.

Start with the [Quick Start](/ingest/sql/quick-start), then use the reference sections below in navigation order.

## Core reference

* [**DDL Statements**](/ingest/sql/reference/ddl) - `CREATE TABLE` for connection tables, `CREATE VIEW`, and the `WITH` options used to configure connectors.
* [**Basic Queries**](/ingest/sql/reference/basic-queries) - the basic query syntax, including projections, filtering, `UNNEST`, and subqueries.
* [**SQL Data Types**](/ingest/sql/reference/data-types) - the primitive and complex types supported by Ingest Engine, and how they map to underlying Rust types.

## Streaming

* [**Joins**](/ingest/sql/streaming/joins) - stream-stream joins (windowed and interval), lookup joins against external systems, and the semantics of each.
* [**Stateful Queries**](/ingest/sql/streaming/stateful) - working with update streams (CDC-style data), including Debezium-formatted inputs and outputs.
* [**Streaming Windows**](/ingest/sql/streaming/windows) - tumbling, sliding, and session windows for time-bucketed aggregations.

## Functions

* [**Scalar Functions**](/ingest/sql/functions) - math, string, JSON, time, array, struct, regex, hashing, and more.
* [**Aggregate Functions**](/ingest/sql/aggregate-window/aggregates) - `sum`, `count`, `avg`, `array_agg`, and other functions usable in `GROUP BY` queries.
* [**Window Functions**](/ingest/sql/aggregate-window/window) - OVER-clause analytical functions like `row_number`, `rank`, and `lag`/`lead`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.