Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
Applies to: ✅Microsoft Fabric✅Azure Data Explorer✅Azure Monitor✅Microsoft Sentinel
Selecione quais colunas da tabela de entrada devem ser excluídas da tabela de saída.
Syntax
T| project-awayColumnNameOrPattern [, ...]
Learn more about syntax conventions.
Parameters
| Name | Tipo | Required | Description |
|---|---|---|---|
| T | string |
✔️ | A entrada tabular da qual remover colunas. |
| ColumnNameOrPattern | string |
✔️ | Um ou mais nomes de coluna ou padrões curinga de coluna a serem removidos da saída. |
Returns
Uma tabela com colunas que não foram nomeadas como argumentos. Contém o mesmo número de linhas que a tabela de entrada.
Tip
Você pode project-away quaisquer colunas que estejam presentes na tabela original ou que foram calculadas como parte da consulta.
Note
A ordem das colunas no resultado é determinada pela sua ordem original na tabela. Somente as colunas que foram especificadas como argumentos são descartadas. As outras colunas são incluídas no resultado.
Examples
The examples in this article use publicly available tables in the help cluster, such as the
StormEventstable in the Samples database.
The examples in this article use publicly available tables, such as the
Weathertable in the Weather analytics sample gallery. Talvez seja necessário modificar o nome da tabela na consulta de exemplo para corresponder à tabela em seu espaço de trabalho.
A tabela de entrada PopulationData tem 2 colunas: State e Population. Projete a coluna Population e você ficará com uma lista de nomes de estados.
PopulationData
| project-away Population
Output
A tabela a seguir mostra apenas os primeiros 10 resultados.
| State |
|---|
| ALABAMA |
| ALASKA |
| ARIZONA |
| ARKANSAS |
| CALIFORNIA |
| COLORADO |
| CONNECTICUT |
| DELAWARE |
| DISTRITO DE COLÚMBIA |
| FLORIDA |
| ... |
Exclusão de projeto usando um padrão de nome de coluna
Esta consulta remove colunas que começam com a palavra "sessão".
ConferenceSessions
| project-away session*
Output
A tabela mostra apenas os primeiros 10 resultados.
| conference | proprietário | participants | URL | nível | starttime | duration | time_and_duration | kusto_affinity |
|---|---|---|---|---|---|---|---|---|
| Cimeira PASS 2019 | Avner Aharoni | https://www.eventbrite.com/e/near-real-time-interact-analytics-on-big-data-using-azure-data-explorer-fg-tickets-77532775619 | 2019-11-07T19:15:00Z | Qui, 7 de novembro, 11:15-12:15 PST | Focused | |||
| PASS Summit | Rohan Kumar | Ariel Pisetzky | https://www.pass.org/summit/2018/Learn/Keynotes.aspx | 2018-11-07T08:15:00Z | 90 | Qua, 7 nov, 8:15-9:45 am | Mention | |
| Nuvem inteligente 2019 | Rohan Kumar | Henning Rauch | 2019-04-09T09:00:00Z | 90 | Ter, abr 9, 9:00-10:30 | Mention | ||
| Ignite 2019 | Jie Feng | https://myignite.techcommunity.microsoft.com/sessions/83940 |
100 | 2019-11-06T14:35:00Z | 20 | Qua, 6 nov, 9:35 - 09:55 | Mention | |
| Ignite 2019 | Bernhard Rode | Le Hai Dang, Ricardo Niepel | https://myignite.techcommunity.microsoft.com/sessions/81596 |
200 | 2019-11-06T16:45:00Z | 45 | Qua, 6 nov, 11:45-12:30 | Mention |
| Ignite 2019 | Tzvia Gitlin | Troyna | https://myignite.techcommunity.microsoft.com/sessions/83933 |
400 | 2019-11-06T17:30:00Z | 75 | Qua, 6 nov, 12h30-13h30 | Focused |
| Ignite 2019 | Jie Feng | Troyna | https://myignite.techcommunity.microsoft.com/sessions/81057 |
300 | 2019-11-06T20:30:00Z | 45 | Qua, 6 nov, 15:30-16:15 | Mention |
| Ignite 2019 | Manoj Raheja | https://myignite.techcommunity.microsoft.com/sessions/83939 |
300 | 2019-11-07T18:15:00Z | 20 | Qui, 7 nov, 13:15-13:35 | Focused | |
| Ignite 2019 | Uri Barash | https://myignite.techcommunity.microsoft.com/sessions/81060 |
300 | 2019-11-08T17:30:00Z | 45 | Sex, nov8, 10:30-11:15 | Focused | |
| Ignite 2018 | Manoj Raheja | https://learn.microsoft.com/shows/ignite-2018/ |
200 | 20 | Focused | |||
| ... | ... | ... | ... | ... | ... | ... | ... | ... |
Related content
- To choose what columns from the input to keep in the output, use project-keep.
- Para renomear colunas, use
project-rename. - Para reordenar colunas, use
project-reorder.