---
title: DELTA_REPLACE_WHERE_MISMATCH error condition
description: Documentation for the DELTA\_REPLACE\_WHERE\_MISMATCH error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/delta-replace-where-mismatch-error-class
---

# DELTA\_REPLACE\_WHERE\_MISMATCH error condition

[SQLSTATE: 44000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-44-with-check-option-violation)

Written data does not conform to partial table overwrite condition or constraint '`<replaceWhere>`'.

## INVALID\_PARTITIONS

Invalid data would be written to partitions `<badPartitions>`.

## INVARIANT\_VIOLATION

`<invariantViolationMessage>`
