Commit Graph

3051 Commits

Author SHA1 Message Date
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
root
e67031e3f8 corrected unit test 2023-08-26 07:40:24 -07:00
root
e4494255b4 removed unwanted comments 2023-08-26 07:40:24 -07:00
root
785fb8ee91 added single unit test case for summarize bin() 2023-08-26 07:40:24 -07:00
root
0581ac45d1 Kusto summarize init 2023-08-26 07:40:24 -07:00
Yong Wang
3a648c98b6 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
Yakov Olkhovskiy
415a993c91 fix fuzzers build 2023-08-24 23:22:39 +00:00
Kruglov Pavel
44db5fa992
Merge branch 'master' into cache-count 2023-08-24 17:21:18 +02:00
Han Fei
10c622fa08 Merge branch 'master' into hanfei/statistic 2023-08-24 15:56:06 +02:00
Vitaly Baranov
5154c1b9d0 Use same UUIDs for tables on replicas created by RESTORE ON CLUSTER. 2023-08-23 22:55:46 +02:00
kssenii
325e2d3172 Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-08-23 11:44:19 +02:00
Kruglov Pavel
c0bdd0e00b
Merge branch 'master' into cache-count 2023-08-22 14:42:22 +02:00
avogar
b4145aeddc Cache number of rows in files for count in file/s3/url/hdfs/azure functions 2023-08-22 11:59:59 +00:00
Robert Schulze
a20ceef398
Merge pull request #53447 from davvard/master
USearch HNSW index for ANN search
2023-08-21 23:34:26 +02:00
Nikita Mikhaylov
145c99ee94
Merge pull request #53280 from evillique/better-stop-listen
Add EXCEPT clause to SYSTEM STOP LISTEN query
2023-08-21 19:03:49 +02:00
kssenii
247abe0a2a Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-08-19 08:43:53 +04:00
Robert Schulze
ec7daed52f
Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support
MergeTree & SipHash checksum big-endian support
2023-08-17 13:27:18 +02:00
Nikolay Degterinsky
a893f75884 Merge remote-tracking branch 'upstream/master' into better-stop-listen 2023-08-16 23:06:18 +00:00
Davit Vardanyan
e5b459246d Add: USearch default granularity 2023-08-16 17:28:16 +04:00
Alexander Tokmakov
3fc65a68c7 more parallel tests 2023-08-15 23:04:04 +02:00
Alexander Tokmakov
808bc59c49 Merge branch 'master' into less_no_parallel 2023-08-15 15:49:32 +02:00
ltrk2
2846ea49b4
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-14 13:02:30 -04:00
kssenii
8535e23f95 Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-08-13 21:10:42 +04:00
Alexey Milovidov
f098b51283
Merge pull request #53347 from amosbird/fix_52607
Fix incorrect normal projection AST format
2023-08-12 17:26:05 +03:00
robot-ch-test-poll
967067bbb8
Merge pull request #53250 from evillique/postgresql-single-quotes
Fix character escaping in the PostgreSQL engine
2023-08-12 13:15:49 +02:00
Amos Bird
ec7301b060
Fix incorrect normal projection AST format 2023-08-12 15:07:58 +08:00
Alexey Milovidov
ea62629d83 Fix linking of examples 2023-08-11 00:40:26 +02:00
Alexander Tokmakov
0d9e3ca345 remove no-parallel tag from some tests 2023-08-11 00:00:36 +02:00
Nikolay Degterinsky
bcc0fbbf91 Add EXCEPT clause to SYSTEM STOP LISTEN query 2023-08-10 16:10:33 +00:00
ltrk2
a2054c04dd
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-10 10:21:34 -04:00
Alexey Milovidov
bb57caa83e
Merge pull request #53180 from ClickHouse/ditch-tons-of-garbage
Ditch tons of garbage
2023-08-10 16:59:51 +03:00
Nikolay Degterinsky
7321f5e543 Better 2023-08-10 06:34:10 +00:00
Han Fei
2b1f2f1de2 Merge branch 'master' into hanfei/statistic 2023-08-10 00:52:24 +02:00
Han Fei
f5c9d278ad use statistic to order prewhere conditions better 2023-08-09 22:57:49 +02:00
ltrk2
139e9433a8
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-09 09:48:00 -04:00
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02:00
kssenii
2c485e78db Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-08-08 16:27:21 +02:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage 2023-08-07 17:57:41 -04:00
flynn
fcd79e49b9
Merge branch 'master' into concept 2023-08-06 21:43:26 +08:00
Ilya Yatsishin
390c97cdae
Merge pull request #52320 from ClickHouse/create-index-unique-noop 2023-08-05 10:45:06 +02:00
flynn
9b8f87e9ac
Merge branch 'master' into concept 2023-08-05 02:41:55 +08:00
Alexey Milovidov
e5d3e348ce
Merge pull request #52635 from hendrik-m/table-names-as-string-literal
Allow writing table name as a string literal
2023-08-04 20:09:59 +03:00
Ilya Yatsishin
0f63a90206
Merge branch 'master' into create-index-unique-noop 2023-08-04 17:53:57 +02:00
hendrik-m
b53084ce43 fix style 2023-08-03 22:07:05 +02:00
hendrik-m
72e6b1d2d4 use tryReadQuotedStringInto 2023-08-03 21:12:20 +02:00
ltrk2
a29b36612b
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-03 09:41:25 -04:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
Alexander Tokmakov
7684e68008
Add system stop pulling replication log (#52881)
* add system stop pulling replication log

* add const

* fix another stupid test

* Update test.py
2023-08-03 13:34:43 +03:00
Kseniia Sumarokova
0ec11a2d79
Merge branch 'master' into system-sync-cache 2023-08-03 12:02:18 +02:00
Kseniia Sumarokova
621d852289
Merge pull request #52778 from kssenii/revert-revert-drop-cache
Revert revert of system drop filesystem cache by key
2023-08-03 10:55:25 +02:00
ltrk2
27a2d4d1c7
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-02 11:36:43 -04:00
hendrik-m
3f8e9c2028
Merge branch 'master' into table-names-as-string-literal 2023-08-02 16:52:00 +02:00
Mike Kot
1335d06b8f
Do not replicate ALTER TABLE t FREEZE on Replicated engine (#52064)
* fix

* do not replicate alter freeze

* fix

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-08-02 14:39:54 +03:00
flynn
be0c5bf10a Use concepts to replace more std::enable_if_t
fix
2023-08-02 07:50:25 +00:00
Kseniia Sumarokova
eabca22909
Merge branch 'master' into revert-revert-drop-cache 2023-08-01 23:19:38 +02:00
Hendrik M
625b6b2b1c use own parser only for table identifiers 2023-08-01 22:33:42 +02:00
ltrk2
e869adf645 Improve function naming 2023-07-31 06:48:50 -07:00
kssenii
b683477b20 Better dynamic disk configuration 2023-07-31 14:15:22 +02:00
kssenii
5d167b4f03 Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-07-31 12:44:11 +02:00
kssenii
6ae6268ad0 Revert "Merge pull request #51917 from ClickHouse/revert-system-drop-filesystem-cache-by-key"
This reverts commit 520195f7ef, reversing
changes made to e36a638014.
2023-07-30 13:39:54 +02:00
ltrk2
6c9a1b14ef
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-07-28 16:18:46 -04:00
Илья Коргун
ae4406cd80 Fix named collections AST formatters (if [not] exists) 2023-07-27 22:11:32 +03:00
Al Korgun
f026ccf11e
Merge branch 'ClickHouse:master' into fix-named-collections-on-cluster-23.7 2023-07-27 10:48:25 +03:00
Илья Коргун
7c1832fcfc Fix named collections related statements #51609 2023-07-27 09:41:47 +03:00
pufit
13d9952227 add id to insertImpl 2023-07-27 00:38:51 -04:00
hendrik-m
64b2d5ca15
Allow string literals for table names 2023-07-26 23:06:23 +02:00
Nikolay Degterinsky
d89e2e6a27
Add SYSTEM STOP LISTEN query (#51016)
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-07-26 19:58:41 +02:00
Nikita Mikhaylov
1dc9ca2c24
Merge pull request #52549 from ClickHouse/whitespace-before-comma
Check for punctuation
2023-07-25 20:30:36 +02:00
Anton Popov
4531b105ac
Merge branch 'master' into flush-async-insert-queue 2023-07-25 15:48:01 +02:00
Alexey Milovidov
21382afa2b Check for punctuation 2023-07-25 06:10:04 +02:00
Alexey Milovidov
b53baa43ac
Merge pull request #51293 from ClickHouse/sql-fetch-allow-without-offset
Allow SQL standard `FETCH` without `OFFSET`
2023-07-25 05:44:39 +03:00
Alexander Tokmakov
c3e2077449
Merge branch 'master' into comment-db 2023-07-24 20:53:46 +03:00
Alexey Milovidov
9660bc0d99 Merge branch 'master' into sql-fetch-allow-without-offset 2023-07-24 19:50:40 +02:00
pufit
393481181d Remove Trailing whitespaces 2023-07-24 13:35:07 -04:00
Nikolay Degterinsky
a69d57bad5
Merge branch 'master' into perf-huge-ast 2023-07-24 15:27:22 +02:00
Nikolay Degterinsky
40652cf2de
Merge pull request #51899 from evillique/describe-table-settings
Allow SETTINGS before FORMAT in DESCRIBE TABLE query
2023-07-24 15:24:41 +02:00
Anton Popov
347f442f84 Merge remote-tracking branch 'upstream/master' into HEAD 2023-07-24 10:55:31 +00:00
Ilya Yatsishin
7a24ed195d
Merge branch 'master' into create-index-unique-noop 2023-07-23 20:47:11 +02:00
Alexey Milovidov
4fbd667687 Merge branch 'master' into sql-fetch-allow-without-offset 2023-07-22 18:41:32 +02:00
robot-clickhouse-ci-2
0db9c79886
Merge pull request #52332 from rschu1ze/better-formatsettings
Minor: Less awkward IAST::FormatSettings
2023-07-21 14:49:58 +02:00
ltrk2
90a2c460c6
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-07-21 08:07:18 -04:00
pufit
2a00e2aa6a Implement MOVE query for the access entities. 2023-07-20 22:20:36 -04:00
Val Doroshchuk
d16d444943 MaterializedMySQL: Add support of double quoted comments 2023-07-20 13:59:01 +02:00
János Benjamin Antal
e74acda53e
PRQL integration (#50686)
* Added prql-lib

* Add PRQL parser

* Extend stateless tests

* Add unit tests for `ParserPRQL`

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-37-24.eu-central-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-10-10-10-195.eu-central-1.compute.internal>
Co-authored-by: Александр Нам <47687537+seshWCS@users.noreply.github.com>
2023-07-20 12:54:42 +02:00
Robert Schulze
bd761c365a
Make serializeAST() more regular 2023-07-20 10:39:26 +00:00
Robert Schulze
25ddcc256b
Make IAST::FormatSettings more regular, pt. III 2023-07-20 10:34:05 +00:00
Robert Schulze
e5ec6a1523
Make IAST::FormatSettings more regular, pt. II 2023-07-20 10:32:55 +00:00
Robert Schulze
35a4fabc2d
Make IAST::FormatSettings more regular 2023-07-20 10:32:09 +00:00
Robert Schulze
7a0de384d4
Cosmetics 2023-07-20 10:25:08 +00:00
ltrk2
a3d0335f53 Fix a build error 2023-07-19 11:20:42 -07:00
ltrk2
ba4072f049 Adapt changes around SipHash 2023-07-19 10:01:58 -07:00
ltrk2
51e2c58a53 Implement endianness-independent SipHash and MergeTree checksum serialization 2023-07-19 10:01:55 -07:00
Robert Schulze
bdaf82922a
Use formatAST() 2023-07-19 12:56:15 +00:00
Yatsishin Ilya
b9b3222c6e Add support for CREATE UNIQUE INDEX systax in parser. No UNIQUE index created. 2023-07-19 12:23:39 +00:00
Alexey Milovidov
482c8b5cde
Merge pull request #52158 from ClickHouse/fix-unexpected-ast-set
Fix unexpected AST Set
2023-07-18 22:17:51 +03:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
Alexey Milovidov
da29166f08
Merge branch 'master' into fix-unexpected-ast-set 2023-07-17 23:17:55 +03:00
Nikita Mikhaylov
9a30aaa9aa
Revert "Fixed several issues found by OSS-Fuzz" 2023-07-17 16:14:58 +02:00
robot-ch-test-poll2
7f960c2379
Merge pull request #51160 from Algunenano/async_to_query_log
Log async insert flush queries into to system.query_log and system.processes
2023-07-17 13:49:22 +02:00
Nikita Mikhaylov
d04f39370a
Merge branch 'master' into oss-fuzz-fixes 2023-07-17 13:41:54 +02:00
Yatsishin Ilya
5b853c1958 Make ASTFuzzer happy 2023-07-17 11:32:22 +00:00
Alexey Milovidov
7915ba253b Better version 2023-07-17 04:49:04 +02:00
robot-clickhouse-ci-2
ac3cc1c2ff
Merge pull request #45671 from ClibMouse/feature/interval-kql-style-formatting
Implement KQL-style formatting for Interval
2023-07-16 04:06:54 +02:00
Yatsishin Ilya
2ee7a9846f fix 2023-07-12 12:47:24 +00:00
Yatsishin Ilya
3bd9c57a8c allow to ignore CREATE INDEX query for better SQL syntax compatibility 2023-07-12 09:29:36 +00:00
Amos Bird
a33b90c648
Projection & optimize_group_by_function_keys 2023-07-11 21:11:28 +08:00
Amos Bird
1739bb306a
Projection & optimize_aggregators_of_group_by_keys
Fix projection with optimize_aggregators_of_group_by_keys = true
2023-07-11 21:11:27 +08:00
pufit
77e45e5669 Add DROP ROLE ... FROM and CREATE ROLE ... AT syntax 2023-07-10 20:23:03 -04:00
ltrk2
9a74b97184 Improve naming 2023-07-10 13:51:49 -04:00
ltrk2
522b9ebf8c Implement KQL-style formatting for Interval 2023-07-10 13:51:49 -04:00
Raúl Marín
dbdfc07790
Merge branch 'master' into async_to_query_log 2023-07-10 10:32:56 +02:00
Alexey Milovidov
5d385f5f14
Merge pull request #51881 from qoega/per-column-pk-syntax
Add support for PRIMARY KEY syntax in column definition
2023-07-08 21:52:29 +03:00
Alexey Milovidov
2a8c7d0ea2
Update src/Parsers/ParserCreateQuery.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-08 21:52:19 +03:00
Alexey Milovidov
933a92e176 Merge branch 'master' into remove-useless-system-query 2023-07-08 01:45:19 +02:00
Ilya Yatsishin
7aacc35829
Merge branch 'master' into per-column-pk-syntax 2023-07-07 14:52:15 +02:00
Alexey Milovidov
7cece62d26 Revert "Merge pull request #51547 from kssenii/more-flexible-drop-cache"
This reverts commit 2ce7bcaa3d, reversing
changes made to e897207cd5.
2023-07-07 04:07:19 +02:00
Alexey Milovidov
f0cc90a7fb Revert "Merge pull request #51822 from kssenii/minor-changes"
This reverts commit 5ac85f4fa8, reversing
changes made to 376c903da9.
2023-07-07 04:07:03 +02:00
Nikolay Degterinsky
67e2dee7e2 Allow SETTINGS before FORMAT in DESCRIBE TABLE query 2023-07-06 14:29:58 +00:00
Raúl Marín
bd779c8066
Merge branch 'master' into async_to_query_log 2023-07-06 15:46:27 +02:00
Yatsishin Ilya
12ebb30781 style 2023-07-06 10:34:34 +00:00
Yatsishin Ilya
24e77083b3 Commit tests 2023-07-06 09:50:44 +00:00
Alexey Milovidov
d59f68b600 Remove useless code 2023-07-06 04:55:46 +02:00
Yatsishin Ilya
fd4f738502 Merge remote-tracking branch 'origin' into per-column-pk-syntax 2023-07-05 12:30:26 +00:00
Yatsishin Ilya
e957600d5c wip 2023-07-05 12:28:27 +00:00
kssenii
e6422f8144 Delete comment, rename variable 2023-07-05 13:08:11 +02:00
kssenii
80dabd1346 Merge remote-tracking branch 'upstream/master' into system-sync-cache 2023-07-05 12:58:11 +02:00
Kseniia Sumarokova
f2d942fbb5
Merge branch 'master' into more-flexible-drop-cache 2023-07-05 11:43:57 +02:00
Alexey Milovidov
289d9849d4 Allow SQL standard FETCH without OFFSET 2023-07-04 20:56:17 +02:00
Nikita Mikhaylov
673c30f717
Merge branch 'master' into oss-fuzz-fixes 2023-07-04 19:52:41 +02:00
Raúl Marín
7262433068
Merge branch 'master' into async_to_query_log 2023-07-04 12:59:04 +02:00
Nikita Mikhaylov
811ba86a20 Remove garbage 2023-07-04 00:24:35 +02:00
Nikita Mikhaylov
2e245f4a43 Even better 2023-07-04 00:23:00 +02:00
Sema Checherinda
bd3d6d4976
Merge pull request #51404 from CheSema/no-finalize-WriteBufferFromOStream
no finalize in d-tor WriteBufferFromOStream
2023-07-01 19:37:54 +02:00
kssenii
72d1834bbd system sync filesystem cache 2023-06-29 18:13:54 +02:00
kssenii
39f8b92e24 Allow to add disk name for custom disk 2023-06-28 19:05:35 +02:00
kssenii
1d78bafa82 Flexible drop cache 2023-06-28 18:44:47 +02:00
frinkr
f7e20d884f
update comments 2023-06-27 16:32:19 +08:00
frinkr
014aa81e0b
improve performace for huge ast by direct-writing the column name for ASTLiteral 2023-06-27 11:56:40 +08:00
Sema Checherinda
047f656980 add explicit finalize calls 2023-06-26 15:04:50 +02:00
Raúl Marín
2d860302d9
Merge branch 'master' into async_to_query_log 2023-06-26 13:57:04 +02:00
Alexey Milovidov
533a279f6c
Merge branch 'master' into alter-table-add-comment 2023-06-26 12:01:34 +03:00
Alexey Milovidov
1745535cb1 Add support for ALTER TABLE MODIFY COMMENT 2023-06-23 03:17:45 +02:00
Nikolay Degterinsky
0d2b9fd0e5 Add VALID UNTIL clause for users 2023-06-22 02:12:12 +00:00
Raúl Marín
b1cedf0e42 Simplify handling of AsyncInsertFlush 2023-06-20 11:38:19 +02:00
Raúl Marín
cf74aee6c9 Log async query flushes to query_log 2023-06-20 11:38:19 +02:00
alekar
b70803c71b
Merge branch 'master' into improve-outfile 2023-06-16 01:08:48 -07:00
Val Doroshchuk
e7c5991b39 MaterializedMySQL: Keep parenthesises for empty table overrides
Empty table overrides are formatted without any parenthesises,
but they are required by a parser,
and it is not possible to parse empty table overrides without it.

:) CREATE DATABASE db ... TABLE OVERRIDE t1()

CREATE DATABASE db
...
TABLE OVERRIDE `t1`

This query will be saved to metadata and ClickHouse will not be able to start up, since
table overrides require ().
2023-06-14 13:37:49 +02:00
Manas Alekar
bf69755ada Address some usability issues with INTO OUTFILE usage. 2023-06-13 01:26:11 -07:00
Robert Schulze
4f39ee51ae
Update Annoy docs 2023-06-12 20:06:57 +00:00
Robert Schulze
7745f7da73
Merge branch 'master' into annoy-misc 2023-06-12 21:46:27 +02:00
Robert Schulze
42914484b3
Merge pull request #50713 from rschu1ze/show-indices
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS
2023-06-09 00:37:29 +02:00
Robert Schulze
b8178088d0
Misc Annoy fixes 2023-06-08 15:06:17 +00:00
Robert Schulze
6fcc4158d2
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS 2023-06-08 12:51:33 +00:00
Val Doroshchuk
c37b80593c
MaterializedMySQL: Add support of TRUNCATE db.table (#50624)
Additional to `TRUNCATE TABLE db.table`.

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-06-08 14:22:55 +03:00
Robert Schulze
c12c62a7fb
Update src/Parsers/ParserCreateIndexQuery.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-06-07 18:22:53 +02:00
Anton Popov
c980771c22 Merge remote-tracking branch 'upstream/master' into HEAD 2023-06-07 11:23:13 +00:00
Robert Schulze
4050b637f1
ALTER TABLE ADD INDEX: Add default GRANULARITY argument for secondary indexes
- Related to #45451, which provides a default GRANULARITY when the
  skipping index is created in CREATE TABLE.
2023-06-07 09:04:24 +00:00
Alexey Milovidov
091d6d02f7
Merge pull request #50536 from ClickHouse/fix-incorrect-constant-folding
Fix incorrect constant folding
2023-06-05 04:35:53 +03:00
Alexey Milovidov
6f01e2ad9f Fix incorrect constant folding 2023-06-04 02:49:45 +02:00
pufit
1aaac69e13
Merge branch 'master' into roles_in_config 2023-06-03 14:42:10 -04:00
Nikita Mikhaylov
362055ce60
Merge branch 'master' into 46229-repl-clickhouse-keeper 2023-06-02 23:58:07 +02:00
Alexey Milovidov
379c573db0
Merge branch 'master' into isnull-operator-priority 2023-06-01 03:20:22 +03:00