Recursos ampliados de exibição de tarefas para os privilégios MONITOR, OPERATE, MONITOR EXECUTION e OWNER (Pendente)

Atenção

Essa mudança de comportamento está no pacote 2025_01.

Para saber o status atual do pacote, consulte Histórico do pacote.

A ativação desse pacote de mudança de comportamento amplia a capacidade das funções com esses privilégios de exibição de informações de tarefas.

Antes da mudança:

Algumas informações de tarefas não estavam disponíveis para funções com privilégios MONITOR, OPERATE, MONITOR EXECUTION e OWNERSHIP.

Após a mudança:

As informações da tarefa disponíveis com os privilégios MONITOR, OPERATE, MONITOR EXECUTION e OWNERSHIP são ampliadas.

As tabelas a seguir descrevem as informações da tarefa que agora estão disponíveis quando esse pacote de mudança de comportamento está ativado.

Privilégios MONITOR e OPERATE

Antes da mudança

Após a mudança

SHOW TASKS

DESCRIBE TASK

Funções de tabela INFORMATION_SCHEMA

TASK_HISTORY

CURRENT_TASK_GRAPHS

COMPLETE_TASK_GRAPHS

QUERY_HISTORY , QUERY_HISTORY_BY_*

Para tarefas sem servidor:

Todas as consultas ✔

✔ Stored-procedure child queries that ran with caller’s rights.

❌ Stored-procedure child queries that ran with owner’s rights.

Para tarefas gerenciadas pelo usuário:

❌ Task privileges do not determine what a role can view in QUERY_HISTORY.

Para tarefas sem servidor:

Todas as consultas ✔

✔ Stored-procedure child queries that ran with caller’s rights.

❌ Stored-procedure child queries that ran with owner’s rights.

Para tarefas gerenciadas pelo usuário:

✔ Task queries and stored-procedure child queries.

❌ Stored-procedure child queries that ran with owner’s rights require at least MONITOR privileges on the warehouse. Task privileges do not grant this visibility.

Snowsight

Detalhes da tarefa > Executar histórico e Monitoramento > Histórico de tarefas > Execuções de tarefas

Detalhes da tarefa > Gráfico e Monitoramento > Histórico de tarefas > Gráficos de tarefas

Privilégio MONITOR EXECUTION

Antes da mudança

Após a mudança

SHOW TASKS

DESCRIBE TASK

Funções de tabela INFORMATION_SCHEMA

TASK_HISTORY

CURRENT_TASK_GRAPHS

COMPLETE_TASK_GRAPHS

QUERY_HISTORY , QUERY_HISTORY_BY_*

❌ Task privileges do not determine what a role can view in QUERY_HISTORY.

Para tarefas sem servidor:

Todas as consultas ✔

✔ Stored-procedure child queries that ran with caller’s rights.

❌ Stored-procedure child queries that ran with owner’s rights.

Para tarefas gerenciadas pelo usuário:

✔ Task queries and stored-procedure child queries.

❌ Stored-procedure child queries that ran with owner’s rights require at least MONITOR privileges on the warehouse. Task privileges do not grant this visibility.

Snowsight

Detalhes da tarefa > Executar histórico e Monitoramento > Histórico de tarefas > Execuções de tarefas

Detalhes da tarefa > Gráfico e Monitoramento > Histórico de tarefas > Gráficos de tarefas

Privilégio OWNERSHIP

Antes da mudança

Após a mudança

SHOW TASKS

DESCRIBE TASK

Funções de tabela INFORMATION_SCHEMA

TASK_HISTORY

CURRENT_TASK_GRAPHS

COMPLETE_TASK_GRAPHS

QUERY_HISTORY , QUERY_HISTORY_BY_*

Para tarefas sem servidor:

Todas as consultas ✔

✔ Stored-procedure child queries that ran with caller’s rights.

❌ Stored-procedure child queries that ran with owner’s rights.

Para tarefas gerenciadas pelo usuário:

❌ Task privileges do not determine what a role can view in QUERY_HISTORY.

Para tarefas sem servidor:

Todas as consultas ✔

✔ Stored-procedure child queries that ran with caller’s rights.

❌ Stored-procedure child queries that ran with owner’s rights.

Para tarefas gerenciadas pelo usuário:

✔ Task queries and stored-procedure child queries.

❌ Stored-procedure child queries that ran with owner’s rights require at least MONITOR privileges on the warehouse. Task privileges do not grant this visibility.

Snowsight

Detalhes da tarefa > Executar histórico e Monitoramento > Histórico de tarefas > Execuções de tarefas

Detalhes da tarefa > Gráfico e Monitoramento > Histórico de tarefas > Gráficos de tarefas

Ref: 1799