Commit Graph

3012 Commits

Author SHA1 Message Date
Alexander Tokmakov
ec80068611 add a test for no such key 2023-09-20 22:37:24 +02:00
robot-clickhouse
c7c4166a73
Merge pull request #54670 from ClickHouse/fix-parser-unit-tests
Fix parser unit tests
2023-09-20 02:24:27 +02:00
Han Fei
17243b84ab Merge branch 'master' into hanfei/statistic 2023-09-19 17:09:17 +02:00
János Benjamin Antal
2ea324e44e Add explanatory comment 2023-09-18 09:59:30 +00:00
János Benjamin Antal
66265e879d Make the transformation to one line reversible 2023-09-18 09:59:20 +00:00
Robert Schulze
f5e8028bb1
Merge pull request #54642 from rschu1ze/broken-re2st
Remove broken lockless variant of re2
2023-09-17 15:30:57 +02:00
János Benjamin Antal
358f22d18a Update PRQL unit tests to latest PRQL version 2023-09-15 12:31:30 +00:00
János Benjamin Antal
68c6bd8826 Make the failed message single line to fix result parsing 2023-09-15 12:04:22 +00:00
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2 2023-09-14 16:40:42 +00:00
Val Doroshchuk
6cfbaf9f86 MaterializedMySQL: Introduce Character Set Introducers
If some string literals are used in DDL, they might have `Character Set Introducers`
https://dev.mysql.com/doc/refman/8.0/en/charset-introducer.html
f.e. _utf8mb4'1' which is not parsable by current ParserStringLiteral.

Since we use utf8 by default, suggesting to automatically convert the string literals to utf8
before executing the query and avoid any charset introducers there.
Conversion from utf8 to utf8 is not needed and skipped.

Also it might convert double quotes to single quotes if any
which might solve issues with COMMENT and empty string literals "" in DEFAULT expressions.

SELECT _latin1"abc"; -- might be also valid for MySQL
... DEFAULT "",
... COMMENT "abc"

Currently no DEFAULT expressions are supported, not parsable at all,
but using this MR it allows to parse the expressions together with double quotes as string literals.
2023-09-14 08:24:25 +02:00
Tim Windelschmidt
7979090333 use env to find bash 2023-09-13 18:57:11 +02:00
Nikolay Degterinsky
268c45d900 Merge remote-tracking branch 'upstream/master' into users-valid-until 2023-09-12 23:44:22 +00:00
Kruglov Pavel
21a2cf7707
Merge pull request #54337 from wat-ze-hex/show-functions-2023-09-04
Add SHOW FUNCTIONS support to client
2023-09-11 13:03:02 +02:00
Nikolay Degterinsky
39b11f47f5
Merge pull request #54403 from evillique/fix-column-formatting
Fix incorrect formatting of CREATE query with PRIMARY KEY
2023-09-08 22:14:49 +02:00
robot-ch-test-poll4
839f69c940
Merge pull request #53765 from vitlibar/sync-uuids-of-tables-on-replicas
Sync UUIDs of tables on replicas after RESTORE
2023-09-08 17:30:32 +02:00
Han Fei
ddcb64f39f update docs and refine statements 2023-09-08 02:27:17 +02:00
Julia Kartseva
59844b0a9d Add SHOW FUNCTIONS support to client
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']

Retrieves all columns from `functions` table in system database.

