More detailed error messages for sensitive data classification
The DATA_CLASSIFICATION_LATEST view now provides specific error messages and Snowflake codes for classification failures.
O que mudou
Use cases
Imagine you run automatic classification jobs to scan sensitive data across your tables and some runs fail. With this update, you can pinpoint the exact cause of the failure without guessing.
- Query standardized error messages for classification failures.
- Identify original Snowflake error codes appended to error strings.
- Streamline troubleshooting for failing tables or views.
How to use
SELECT table_name, status, error_message, last_classification_attempt
FROM snowflake.account_usage.data_classification_latest
WHERE error_message IS NOT NULL;
What happens in this code:
- Queries the account usage view to check recent sensitive data classification attempts.
- Filters specifically for tables or objects that encountered failures.
- Returns the table name, status, detailed error message, and associated Snowflake error code.
What it returns
| Column | Description |
|---|---|
TABLE_ID | Internal system-generated identifier for the table. |
TABLE_NAME | Name of the table. |
SCHEMA_ID | Internal system-generated identifier for the schema. |
SCHEMA_NAME | Name of the schema. |
DATABASE_ID | Internal system-generated identifier for the database. |
DATABASE_NAME | Name of the database. |
RESULT | Latest classification result as a JSON object. |
STATUS | Status of classification, either CLASSIFIED or REVIEWED. |
TRIGGER_TYPE | Mode of the trigger (MANUAL or AUTO CLASSIFICATION). |
LAST_CLASSIFIED_ON | Timestamp of the last successful classification. |
LAST_CLASSIFICATION_ATTEMPT | Timestamp of the last classification attempt. |
ERROR_MESSAGE | Descriptive error message from the last failed attempt including the originating error code. |
Limitations and requirements
- Latency for this view might be up to three hours.
- The view retains data for as long as the underlying table exists.
- data governance
- trust center
- security
- account usage
Sensitive data classification error and retry updates
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- SnowflakeGA
Geração de documentos em PDF, Word e PowerPoint no Snowflake CoWork
O Snowflake CoWork agora gera arquivos PDF, Word, PowerPoint e HTML diretamente de suas análises usando a ferramenta de execução de código do Cortex Agent.
snowflake cowork · cortex agent - SnowflakePublic Preview
Cortex Agent SDK para Python e TypeScript no Snowflake
O Cortex Agent SDK permite criar aplicações que utilizam Cortex Agents e Cortex Code em Python e TypeScript.
cortex agents · python - SnowflakeGA
Detalhes de predicados e tipos de query na LISTING_ACCESS_HISTORY
A visão LISTING_ACCESS_HISTORY agora traz detalhes de colunas usadas em filtros, agrupamentos e o tipo de query executada por consumidores em dados compartilhados.
data sharing · listings