# Structural differences and limitations with the Spark SDK

{% hint style="info" %}
**Required license:** Professional or Enterprise license.

Not available on Tonic Structural Cloud.
{% endhint %}

## No automatic sensitivity scans

For a Spark SDK workspace, Structural does not automatically run sensitivity scans. You must [run the sensitivity scan manually](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#sensitivity-scan-manual) or [set up scheduled sensitivity scans](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#sensitivity-scan-schedule).

## No workspace inheritance <a href="#spark-sdk-tonic-differences-workspace-inheritance" id="spark-sdk-tonic-differences-workspace-inheritance"></a>

Spark SDK workspaces do not support workspace inheritance.

## Table mode limitations <a href="#spark-sdk-tonic-differences-table-modes" id="spark-sdk-tonic-differences-table-modes"></a>

You can only assign the De-Identify or Truncate table modes.

For Truncate mode, the table is ignored completely. The table does not exist in the destination database.

## Generator limitations <a href="#spark-sdk-tonic-differences-generators" id="spark-sdk-tonic-differences-generators"></a>

Spark SDK workspaces only support the following generators:

* Address
* Categorical
* Character Scramble
* Company Name
* Constant
* Continuous
* Custom Categorical
* Date Truncation
* Email
* HIPAA Address
* Integer Key
* JSON Mask
* MAC Address
* Name
* Noise Generator
* Null
* Random Hash
* Random Integer
* Random UUID
* Regex Mask
* SSN
* Struct Mask
* Timestamp Shift Generator
* UUID Key

## No subsetting <a href="#spark-sdk-tonic-differences-subsetting" id="spark-sdk-tonic-differences-subsetting"></a>

Spark SDK workspaces do not support subsetting.

## No upsert <a href="#spark-sdk-tonic-differences-upsert" id="spark-sdk-tonic-differences-upsert"></a>

Spark SDK workspaces do not support upsert.

## No output to a container repository <a href="#spark-sdk-tonic-limitations-containerization" id="spark-sdk-tonic-limitations-containerization"></a>

For Spark SDK workspaces, you cannot write the destination data to a container repository.


---

# Agent Instructions: 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:

```
GET https://docs.tonic.ai/app/setting-up-your-database/spark-sdk/spark-sdk-tonic-differences.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
