Topic: How to Use Datatable Operation in Kusto to Create Temporary Table
How to use Datatable Operation in Kusto to create temporary table | Kusto Query Language Tutorial (KQL) In this article, we are going to
learn about datatable operation in Kusto, so think about that you want to
create some temporary table insert some values and then use that in the
different queries that's possible by using datatable operation, so datatable
returns a table of whose schema and values are defined in the query itself Kusto Query Language is a powerful tool to explore your data and discover patterns, identify anomalies and outliers, create statistical modeling, and more.
//datatable operation : Returns a table whose schema and values are defined in the query itself.
datatable (id:int,name:string)
[1,"aamir",
2,"Shahzad",
3,"Lisa"]
| where id>1
//Give a name to your Temporary table
let TempData= datatable (id:int,name:string)
[1,"aamir",
2,"Shahzad",
3,"Lisa"];
// get the data from datatable
TempData
| where id>1
// use them where you need to
let TempData= datatable (id:int,name:string)
[1,"aamir",
2,"Shahzad",
3,"Lisa"];
union TempData,TotalSale
No comments:
Post a Comment