mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Updated release notes
This commit is contained in:
parent
a42e026f69
commit
c00e31f76b
@ -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"])`
|
||||
|
Loading…
Reference in New Issue
Block a user