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

# Exasol relation source

> Observe a local Exasol table through the native SQL WebSocket protocol.

Mount [the SQL app](https://docs.bijection.com/integrations/native-sql.md#mount-and-bind) once per table
and bind `exasolRelation("warehouse.example:8564", login, data)`
to the SQL app's `provider`. Pass the same label to the receiver binder and as the app's `data`. The app publishes rows and their position together at
that label.

Use a fixed endpoint serving Exasol's TLS WebSocket protocol v3. The
receiver verifies the server name against deployment trust. The installation
needs a direct permitted TCP route to the endpoint. Authorize an OpenID
database access token for a user that can start sessions and read the
declared local table. Seal the connection with `bijection secret set` and
rotate the token before expiry.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "accessToken": "<Exasol database OpenID access token>",
  "database": "inventory",
  "schema": "PUBLISHING",
  "table": "ITEMS",
  "key": [{"column": "REGION", "kind": "text"}, {"column": "ID", "kind": "bigint"}],
  "columns": ["REGION", "ID", "DESCRIPTION"],
  "incarnation": "inventory-items-1"
}
```

Use the exact catalog spelling of schema, table and column names. Maintain
a unique, non-null tuple of one to eight `DECIMAL(p,0)` columns with
`p <= 18` or `VARCHAR` columns. The full key compares integers numerically
and text in UTF-8 byte order. Record keys are JSON arrays of strings up to
512 encoded bytes. Project one to sixteen `VARCHAR`, `DECIMAL` or
`BOOLEAN` columns. Values land as JSON strings or null.

Each page observes one Exasol statement, and later pages can see concurrent
writes. Up to 32 rows land per page, with a 48 KiB encoded answer limit and
a 24 KiB per-row payload limit. The provider result must arrive as one
complete inline result. An oversized next row leaves the position before
that row. Later traversals refresh observed keys and retain missing keys.
This mode provides no CDC.

The driver checks local table and column catalog identities before and after
the read. Change the configured incarnation when replacing or restoring the
table, including when a restore preserves catalog IDs. A detected identity
change stops the source until an installer authorizes a reset at the health
revision and gap stamp.

[Exasol WebSocket SQL protocol v3](https://github.com/exasol/websocket-api/blob/master/docs/WebsocketAPIV3.md)


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