Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to comment lines in Kusto language [duplicate]

Is there a way to comment lines / explain query code with comments in Kusto language (KQL) / Azure Data Explorer queries?

Thanks in advance

like image 583
Julio Navarro Avatar asked May 12 '19 09:05

Julio Navarro


People also ask

How do you comment multiple lines in kusto?

Multiline comment in kusto You can use Ctrl+/ to toggle single or multiline comment. We are adding documentation to commonly used keyboard shortcuts in the ADX web UI, and are also considering adding buttons for some of them.

How do I comment on KQL?

Comments in KQL begin with two slashes // . If you want a multi-line comment you'll have to begin each line with the two slashes.

Where does the name kusto come from?

History. The development of the product began in 2014 as a grassroots incubation project in the Israeli R&D center of Microsoft, with the internal code name 'Kusto' (named after Jacques Cousteau, as a reference to "exploring the ocean of data").

What language does kusto use?

The primary language to interact with Kusto is KQL (Kusto Query Language). To make the transition and learning experience easier, you can use Kusto to translate SQL queries to KQL.


1 Answers

You can use // to comment lines:

// This is a comment
print x="hi"
like image 73
yifats Avatar answered Dec 22 '22 07:12

yifats