Fixes #52757
2023-09-07 14:08:50 -07:00
Nikolay Degterinsky
e821cd4511 Fix formatting of column declaration 2023-09-07 12:01:07 +00:00
Alexander Sapin
518d4b4357 Merge branch 'master' into alter-table-add-comment 2023-09-06 12:34:04 +02:00
Vitaly Baranov
82b1c09150 Simplify coordination of UUIDs. 2023-09-05 20:49:43 +02:00
robot-clickhouse
926c5636dd
Merge pull request #42599 from ClickHouse/build-fuzzer-protocol
libFuzzer: add CI fuzzers build, add tcp protocol fuzzer, fix other fuzzers.
2023-09-04 22:41:54 +02:00
Han Fei
f60dad0598 Merge branch 'master' into hanfei/statistic 2023-09-04 16:17:07 +02:00
Han Fei
2330a28f7b support estimate by stat 2023-09-04 15:51:00 +02:00
Yakov Olkhovskiy
361b21b416 fix fuzzers, cmake refactor, add target fuzzers 2023-09-01 14:20:50 +00:00
Nikita Mikhaylov
c08fc52812
Merge pull request #54067 from ClickHouse/vdimir/is_not_distinct_from_operator
Parse IS NOT DISTINCT and <=> operators
2023-08-31 17:14:42 +02:00
Alexey Milovidov
8c28e51425 Add suport for mathematical minus character 2023-08-31 04:59:58 +02:00
Alexey Milovidov
6962070baa Add suport for mathematical minus character 2023-08-31 04:56:47 +02:00
vdimir
dd094d1f55
Parse IS NOT DISTINCT and <=> operators 2023-08-30 13:12:43 +00:00
chen768959
4db7b866ad If there is a comma after 'from' then the first one was a name of a column 2023-08-29 15:20:23 +08:00
Alexey Milovidov
0c0e8e548a
Merge pull request #53864 from jsc0218/ignore-foreign-keys-in-tables-definition
Ignore foreign keys in tables definition
2023-08-29 03:09:54 +03:00
jsc0218
c91b409bcf remove trailing white spaces to pass format check 2023-08-28 09:19:46 -04:00
jsc0218
bf12415215 Ignore foreign keys in tables definition 2023-08-27 21:18:13 -04:00
Yakov Olkhovskiy
264877b2a5 fix fuzzers, add bundle build target fuzzers 2023-08-27 19:47:11 +00:00
Yakov Olkhovskiy
b9425d8c4b no-newline-eof for Parsers/fuzzers/codegen_fuzzer 2023-08-27 15:47:29 +00:00
Yong Wang
e5f968b0d8 Kusto-phase2: enabled fuzzing test for dialect prql 2023-08-26 07:40:40 -07:00
Yong Wang
e08382a8c7 Kusto-phase3: fix another style 2023-08-26 07:40:40 -07:00
Yong Wang
ff9b985490 Kusto-phase2: fix style 2023-08-26 07:40:40 -07:00
Yong Wang
1c3a3debb4 Kusto-phase2: fix unit test 2023-08-26 07:40:40 -07:00
Yong Wang
828f4a67b7 Kusto-phase2: use seperated path to parse kql query 2023-08-26 07:40:40 -07:00
Yong Wang
5621ca5984 Kusto-phase2: allow negative operators for kql table function only 2023-08-26 07:40:40 -07:00
Yong Wang
4a5f462e43 Kusto-phase2: prevent pass NaN and inf to intExp2 2023-08-26 07:40:40 -07:00
Yong Wang
350516ddf5 Kusto-phase2: fix unit test 2023-08-26 07:40:40 -07:00
Yong Wang
02a2a70add Kusto-phase2: fix another intExp2 integer overflow 2023-08-26 07:40:40 -07:00
Yong Wang
0a26b6fde3 Kusto-phase2 : fix integer overflow for intExp2 2023-08-26 07:40:40 -07:00
Yong Wang
89d4644f93 Kusto-phase3: add round fuction to p2 to avoid different result on different machine 2023-08-26 07:40:40 -07:00
Yong Wang
1ec574057a Kusto-phase2: fixed some functional test 2023-08-26 07:40:40 -07:00
Yong Wang
815cf6b55d Kusto-phase2: fix KustoLayer state 2023-08-26 07:40:39 -07:00
Yong Wang
cafb9f810e Kusto-phase2: fix unit test 2023-08-26 07:40:39 -07:00
Yong Wang
87d3ba87a7 Kusto-phase2: update pipe index issue 2023-08-26 07:40:39 -07:00
Yong Wang
91f82150a5 Kusto-phase2: remove unnecessary changes 2023-08-26 07:40:39 -07:00
Yong Wang
bfb6184ccf Kusto-phase2: fix style, remove trailing whitespaces 2023-08-26 07:40:39 -07:00
Yong Wang
c9e180cc87 Kusto-phase2 : adjust time format 2023-08-26 07:40:39 -07:00
Yong Wang
5cc3f4708c Kusto-phase2: restore to kusto dialect only, fix some style issue 2023-08-26 07:40:39 -07:00
Yong Wang
523bcf550d Kusto-phase2: fix operators, unit test and functional test. 2023-08-26 07:40:39 -07:00
Yong Wang
6f6a103c5f Kusto-phase2: remove dialect auto option. use table function instead of subquery for kql() function fix type. 2023-08-26 07:40:39 -07:00
Larry Luo
9e82ed1d04 Fixed clang-tidy and Arch tests 2023-08-26 07:40:39 -07:00
Larry Luo
1105ac624b Fixed style issues 2023-08-26 07:40:38 -07:00
Larry Luo
3a245f5cba removed trailing whitespaces. 2023-08-26 07:40:38 -07:00
Larry Luo
707fd10544 Fixed style issues 2023-08-26 07:40:38 -07:00
Larry Luo
6aa084379e Fixed build issue 2023-08-26 07:40:38 -07:00
Larry Luo
8a6e28fe27 fix a style issue 2023-08-26 07:40:38 -07:00
Larry Luo
b2986f8900 Fixed unit and functional tests 2023-08-26 07:40:38 -07:00
ltrk2
e4549b7eb2 Implement KQL UUID base64 coding functions 2023-08-26 07:40:38 -07:00
ltrk2
5d8d2c4038 Fix build errors 2023-08-26 07:40:38 -07:00
Yong Wang
eef88c627e Kusto-phase2, fix kql subquery for master branch 2023-08-26 07:40:38 -07:00
root
832bd7400f fix unit test 2023-08-26 07:40:38 -07:00
Yong Wang
fe77f9f524 Kusto-phase2: updated release note 2023-08-26 07:40:38 -07:00
HeenaBansal2009
fa842ea34f Initial Commit 2023-08-26 07:40:37 -07:00
root
272fa68c1e modified unit test 2023-08-26 07:40:37 -07:00
root
eb7af85db3 endofyear() bug_fix_1369 2023-08-26 07:40:37 -07:00
root
837298ea5e Bug fix 1370 2023-08-26 07:40:37 -07:00
Yong Wang
0c0395c961 Kusto-phase2 : add distinct operator 2023-08-26 07:40:37 -07:00
root
c8e516ead1 Bug fix 1489 2023-08-26 07:40:37 -07:00
root
8958a40a60 bug fixe issue-1420 2023-08-26 07:40:37 -07:00
root
8a783cecd7 modified unit test 2023-08-26 07:40:37 -07:00
root
d1f18edd3e updated unit and functional tests 2023-08-26 07:40:37 -07:00
root
e32f717700 removed unwanted header file 2023-08-26 07:40:37 -07:00
root
3778a8c16f addressed reviewed change requests made by Yong 2023-08-26 07:40:37 -07:00
root
deae7722a3 fixed bug #1368 2023-08-26 07:40:36 -07:00
Yong Wang
b6670fefaf Kusto-phase2 : fix direct array index, fix functional test 2023-08-26 07:40:36 -07:00
HeenaBansal2009
a164e759f5 Rebased with Kusto-phase2 2023-08-26 07:40:36 -07:00
HeenaBansal2009
b3f028e9c5 Tetscases updated 2023-08-26 07:40:36 -07:00
HeenaBansal2009
a17c2efdc5 handled error scenarios 2023-08-26 07:40:36 -07:00
HeenaBansal2009
03a3166d5e Addressed review comments 2023-08-26 07:40:36 -07:00
HeenaBansal2009
e3bf06f035 Updated release notes 2023-08-26 07:40:36 -07:00
HeenaBansal2009
c88a06c210 Fixed testcases 2023-08-26 07:40:36 -07:00
HeenaBansal2009
a4f2c5d2c7 Refactored Parse_version , parse_csv and extract_json 2023-08-26 07:40:36 -07:00
HeenaBansal2009
20089be3b0 Addressed review comments 2023-08-26 07:40:36 -07:00
HeenaBansal2009
c00e31f76b Updated release notes 2023-08-26 07:40:36 -07:00
HeenaBansal2009
a42e026f69 String functions -phase 2 low priority defer ones 2023-08-26 07:40:36 -07:00
HeenaBansal2009
4d1e014e48 Updated tests 2023-08-26 07:40:36 -07:00
HeenaBansal2009
3bb37f01a4 Updated tests 2023-08-26 07:40:35 -07:00
HeenaBansal2009
aa704705ba Fixed #1268 2023-08-26 07:40:35 -07:00
HeenaBansal2009
2ef4d6d2f9 Added Functional tests 2023-08-26 07:40:35 -07:00
HeenaBansal2009
60d9291de2 Bug fixes 2023-08-26 07:40:35 -07:00
HeenaBansal2009
1df3f6f6ce Bug fixes 2023-08-26 07:40:35 -07:00
Yong Wang
4c027a4fde Kusto-phase2: fix extend bugs, summarize alias 2023-08-26 07:40:35 -07:00
root
38c204cb4e fix functional test failure 2023-08-26 07:40:35 -07:00
root
fc23a6d957 addressed review comments made by Yong 2023-08-26 07:40:35 -07:00
root
d8eef2e7f2 fixed bug for issue #1336 2023-08-26 07:40:35 -07:00
Yong Wang
119312091c Kusto-phase2: updated release note 2023-08-26 07:40:35 -07:00
HeenaBansal2009
0b65432e84 Fixed Unittestcase failure 2023-08-26 07:40:35 -07:00
ltrk2
c5ef49100a Fix a unit test and use R-strings to avoid escaping 2023-08-26 07:40:35 -07:00
ltrk2
33e04c4e7a Implement KQL functional tests 2023-08-26 07:40:35 -07:00
HeenaBansal2009
4a160a3221 Addressed review comments 2023-08-26 07:40:35 -07:00
HeenaBansal2009
67774ece8d Functional testcas added 2023-08-26 07:40:35 -07:00
HeenaBansal2009
adf6ed9988 More fixed bugs 2023-08-26 07:40:34 -07:00
HeenaBansal2009
bcc0ae2c6c More bug fix 2023-08-26 07:40:34 -07:00
HeenaBansal2009
b0548efc96 Fixed bugs 2023-08-26 07:40:34 -07:00
Yong Wang
12b383ce65 Kusto-phase2: fix core dump for string operator, disable alias without 'as' 2023-08-26 07:40:34 -07:00
ltrk2
067e609e61 Reinstate const qualifiers 2023-08-26 07:40:34 -07:00
ltrk2
0e6cb2f710 Fix KQL IPv6 functions in terms of handling IPv4 2023-08-26 07:40:34 -07:00
Yong Wang
42c6998cff Kusto-phase2: fix core dump , kql !in orerator in sql 2023-08-26 07:40:34 -07:00
root
6fa32e3108 make_list_with_nulls_bug1009 fix 2023-08-26 07:40:34 -07:00
ltrk2
f3c52d1f26 Implement KQL functional tests and fix issues 2023-08-26 07:40:34 -07:00
ltrk2
9806fce2c0 Implement KQL functional tests and fix bugs that came up 2023-08-26 07:40:34 -07:00
ltrk2
dcd27e2d7d Use stack instead of vector 2023-08-26 07:40:34 -07:00
ltrk2
4a4d4944d6 Implement raw argument extraction to support nesting 2023-08-26 07:40:34 -07:00
ltrk2
61877a40e5 Simplify KQL trim functions to avoid aliases 2023-08-26 07:40:34 -07:00
Yong Wang
ea7e589dad Kusto-phase2 : fix functional test 2023-08-26 07:40:33 -07:00
Yong Wang
e1aa74923f Kusto-phase2 , fix some flow bug and add extend operator 2023-08-26 07:40:33 -07:00
ltrk2
105a0e0df7 Take suffixes into account in case of format_ipv4_mask 2023-08-26 07:40:33 -07:00
root
4579e5cc94 array_sort unit test fix 2023-08-26 07:40:33 -07:00
Yong Wang
01a5ea87d4 Kusto-phase2: Updated release note 2023-08-26 07:40:33 -07:00
ltrk2
eedb3a9456 Implement KQL set functions 2023-08-26 07:40:33 -07:00
ltrk2
5f89b79f4d Implement KQL array functions 2023-08-26 07:40:33 -07:00
root
ea42c3b4da array sort returns an array 2023-08-26 07:40:33 -07:00
root
356d5c38b1 fixed issue with percentiles 2023-08-26 07:40:33 -07:00
HeenaBansal2009
5cf0f7a47c Fix build error 2023-08-26 07:40:33 -07:00
HeenaBansal2009
42ba91406b Fix build error 2023-08-26 07:40:33 -07:00
HeenaBansal2009
2ef019fd9c casting function todecimal() 2023-08-26 07:40:33 -07:00
Heena Bansal
4928cb3961 Update gtest_KQL_dateTimeFunctions.cpp
Updated Gtest
2023-08-26 07:40:32 -07:00
HeenaBansal2009
43f7112797 Added support for negative arguments in timespan 2023-08-26 07:40:32 -07:00
ltrk2
eb3534d0d2 Use an associative container instead of an array 2023-08-26 07:40:32 -07:00
ltrk2
82df3d086d Expand the list of valid keywords within dynamic 2023-08-26 07:40:32 -07:00
ltrk2
abeaa86688 Implement a basic version of KQL dynamic 2023-08-26 07:40:32 -07:00
ltrk2
e7f05338d9 Get unit tests in line with the implementation 2023-08-26 07:40:32 -07:00
ltrk2
25273292e2 Handle invalid conditions adequately 2023-08-26 07:40:32 -07:00
Yong Wang
63d2874212 Kusto-phase2: add mv-expand operator 2023-08-26 07:40:32 -07:00
HeenaBansal2009
878891079f Updated Gtest 2023-08-26 07:40:32 -07:00
HeenaBansal2009
a4d828e0cf Fixed failed testescases 2023-08-26 07:40:32 -07:00
ltrk2
47579cb50b Implement KQL tolong 2023-08-26 07:40:32 -07:00
Larry Luo
fce194dabd update release note 2023-08-26 07:40:32 -07:00
Yong Wang
f3215e6280 Kusto-phas2: fix release note format 2023-08-26 07:40:32 -07:00
Yong Wang
50830bd10e Kusto-phase2: update and format release note. 2023-08-26 07:40:32 -07:00
root
395af6a5a5 added note in release notes 2023-08-26 07:40:32 -07:00
Yong Wang
030d890607 Kusto-phase2 : update release note 2023-08-26 07:40:32 -07:00
root
ee6fcafd2c added check for array length mismatch 2023-08-26 07:40:32 -07:00
root
7751902efb covered different scenarios of sorting with null in first array 2023-08-26 07:40:31 -07:00
root
bee418b057 Added gtest_dictionary_parser.cpp 2023-08-26 07:40:31 -07:00
root
79ee761e7b Added expression support in sorting functions 2023-08-26 07:40:31 -07:00
root
422189e899 implemented array_sort returns same number of arrays as input 2023-08-26 07:40:31 -07:00
root
9bbfc55ee3 moved test cases in separate file 2023-08-26 07:40:31 -07:00
root
3e92063ec8 Array sort functions added 2023-08-26 07:40:31 -07:00
HeenaBansal2009
d32f8c5268 DatetIme part 4 2023-08-26 07:40:31 -07:00
HeenaBansal2009
4ce7f95e6d Fixed #1125 2023-08-26 07:40:31 -07:00
HeenaBansal2009
e122485714 removed MakeSeries diff 2023-08-26 07:40:31 -07:00
HeenaBansal2009
cd3107062d Review comments and fixed bugs 1073 and 1085 2023-08-26 07:40:31 -07:00
HeenaBansal2009
8e6a2b8a2c Fixed testcase 2023-08-26 07:40:31 -07:00
HeenaBansal2009
b72af2f510 Updated tests 2023-08-26 07:40:31 -07:00
HeenaBansal2009
f6a5731a12 Fixed tests 2023-08-26 07:40:30 -07:00
HeenaBansal2009
3771e81ccd DateTime part3 functions 2023-08-26 07:40:29 -07:00
HeenaBansal2009
6973ce0814 date_add and date_part 2023-08-26 07:40:29 -07:00
ltrk2
c41f1cff65 Implement some KQL array functions 2023-08-26 07:40:29 -07:00
Yong Wang
a803b48333 Kusto-phase2: add bin function, unit test for make-series 2023-08-26 07:40:29 -07:00
Yong Wang
322a0aa2d8 Kusto-phase2, updated make-series operator 2023-08-26 07:40:29 -07:00
HeenaBansal2009
d261b29a43 Updated Readme 2023-08-26 07:40:29 -07:00
HeenaBansal2009
004c273fee Updated as per review comments 2023-08-26 07:40:29 -07:00
HeenaBansal2009
d542332bc0 Incorporated review comments 2023-08-26 07:40:29 -07:00
HeenaBansal2009
758960794a Part2 DateTime functions 2023-08-26 07:40:29 -07:00
HeenaBansal2009
18bbe5a523 Incorporated review comments 2023-08-26 07:40:29 -07:00
HeenaBansal2009
2b8e25e764 Updated release notes 2023-08-26 07:40:29 -07:00
HeenaBansal2009
c33f67fc86 Part2 DateTime functions 2023-08-26 07:40:29 -07:00
ltrk2
067a5c6c00 Set the release date 2023-08-26 07:40:29 -07:00
ltrk2
7adc203f1c Implement array_iff / array_iif 2023-08-26 07:40:29 -07:00
Yong Wang
fc1b3174f6 Kusto-phase2 : fixed the double quote issue 2023-08-26 07:40:29 -07:00
kashwy
6fee015ccb Kusto-phase2 : finish make series 2023-08-26 07:40:28 -07:00
ltrk2
aacb33049d Implement some KQL conversion functions 2023-08-26 07:40:28 -07:00
kashwy
a56f2f754f Kusto-phase2: add bin_at function. fix trim error 2023-08-26 07:40:28 -07:00
ltrk2
f731c677ee Add unit tests 2023-08-26 07:40:28 -07:00
ltrk2
6947de5b03 Correct rebase error 2023-08-26 07:40:28 -07:00
ltrk2
a0b6a324ba Implement KQL IPv6 functions 2023-08-26 07:40:28 -07:00
root
f2442a8421 Resubmit Aggregate functions - array_index_of, length, sum and dynamic data type 2023-08-26 07:40:28 -07:00
root
e544bc395a retry resolve merge conflict 2023-08-26 07:40:28 -07:00
root
e4454d2504 updated release notes to resolve conflicts 2023-08-26 07:40:28 -07:00
root
f39b18cd19 updated release notes to resolve conflicts 2023-08-26 07:40:28 -07:00
root
239d0dc35b updated release note + test file 2023-08-26 07:40:28 -07:00
root
b65901442f addressed change requests by Yong 2023-08-26 07:40:28 -07:00
root
b712c1075c added percentile() and percentilew() 2023-08-26 07:40:28 -07:00
root
33c16cdfe5 applied changes asked by Yong 2023-08-26 07:40:27 -07:00
root
18f3c5c5c8 Aggregate functions added 2023-08-26 07:40:27 -07:00
kashwy
e22413823e Kusto-pahse2: fixed toimspan issue and other functions 2023-08-26 07:40:27 -07:00
ltrk2
8b9ff2283e Update release notes 2023-08-26 07:40:27 -07:00
ltrk2
77e8044504 Implement KQL binary functions 2023-08-26 07:40:27 -07:00
HeenaBansal2009
09f117cfb1 Added test and review comments 2023-08-26 07:40:27 -07:00
HeenaBansal2009
232e4c73f9 Date_Time functions PART 1 2023-08-26 07:40:27 -07:00
ltrk2
7b2fc8c3b7 Update unit tests for IP functions 2023-08-26 07:40:27 -07:00
kashwy
1823c074ec Kusto-phase2: Add kusto data types 2023-08-26 07:40:27 -07:00
ltrk2
198976c730 Improve performance of IPv4 functions 2023-08-26 07:40:27 -07:00
ltrk2
d8f43dc0ff Move KQL tests into their own folder 2023-08-26 07:40:27 -07:00
ltrk2
4f45a199f9 Implement unit tests for IP functions 2023-08-26 07:40:27 -07:00
ltrk2
1200ab01d4 Make aliases unique 2023-08-26 07:40:27 -07:00
ltrk2
cdfec101d0 Add unit tests and release notes 2023-08-26 07:40:27 -07:00
ltrk2
e77a6333a1 Implement KQL functions handling IPv4 2023-08-26 07:40:27 -07:00
Larry Luo
732c8ed83f Fix rebase conflicts. 2023-08-26 07:40:27 -07:00
ltrk2
5cfed5b217 Fix some IP function unit tests 2023-08-26 07:40:27 -07:00
ltrk2
b2be70a4e5 Extract common functions 2023-08-26 07:40:27 -07:00
ltrk2
e404685f7d Improve conformance to the specifications 2023-08-26 07:40:26 -07:00
Yong Wang
9d3a353dff Kusto-phase2: Added check end of function, and neww string functions 2023-08-26 07:40:26 -07:00
ltrk2
eb9747c2c2 Provide conformance to the specification 2023-08-26 07:40:26 -07:00
ltrk2
bfa2820985 Support expressions as IP function arguments 2023-08-26 07:40:26 -07:00
root
8582543816 update release notes and test script 2023-08-26 07:40:26 -07:00
root
652bef265d Kusto Aggregate functions as of July 29 2023-08-26 07:40:26 -07:00
Yong Wang
b2be17acc6 Kusto-phase2: Add print operator 2023-08-26 07:40:26 -07:00
Yong Wang
e8f451c1d5 Kusto-phase: Add function to validate end of kql function 2023-08-26 07:40:26 -07:00
Yong Wang
81cbd23b13 Kusto-phase2 Fixed bug of Syntax error when Order By is followed by another statement 2023-08-26 07:40:26 -07:00
HeenaBansal2009
0f598491a9 Updated Release notes with examples 2023-08-26 07:40:26 -07:00
HeenaBansal2009
b13cfcb0ce Add config entry to overwrite default dialect to kusto auto 2023-08-26 07:40:26 -07:00
Yong Wang
28e4448f04 Kusto-phase2: Add KQL functions parser 2023-08-26 07:40:26 -07:00
Yong Wang
32b4f5cfb2 Kusto-phase2 : Added KQL functions interface.
changed the summarize class for new aggregation functions
2023-08-26 07:40:26 -07:00
Yong Wang
6ec4e1e611 Kusto-phase1: Fixed style 2023-08-26 07:40:26 -07:00
root
bfe2a90424 Kusto summarize init 2023-08-26 07:40:25 -07:00
ltrk2
648c9fbdb9 Updated release notes to indicate deficiencies 2023-08-26 07:40:25 -07:00
ltrk2
06a23560ef Update release notes 2023-08-26 07:40:25 -07:00
Yong Wang
1cac1be52b Kusto-phase2: Added some string functions and release note 2023-08-26 07:40:25 -07:00
ltrk2
c54c9efdb8 Implement ipv4_is_private 2023-08-26 07:40:25 -07:00
ltrk2
c871183e56 Implement review comments 2023-08-26 07:40:25 -07:00
ltrk2
95e088783c Implement some IP-handling functions 2023-08-26 07:40:25 -07:00
Yong Wang
ae6e6b1c3b Kusto-phase2: Changed dialect to use enumerate, Added subquery for in operator, fixed the multi query issue 2023-08-26 07:40:25 -07:00
Yong Wang
8121f1087c Kusto-phase2 : Fix the function base64_decode_tostring() 2023-08-26 07:40:25 -07:00
Yong Wang
91e6d407cb Kusto-phase 2: Add more string operators 2023-08-26 07:40:25 -07:00
Yong Wang
46bf8046b2 Kusto-phase2: Add table function kql() 2023-08-26 07:40:25 -07:00
root
1319001fee Aggregate function working with two pipes 2023-08-26 07:40:25 -07:00
root
8cb5bb7327 Aggregate functions initial code - Priority:HIGHT(Easy and Medium) 2023-08-26 07:40:25 -07:00
Yong Wang
837654b1b7 Kusto-phase2: Add alias support 2023-08-26 07:40:25 -07:00
Yong Wang
760fd6759e Kusto-phase2: add kusto_auto dialect 2023-08-26 07:40:25 -07:00
Yong Wang
145b2bd45e Kusto-phase2: Add common function to get argument for function convertion 2023-08-26 07:40:25 -07:00
Yong Wang
5273241af9 Kusto-phase2: Add KQL functions parser 2023-08-26 07:40:25 -07:00
Yong Wang
ec8902087b Kusto-phase2 : Added KQL functions interface.
changed the summarize class for new aggregation functions
2023-08-26 07:40:25 -07:00
Yong Wang
f4db644498 Kusto-phase1: Fixed style 2023-08-26 07:40:25 -07:00
root
b3ebac353f Kusto summarize init 2023-08-26 07:40:25 -07:00
Yong Wang
fceaf456c1 Kusto-phase1: Add Support to Kusto Query Language
This is the initial implement of Kusto Query Language.

