다음을 통해 공유


project-away operator

Applies to: ✅Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

출력 테이블에서 제외할 입력 테이블에서 열을 선택합니다.

Syntax

T| project-awayColumnNameOrPattern [, ...]

Learn more about syntax conventions.

Parameters

Name Type Required Description
T string ✔️ 열을 제거할 테이블 형식 입력입니다.
ColumnNameOrPattern string ✔️ 출력에서 제거할 하나 이상의 열 이름 또는 열 와일드카드 패턴입니다.

Returns

인수로 이름이 지정되지 않은 열이 있는 테이블입니다. 입력 테이블과 동일한 수의 행을 포함합니다.

Tip

원래 테이블에 있거나 쿼리의 일부로 계산된 모든 열을 사용할 수 project-away 있습니다.

Note

결과의 열 순서는 테이블의 원래 순서에 따라 결정됩니다. 인수로 지정된 열만 삭제됩니다. 다른 열은 결과에 포함됩니다.

Examples

The examples in this article use publicly available tables in the help cluster, such as the StormEvents table in the Samples database.

The examples in this article use publicly available tables, such as the Weather table in the Weather analytics sample gallery. 작업 영역의 테이블과 일치하도록 예제 쿼리에서 테이블 이름을 수정해야 할 수 있습니다.

입력 테이블에 PopulationData 는 2개의 열이 있습니다State. Population 열을 프로젝트로 제거 Population 하면 상태 이름 목록이 남아 있습니다.

PopulationData
| project-away Population

Output

다음 표에서는 처음 10명의 결과만 보여 있습니다.

State
ALABAMA
ALASKA
ARIZONA
ARKANSAS
CALIFORNIA
COLORADO
CONNECTICUT
DELAWARE
컬럼비아 특별구
FLORIDA
...

열 이름 패턴을 사용하여 프로젝트 비움

이 쿼리는 "session"이라는 단어로 시작하는 열을 제거합니다.

ConferenceSessions
| project-away session*

Output

표에는 처음 10명의 결과만 표시됩니다.

conference owner participants URL level starttime duration time_and_duration kusto_affinity
PASS Summit 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 11월 7일 목요일 오전 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 11월 7일(수) 오전 8:15-9:45 Mention
Intelligent Cloud 2019 Rohan Kumar Henning Rauch 2019-04-09T09:00:00Z 90 화요일, 4월 9일, 오전 9:00-10:30 Mention
Ignite 2019 Jie Feng https://myignite.techcommunity.microsoft.com/sessions/83940 100 2019-11-06T14:35:00Z 20 수, 11월 6일, 오전 9:35 - 오전 9:55 Mention
Ignite 2019 Bernhard Rode 르 하이당, 리카르도 니펠 https://myignite.techcommunity.microsoft.com/sessions/81596 200 2019-11-06T16:45:00Z 45 11월 6일(수) 오전 11:45~오후 12:30 Mention
Ignite 2019 Tzvia Gitlin Troyna https://myignite.techcommunity.microsoft.com/sessions/83933 400 2019-11-06T17:30:00Z 75 11월 6일(수) 오후 12:30~오후 1:30 Focused
Ignite 2019 Jie Feng Troyna https://myignite.techcommunity.microsoft.com/sessions/81057 300 2019-11-06T20:30:00Z 45 11월 6일(수) 오후 3:30~오후 4:15 Mention
Ignite 2019 Manoj Raheja https://myignite.techcommunity.microsoft.com/sessions/83939 300 2019-11-07T18:15:00Z 20 11월 7일 목요일 오후 1:15-오후 1:35 Focused
Ignite 2019 Uri Barash https://myignite.techcommunity.microsoft.com/sessions/81060 300 2019-11-08T17:30:00Z 45 금, 11월 8, 10:30 AM-11:15 AM Focused
Ignite 2018 Manoj Raheja https://learn.microsoft.com/shows/ignite-2018/ 200 20 Focused
... ... ... ... ... ... ... ... ...
  • To choose what columns from the input to keep in the output, use project-keep.
  • 열 이름을 바꾸려면 .를 사용합니다 project-rename.
  • 열의 순서를 다시 지정하려면 .를 사용합니다 project-reorder.