

 Amazon Redshift non supporterà più la creazione di nuovi Python UDFs a partire dalla Patch 198. Python esistente UDFs continuerà a funzionare fino al 30 giugno 2026. Per ulteriori informazioni, consulta il [post del blog](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# SYS\_INTEGRATION\_TABLE\_STATE\_CHANGE
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE"></a>

SYS\_INTEGRATION\_TABLE\_STATE\_CHANGE: visualizza i dettagli dei log delle modifiche dello stato della tabella per le integrazioni.

Un utente con privilegi avanzati può visualizzare tutte le righe della tabella.

Per ulteriori informazioni, consulta [Utilizzo delle integrazioni Zero-ETL](https://docs.aws.amazon.com//redshift/latest/mgmt/zero-etl-using.html).

## Colonne di tabella
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-table-columns"></a>


| Nome della colonna  | Tipo di dati  | Description  | 
| --- | --- | --- | 
| integration\_id | character(128) | L'identificatore associato all'integrazione. | 
| database\_name | character(128) | Il nome del database Amazon Redshift. | 
| schema\_name | character(128) | Nome dello schema Amazon Redshift. | 
| table\_name | character(128) | Nome della tabella. | 
| new\_state | character(128) | Lo stato della tabella. I valori possibili sono Synced, ResyncRequired, ResyncInitiated, Deleted, Failed e ResyncDeleted. | 
| table\_last\_replicated\_checkpoint | character(128) | Le coordinate attuali del log sincronizzato. | 
| state\_change\_reason | character(256) | Il motivo dell'ultima transizione dello stato. | 
| record\_time | timestamp | L’ora (UTC) in cui è stato aggiornato questo record. | 

## Query di esempio
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-sample-queries"></a>

Il seguente comando SQL mostra il log delle integrazioni. 

```
select * from sys_integration_table_state_change;
                
            integration_id            | database_name | schema_name | table_name | new_state |  table_last_replicated_checkpoint   | state_change_reason |        record_time
--------------------------------------+---------------+-------------+------------+-----------+-------------------------------------+---------------------+----------------------------
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest79   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:39:50.087868
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest56   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:39:45.54005
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest50   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:40:20.362504
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest18   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:40:32.544084
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest40t3s | sbtest23   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 15:49:05.186209
```