From c00e31f76b215a6d5f2519fa61a1df93585667f5 Mon Sep 17 00:00:00 2001 From: HeenaBansal2009 Date: Tue, 13 Sep 2022 11:50:04 -0700 Subject: [PATCH] Updated release notes --- src/Parsers/Kusto/KQL_ReleaseNote.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/Parsers/Kusto/KQL_ReleaseNote.md b/src/Parsers/Kusto/KQL_ReleaseNote.md index bc4052ee67c..e3f440aac80 100644 --- a/src/Parsers/Kusto/KQL_ReleaseNote.md +++ b/src/Parsers/Kusto/KQL_ReleaseNote.md @@ -25,6 +25,32 @@ https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/extendoperator `T | extend T | extend duration = endTime - startTime` `T | project endTime, startTime | extend duration = endTime - startTime` +## String functions +- [reverse](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/reversefunction) + `print reverse(123)` + `print reverse(123.34)` + `print reverse('clickhouse')` + `print reverse(3h)` + `print reverse(datetime(2017-1-1 12:23:34))` + +- [parse_command_line](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/parse-command-line) + `print parse_command_line('echo \"hello world!\" print$?', \"Windows\")` + +- [parse_csv](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/parsecsvfunction) + `print result=parse_csv('aa,b,cc')` + `print result_multi_record=parse_csv('record1,a,b,c\nrecord2,x,y,z')` + +- [parse_json](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/parsejsonfunction) + `print parse_json( dynamic([1, 2, 3]))` + `print parse_json('{"a":123.5, "b":"{\\"c\\":456}"}')` + +- [extract_json](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/extractjsonfunction) + `print extract_json( "$.a" , '{"a":123, "b":"{\\"c\\":456}"}' , typeof(int))` + +- [parse_version](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/parse-versionfunction) + `print parse_version('1')` + `print parse_version('1.2.3.40')` + ## Array functions - [array_reverse](https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/array-reverse-function) `print array_reverse(dynamic(["this", "is", "an", "example"])) == dynamic(["example","an","is","this"])`