

 O Amazon Redshift não permitirá mais a criação de UDFs do Python a partir do Patch 198. As UDFs do Python existentes continuarão a funcionar normalmente até 30 de junho de 2026. Para ter mais informações, consulte a [publicação de blog ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

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

SYS\_INTEGRATION\_TABLE\_STATE\_CHANGE exibe detalhes sobre os logs de alteração do estado da tabela das integrações.

Um superusuário pode ver todas as linhas dessa tabela.

Para ter mais informações, consulte [Trabalhar com Integrações ETL zero](https://docs.aws.amazon.com//redshift/latest/mgmt/zero-etl-using.html).

## Colunas da tabela
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-table-columns"></a>


| Nome da coluna  | Tipo de dados  | Descrição  | 
| --- | --- | --- | 
| integration\_id | character(128) | O identificador associado à integração. | 
| database\_name | character(128) | O nome do banco de dados do Amazon Redshift. | 
| schema\_name | character(128) | O nome do esquema do Amazon Redshift. | 
| table\_name | character(128) | O nome da tabela. | 
| new\_state | character(128) | O estado da tabela. Os valores possíveis são Synced, ResyncRequired, ResyncInitiated, Deleted, Failed e ResyncDeleted. | 
| table\_last\_replicated\_checkpoint | character(128) | As coordenadas de log sincronizadas atuais. | 
| state\_change\_reason | character(256) | O motivo da última transição de estado. | 
| record\_time | timestamp | O horário (UTC) em que o registro foi atualizado. | 

## Consultas de exemplo
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-sample-queries"></a>

O comando SQL a seguir exibe o log das integrações. 

```
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
```