in this commit, we support the following features as MVP :

Tabular expression statements
Limit returned results
Select Column (basic project)
sort, order
Perform string equality operations
Filter using a list of elements
Filter using common string operations
Some string  operators
Aggregate by columns
Base aggregate functions
only support avg, count ,min, max, sum
Aggregate by time intervals
2023-08-26 07:40:24 -07:00
Yong Wang
7553e551f1 Kusto-phase2: Add KQL functions parser 2023-08-26 07:40:24 -07:00
Yong Wang
e8c63be34a Kusto-phase2 : Added KQL functions interface.
changed the summarize class for new aggregation functions
2023-08-26 07:40:24 -07:00
Yong Wang
591f98a145 Kusto-pahse2: Add support for multiple summarize 2023-08-26 07:40:24 -07:00
Yong Wang
89b7d83e9c Kusto-phase1: Fixed misleading indentation 2023-08-26 07:40:24 -07:00
Yong Wang
a90fb535a7 Kusto-pahse1: Fixed moy style issues. 2023-08-26 07:40:24 -07:00
Yong Wang
b9d850cad6 Kusto-phase1: Fixed style 2023-08-26 07:40:24 -07:00
Yong Wang
d0f6778528 Kusto-phase1: Fixed the bug for KQL filer with multiple operations 2023-08-26 07:40:24 -07:00
Yong Wang
bc1846f07b Kusto-phase1 :
Add new test cases
2023-08-26 07:40:24 -07:00