Reader small image

You're reading from  Scalable Data Analytics with Azure Data Explorer

Product typeBook
Published inMar 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781801078542
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Jason Myerscough
Jason Myerscough
author image
Jason Myerscough

Jason Myerscough is a director of Site Reliability Engineering and cloud architect at Nuance Communications. He has been working with Azure daily since 2015. He has migrated his company's flagship product to Azure and designed the environment to be secure and scalable across 16 different Azure regions by applying cloud best practices and governance. He is currently certified as an Azure Administrator (AZ-103) and an Azure DevOps Expert (AZ-400). He holds a first-class bachelor's degree with honors in software engineering and a first class master’s degree in computing.
Read more about Jason Myerscough

Right arrow

Introducing the basics of KQL

Throughout this chapter, I will draw comparisons between SQL and KQL to demonstrate similarities and showcase the simplicity of KQL. Before we start to look at the basic data transformation operators, let's first look at how to query a table in the simplest form.

In SQL, if you want to query a table and return all columns and rows, you can execute a query as follows:

Select * from StormEvents

The query returns all the rows and columns for StormEvents. You can even execute the SQL query in the ADX Web UI. The equivalent query in KQL is simply the table name:

StormEvents

As shown in Figure 5.2, the query returns all rows and columns (59,066 records) in approximately 23 seconds:

Figure 5.2 – The simplest KQL query

This type of query can be expensive in terms of performance since it returns all records and columns, and tables can contain millions of records. This type of query is normally used with limit...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Scalable Data Analytics with Azure Data Explorer
Published in: Mar 2022Publisher: PacktISBN-13: 9781801078542

Author (1)

author image
Jason Myerscough

Jason Myerscough is a director of Site Reliability Engineering and cloud architect at Nuance Communications. He has been working with Azure daily since 2015. He has migrated his company's flagship product to Azure and designed the environment to be secure and scalable across 16 different Azure regions by applying cloud best practices and governance. He is currently certified as an Azure Administrator (AZ-103) and an Azure DevOps Expert (AZ-400). He holds a first-class bachelor's degree with honors in software engineering and a first class master’s degree in computing.
Read more about Jason Myerscough