getschema 运算符getschema operator

生成表示输入的表格架构的表。Produce a table that represents a tabular schema of the input.

T | summarize MyCount=count() by Country | getschema 

语法Syntax

T | getschemaT | getschema

示例Example

StormEvents
| top 10 by Timestamp
| getschema
ColumnNameColumnName ColumnOrdinalColumnOrdinal 数据类型DataType ColumnTypeColumnType
TimestampTimestamp 00 System.DateTimeSystem.DateTime datetimedatetime
语言Language 11 System.StringSystem.String stringstring
页面Page 22 System.StringSystem.String stringstring
视图Views 33 System.Int64System.Int64 longlong
BytesDeliveredBytesDelivered 44 System.Int64System.Int64 longlong