> For the complete documentation index, see [llms.txt](https://docs.e6data.com/query-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/query-engine/developers/pyspark-compatibility/limitations.md).

# Limitations

What the e6data PySpark compatibility layer does not support, and how unsupported operations behave.

The `e6-spark-compat` library covers the PySpark DataFrame API and a large set of SQL functions, but it isn't a complete drop-in for every Spark feature. Know these boundaries before migrating a workload. For what *is* supported, see [Supported APIs and compatibility notes](/query-engine/developers/pyspark-compatibility/supported-apis-and-compatibility.md).

## Read-oriented engine

e6data is a query engine for reading data. The compatibility layer translates DataFrame operations into SQL that runs on e6data - it is not a general-purpose Spark runtime.

* **No RDD API.** Only the DataFrame and SQL APIs are supported, not low-level RDD operations.
* **No UDFs / arbitrary Python execution.** Operations must translate to SQL; arbitrary Python or JVM UDFs that run inside Spark executors aren't supported.
* **No Spark-managed cluster or streaming.** There's no `SparkContext`-style cluster management or Structured Streaming; the session connects to an e6data cluster.

## Partial API coverage

Some APIs are supported only in part:

* **Window functions and complex types** are fully available in standard execution but only a **subset** runs on the native execution path.
* **Geospatial functions** are available via the Sedona-compatible layer in standard execution but not on the native path.
* **Cache hints** (`cache()`, `persist()`, `coalesce()`) are accepted as pass-through hints rather than Spark-style materialization.

When a query uses a feature the native path doesn't support, e6data **falls back to the standard path automatically** for that query - no error, no missed result.

## Write operations

Write support depends on the target catalog and table format; e6data is read-only for some catalog types. Confirm write support for your catalog before relying on it.

## See also

* [PySpark compatibility](/query-engine/developers/pyspark-compatibility.md)
* [Supported APIs and compatibility notes](/query-engine/developers/pyspark-compatibility/supported-apis-and-compatibility.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.e6data.com/query-engine/developers/pyspark-compatibility/limitations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
