project-rename operator
Renames columns in the output table.
Syntax
T | project-rename
NewColumnName = ExistingColumnName [,
...]
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
T | string |
✔️ | The input tabular data. |
NewColumnName | string |
✔️ | The new column name. |
ExistingColumnName | string |
✔️ | The name of the existing column to rename. |
Returns
A table that has the columns in the same order as in an existing table, with columns renamed.
Examples
print a='a', b='b', c='c'
| project-rename new_b=b, new_a=a
Output
new_a | new_b | c |
---|---|---|
a | b | c |
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for