# InvalidCharHandlingAction

Specifies the action to perform when query results contain invalid UTF-8 character values.

- Source: [`aws-glue/lib/storage-parameter.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-glue/lib/storage-parameter.ts#L35)
- Type last changed: v2.270.0 · 17 Sep 2026

## Members

| Member | Description |
| --- | --- |
| `DISABLED` | Doesn't perform invalid character handling. |
| `FAIL` | Cancels queries that return data containing invalid UTF-8 values. |
| `SET_TO_NULL` | Replaces invalid UTF-8 values with null. |
| `DROP_ROW` | Replaces each value in the row with null. |
| `REPLACE` | Replaces the invalid character with the replacement character you specify using `REPLACEMENT_CHAR`. |
