DataFusion Server Usage Guide
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

What's Session Context

Session Context

A session context is a collection unit of tables that is maintained for a certain period. Each session context is accessed by an ID, and they are completely isolated from one another.

Session and Session-less

In contrast to the session-less queries demonstrated in Basic Queries, which handle everything from data source definition to query execution and response in a single request, the session context allows for the addition, refresh (reloading), and deletion of tables loaded from the data source at any time. This can reduce the overhead of loading from the data source and expanding into the Arrow in-memory buffer when accessing the same table repeatedly.