---
title: DELTA_STREAMING_RESTART_REQUIRED_WITH_NEW_DATAFRAME error condition
description: Documentation for the DELTA\_STREAMING\_RESTART\_REQUIRED\_WITH\_NEW\_DATAFRAME error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/delta-streaming-restart-required-with-new-dataframe-error-class
---

# DELTA\_STREAMING\_RESTART\_REQUIRED\_WITH\_NEW\_DATAFRAME error condition

[SQLSTATE: KD007](https://docs.databricks.com/aws/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Recreate the streaming DataFrame, then restart the query.

## PARTITION\_SCHEMA\_CHANGED

The partition schema changed for Delta table `<tableId>`.

Partition schema from analysis:

`<analyzedPartitionSchema>`

Physical partition column names from analysis: `<analyzedPhysicalNames>`

Partition schema at source initialization:

`<currentPartitionSchema>`

Physical partition column names at source initialization: `<currentPhysicalNames>`

## SCHEMA\_CHANGED

The streaming query's schema does not match the current table schema.

Query schema (from analysis): `<querySchema>`

Current table schema: `<tableSchema>`

The table schema has changed since this streaming query was created.
