microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get All projected columns

amitharitan opened this issue · comments

Hi :)
I wish to get all the columns that will be projected as a result from the query (same way getschema works) is there an option to do so using the NuGet?

just to clarify, I wish to get all the columns even if there is no project statement,
Like:
amitTable
| take 1

should return all the columns in amitTable

Thanks in advance,
Amit

If you have a KustoCode instance that is parsed and analyzed, the ResultType property will have a TableSymbol instance that has a collection of Columns.

Works! thank you!