Commit Graph

24126 Commits

Author SHA1 Message Date
alexey-milovidov
928f673669
Merge pull request #8514 from azat/view-related-tests
VIEW tests fixes
2020-01-03 18:34:30 +03:00
Alexey Milovidov
9a7f9e846e Removed useless code from headers 2020-01-03 17:17:34 +03:00
Alexey Milovidov
74303e710d Changed serialization of query parameters 2020-01-03 17:10:56 +03:00
Azat Khuzhin
425704e1d0 Add missing DROP TABLE into 01056_create_table_as
Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
2020-01-03 17:04:49 +03:00
Nikolai Kochetov
d884ab4318
Merge pull request #7792 from vzakaznikov/live_view_support_for_subquery
Live view support for subquery
2020-01-03 15:49:44 +03:00
Nikolai Kochetov
833499cfb6 Merged with master. 2020-01-03 15:34:17 +03:00
alexey-milovidov
35770403fc
Merge pull request #8335 from ClickHouse/better-priority-queue
Optimization of ORDER BY and merging
2020-01-03 14:55:25 +03:00
Azat Khuzhin
7d88218e9f Fix 00980_create_temporary_live_view 2020-01-03 13:34:10 +03:00
alexey-milovidov
1dc1411077
Update 01056_create_table_as.sql 2020-01-03 11:15:34 +03:00
Nikolai Kochetov
1b48ccde79 Fix comparison for SimpleSortCursor. 2020-01-03 10:04:40 +03:00
Vitaliy Zakaznikov
25458a4865 Updates to make all live view tests to pass. 2020-01-03 02:48:15 +01:00
Azat Khuzhin
2aba254fb6 Add backQuoteIfNeed() in InterpreterCreateQuery::setEngine() 2020-01-03 02:17:57 +03:00
Azat Khuzhin
487a05fae4 Cover CREATE TABLE AS table/view/live-view/dictionary 2020-01-03 02:16:19 +03:00
Azat Khuzhin
1d44977ae2 Avoid SIGSEGV on CREATE TABLE .. AS dictionary 2020-01-03 01:54:08 +03:00
Alexey Milovidov
c007c9fc17 Fixed assert in debug build 2020-01-03 00:23:10 +03:00
alexey-milovidov
03be29eddb
Merge pull request #8501 from ClickHouse/stack-trace-in-std-exception
Calculate stack trace for std::exception (experimental)
2020-01-03 00:22:12 +03:00
Nikolai Kochetov
73949f1614 Fix MergingSorted 2020-01-02 23:26:27 +03:00
Nikolai Kochetov
92baec6488 Fix MergingSorted 2020-01-02 23:07:07 +03:00
Vitaliy Zakaznikov
2c4bf0581f Fixing compilation errors. 2020-01-02 20:31:04 +01:00
Alexey Milovidov
ab001c5b3a Fixed build 2020-01-02 21:55:45 +03:00
Nikolai Kochetov
bb0454bb2e Revert prev commit. 2020-01-02 21:11:43 +03:00
Vitaliy Zakaznikov
d43eae2db8 First changes. 2020-01-02 12:24:55 -05:00
Alexey Milovidov
9e78683c87 Fixed build 2020-01-02 19:32:17 +03:00
zhang2014
9364397597 try fix some predicate optimizer bug 2020-01-02 21:14:48 +08:00
Nikolai Kochetov
a3cdc0b4b8 Nicer code in SortingHeap. 2020-01-02 14:12:21 +03:00
Alexey Milovidov
d50609d44c Merge branch 'better-priority-queue' of github.com:yandex/ClickHouse into better-priority-queue 2020-01-02 13:41:04 +03:00
Alexey Milovidov
218ab1b25b Merge branch 'master' into better-priority-queue 2020-01-02 13:40:33 +03:00
Nikolai Kochetov
24a1ee4f55 Fix direction for SimpleSortCursor. 2020-01-02 13:38:11 +03:00
Amos Bird
74dfa87b9a
fix prewhere test (camouflage an Easter Egg) 2020-01-02 18:29:59 +08:00
Alexey Milovidov
909ac8dcb8 Fixed build 2020-01-02 13:29:59 +03:00
Alexey Milovidov
18a27d532c Stack trace for every exception (experimental) 2020-01-02 10:59:18 +03:00
Nikolai Kochetov
213f84580f Lower number of threads. 2020-01-02 10:48:51 +03:00
Alexey Milovidov
c1699b9555 Stack trace for every exception (experimental) 2020-01-02 10:37:13 +03:00
Alexey Milovidov
221f99e5b7 Added another diagnostic trap 2020-01-02 10:31:25 +03:00
Alexey Milovidov
3367e42297 Stack trace for every exception (experimental) 2020-01-02 10:16:02 +03:00
Alexey Milovidov
73ae5ab7fc Stack trace for every exception (experimental) 2020-01-02 10:09:56 +03:00
Alexey Milovidov
67afaa9d93 Stack trace for every exception (experimental) 2020-01-02 09:56:53 +03:00
Nikolai Kochetov
85e1c88d12 Disable affinity. 2020-01-02 09:27:53 +03:00
Nikolai Kochetov
aaca37a472
Merge pull request #8497 from ClickHouse/json-quote-perftest
JSON quoting in perftest
2020-01-02 09:26:11 +03:00
Vitaliy Zakaznikov
d0f7a2f3da Fixing styling error. 2020-01-01 18:01:43 -05:00
Vitaliy Zakaznikov
aeeb4457ed Updates to simply extractDependentTable 2020-01-01 23:57:18 +01:00
Nikolai Kochetov
a04f8ca955 Correct quoting for query in perftest. 2020-01-01 23:04:49 +03:00
Nikolai Kochetov
944daef70b Correct quoting for query in perftest. 2020-01-01 22:55:08 +03:00
Nikolai Kochetov
950fe0dfd6 Correct quoting for query in perftest. 2020-01-01 22:32:08 +03:00
Nikolai Kochetov
cc67ab1107 Enable affinity only for multiple threads. 2020-01-01 21:42:15 +03:00
Vitaliy Zakaznikov
00d5997612 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery 2020-01-01 17:59:59 +01:00
Vitaliy Zakaznikov
2e36fd417d Adding changes from https://github.com/ClickHouse/ClickHouse/pull/8217 2020-01-01 11:44:45 -05:00
Nikolai Kochetov
faf118fb15 Do not create extra thread in PipelineExecutor if num_threads is 1. 2020-01-01 14:18:24 +03:00
Nikolai Kochetov
3f35d143b3 Update num threads in processors. 2020-01-01 14:15:29 +03:00
Nikolai Kochetov
65a00150b2 Update num threads in processors. 2020-01-01 13:42:46 +03:00
Alexey Milovidov
9bc74a8c18 Version update 2020-01-01 07:36:30 +03:00
alexey-milovidov
51d4c8a53b
Merge pull request #8485 from PerformanceVision/simple_aggregation_group_bit
Add groupBit* aggregation function to the type SimpleAggregationFunction
2020-01-01 07:32:09 +03:00
alexey-milovidov
14563da602
Merge pull request #8447 from amosbird/c++20
C++20
2019-12-31 21:06:41 +03:00
alexey-milovidov
fdcf971dce
Merge pull request #8486 from amosbird/betterprewhere
Add prewhere test
2019-12-31 21:01:12 +03:00
alexey-milovidov
e712b22dda
Merge pull request #8484 from ClickHouse/obsolete-mark-cache-min-lifetime
Make "mark_cache_min_lifetime" setting obsolete
2019-12-31 20:56:54 +03:00
Nikolai Kochetov
04193460aa Try disable affinity. 2019-12-31 12:10:44 +03:00
Amos Bird
05a420ab20
Add prewhere test 2019-12-31 16:09:37 +08:00
Guillaume Tassery
8909844387 Add groupBit* aggregation function to the type SimpleAggregationFunction 2019-12-31 08:17:39 +01:00
alexey-milovidov
3adf6853d5
Merge pull request #7769 from amosbird/betterprewhere
Optimize PREWHERE
2019-12-31 09:07:02 +03:00
Alexey Milovidov
92ddcf6a41 Removed obsolete unmaintained test 2019-12-31 07:42:26 +03:00
alexey-milovidov
17b413fd2e
Merge pull request #8458 from vitlibar/separate-variables-for-database-and-name
Separate variables for database and name in dictionaries.
2019-12-31 07:39:01 +03:00
alexey-milovidov
488b5c606a
Merge pull request #8481 from ClickHouse/kamalov-ruslan-master
Merging optimizations of if chains.
2019-12-31 07:35:45 +03:00
Alexey Milovidov
3339b8e0e5 Make "mark_cache_min_lifetime" setting obsolete 2019-12-31 05:47:10 +03:00
alexey-milovidov
700e727f65
Merge pull request #8477 from ClickHouse/formats-perf-tests-more-deterministic
Make formats-related perf test more deterministic
2019-12-31 03:14:34 +03:00
alexey-milovidov
fc41fc7b9d
Merge pull request #8479 from 4ertus2/joins
Fix crash in StorageJoin (add restriction)
2019-12-31 03:02:55 +03:00
Alexey Milovidov
6e74bea7ea Added setting "optimize_if_chain_to_miltiif" 2019-12-31 03:00:41 +03:00
Alexey Milovidov
b17a93527c Added performance test 2019-12-31 02:57:34 +03:00
Vitaly Baranov
037eb85972 Automatic removing of config repositories to simplify the code. 2019-12-31 06:30:27 +07:00
Alexey Milovidov
6540eda331 Improvements, part 1 2019-12-31 01:24:19 +03:00
Alexey Milovidov
5b0966d585 Merge branch 'master' of https://github.com/kamalov-ruslan/ClickHouse into kamalov-ruslan-master 2019-12-31 00:31:20 +03:00
alexey-milovidov
6c10fc5578
Update StorageJoin.cpp 2019-12-31 00:30:25 +03:00
alexey-milovidov
96c9567449
Update StorageJoin.cpp 2019-12-30 23:24:02 +03:00
Alexey Milovidov
445b494f88 Added test 2019-12-30 23:13:04 +03:00
Nikolai Kochetov
42f86fe4f5 Better exceptions handling in PipelineExecutor. 2019-12-30 23:09:37 +03:00
chertus
928057c71f better fix 2019-12-30 23:08:03 +03:00
Alexey Milovidov
53fbe0bb43 Avoid UBSan report 2019-12-30 23:04:10 +03:00
Alexey Milovidov
cdcdee66d6 Fixed typo in comment 2019-12-30 23:03:22 +03:00
Nikolai Kochetov
96a732ac02 Better exceptions handling in PipelineExecutor. 2019-12-30 22:45:27 +03:00
chertus
6b80ba52be fix crash in StorageJoin (add restriction) 2019-12-30 22:43:40 +03:00
Alexey Milovidov
86a3b6e774 Make formats-related perf test more deterministic 2019-12-30 22:16:12 +03:00
Nikolai Kochetov
1138162dc8 Better exceptions handling in PipelineExecutor. 2019-12-30 21:29:24 +03:00
Nikolai Kochetov
7ed3da8265 Increase timeout for 00909_kill_not_initialized_query.sh. 2019-12-30 20:31:47 +03:00
alexey-milovidov
e6ea59c84a
Merge pull request #8460 from mnach/master
refs #8443 fix logging
2019-12-30 20:29:01 +03:00
alexey-milovidov
b4a4aeb39e
Merge pull request #8465 from ClickHouse/round-down-performance
Improved performance of function `roundDown`
2019-12-30 20:14:03 +03:00
alesapin
55c47106d4
Merge pull request #8456 from ClickHouse/refactor_alter_addition
Refactor alter addition
2019-12-30 17:50:34 +03:00
Nikolai Kochetov
1284d2eb4e Try enable affinity 2019-12-30 15:26:14 +03:00
alexey-milovidov
458f596e18
Merge pull request #8455 from amosbird/perfformat
Perf test format io without disk
2019-12-30 02:45:52 +03:00
Alexey Milovidov
8741c99677 Added threshold for linear search 2019-12-30 01:40:05 +03:00
Alexey Milovidov
434746d7c6 Improved performance of function roundDown 2019-12-30 01:00:15 +03:00
Nikolai Kochetov
40b0784528 Inline in sort cursor. 2019-12-30 00:07:20 +03:00
Nikolai Kochetov
84072fe977 Try disable affinity. 2019-12-29 23:09:11 +03:00
Alexey Milovidov
612b37b320 Minor addition to previous revision 2019-12-29 22:36:02 +03:00
Alexey Milovidov
9a2b781f4d Fixed performance degradation of "boundingRatio" aggregate function 2019-12-29 22:30:08 +03:00
Alexey Milovidov
0ef507b2e2 Fixed performance degradation in argMin/argMax 2019-12-29 22:08:10 +03:00
Amos Bird
84c7589c9a
whitelist /dev/null in StorageFile 2019-12-30 02:37:55 +08:00
Alexey Milovidov
966f46cfab Added a test from andrea-s 2019-12-29 19:52:22 +03:00
Vitaly Baranov
1fa64a2a86 Use separate variables for the database and name in dictionaries. 2019-12-29 23:48:10 +07:00
Alexey Milovidov
53826d6050 Updated tests 2019-12-29 19:42:07 +03:00
alesapin
e95fbecf03 Lock structure by default for generic alter implementation 2019-12-29 19:34:32 +03:00
alexey-milovidov
1b47aec9b5
Merge branch 'master' into enable_use_minimalistic_part_header_in_zookeeper 2019-12-29 19:30:34 +03:00
Alexey Milovidov
fc8a0a1f12 Improvement 2019-12-29 17:34:23 +03:00
Alexey Milovidov
68ef7a6e4b Added comment 2019-12-29 17:32:46 +03:00
Alexey Milovidov
4ca3720a5a Fixed error in performance test 2019-12-29 16:46:49 +03:00
Mikhail Nacharov
d6cd202860 refs #8443 fix logging 2019-12-29 18:08:33 +05:00
alexey-milovidov
4b4efa3b0b
Merge pull request #8451 from ClickHouse/BayoNet-feature/randomASKII-function
Merging #8401
2019-12-29 15:25:18 +03:00
alesapin
44370467f0 More comments 2019-12-29 14:25:26 +03:00
alesapin
247906a4d7 Move check alter to alter interpreter 2019-12-29 14:09:10 +03:00
alesapin
9ee7807f45 Remove redundant file 2019-12-29 14:04:42 +03:00
Nikolai Kochetov
d3060f42e0 Remove commented code. 2019-12-29 10:30:26 +03:00
Alexey Milovidov
1b96ba5e10 Fixed error 2019-12-29 05:26:51 +03:00
Alexey Milovidov
88bb7b48bf Merge branch 'master' of github.com:yandex/ClickHouse into BayoNet-feature/randomASKII-function 2019-12-29 04:15:23 +03:00
Alexey Milovidov
7e1aa3da4a Fixed issue with rebuild time 2019-12-29 04:14:21 +03:00
Alexey Milovidov
84a08ff1ba Fixed possible overflow 2019-12-29 04:12:19 +03:00
Alexey Milovidov
49cfe326e3 Fixed build after merge 2019-12-29 04:08:12 +03:00
alexey-milovidov
15c67f0a0e
Merge branch 'master' into refactor_databases 2019-12-29 03:52:07 +03:00
Alexey Milovidov
d42b50456f Merging randomPrintableASCII #8401 2019-12-29 02:11:02 +03:00
Ruslan
af2b17fbcb add tests and fix build 2019-12-29 01:08:18 +03:00
Alexey Milovidov
4faf2f5485 Merge branch 'feature/randomASKII-function' of https://github.com/BayoNet/ClickHouse into BayoNet-feature/randomASKII-function 2019-12-29 00:14:18 +03:00
alexey-milovidov
6830d7fa2d
Merge pull request #8440 from excitoon-favorites/bettercheckforpartsonanotherdisks
Improved check for parts on different disks
2019-12-29 00:10:47 +03:00
Alexey Milovidov
f4f2ed7a30 Fixed errors: checking the number of arguments; managing of state #8326 2019-12-28 23:54:50 +03:00
Alexey Milovidov
4f05295402 Merge branch 'kononencheg/runningAccumulate' of https://github.com/kononencheg/ClickHouse into kononencheg-kononencheg/runningAccumulate 2019-12-28 23:18:58 +03:00
alexey-milovidov
b9c7ecfa97
Merge pull request #8439 from ClickHouse/refactor_alter
[WIP] Refactor alter
2019-12-28 23:11:51 +03:00
Amos Bird
bbc736f2d9
c++20! 2019-12-29 03:08:25 +08:00
Nikolai Kochetov
755cd1bea2 Disable logging in processors pipeline. 2019-12-28 21:42:07 +03:00
alexey-milovidov
95b43aa5ec
Merge pull request #8446 from ClickHouse/agg-throw
Added aggregate function `aggThrow`
2019-12-28 18:30:10 +03:00
Alexey Milovidov
24cc10177a Fixed another bug found by Amos Bird 2019-12-28 18:29:07 +03:00
alesapin
10312a1d88 Merge with master 2019-12-28 12:56:14 +03:00
alesapin
9c42801c94 Fix stupid bug 2019-12-28 12:21:09 +03:00
Vladimir Chebotarev
1ad0c92873 Fixed logic error introduced in previous commit. 2019-12-28 10:30:12 +03:00
Alexey Milovidov
75f3075405 Updated exception message 2019-12-28 08:16:02 +03:00
Alexey Milovidov
0ec3f37921 Fixed error in "arrayReduce" aggregate function 2019-12-28 08:13:23 +03:00
Alexey Milovidov
56ec171fc0 Better check 2019-12-28 08:08:22 +03:00
Alexey Milovidov
608d8e854d Allow any number of arguments 2019-12-28 07:30:46 +03:00
Alexey Milovidov
78402ade07 Simplification 2019-12-28 07:26:55 +03:00
Alexey Milovidov
579137486b Added aggregate function aggThrow 2019-12-28 07:23:08 +03:00
alexey-milovidov
9d651526ca
Merge pull request #8343 from Felixoid/inherit_multiple_profiles
Inherit multiple profiles
2019-12-28 06:53:54 +03:00
alexey-milovidov
9d26920983
Update Settings.cpp 2019-12-28 06:52:47 +03:00
alexey-milovidov
9f7b56e926
Update SettingsConstraints.cpp 2019-12-28 06:52:21 +03:00
alexey-milovidov
1d21286209
Merge pull request #8318 from excitoon-favorites/replicatedalterttl
Fixed ALTER TTL for replicated tables
2019-12-28 06:49:42 +03:00
Sergey Kononenko
d7b030dbff Fix bad solution 2019-12-28 02:33:37 +03:00
Sergey Kononenko
0616b35ac8 Fix style 2019-12-28 01:54:01 +03:00
Sergey Kononenko
96302d4949 Prevent aggregation function destroy repeat 2019-12-28 01:52:03 +03:00
alexey-milovidov
9e8c3acffc
Merge pull request #8442 from ClickHouse/ddlworker-trash
Removed trash from DDLWorker
2019-12-28 01:27:53 +03:00
Sergey Kononenko
50f3861358 Check arguments count 2019-12-27 23:55:42 +03:00
alesapin
c48f892e13 Merge with master 2019-12-27 23:12:54 +03:00
alesapin
fef681acfe Fix style 2019-12-27 23:10:30 +03:00
Alexey Milovidov
2b04fccde7 Removed obsolete setting 2019-12-27 22:48:31 +03:00
alexey-milovidov
d989604d33
Merge pull request #8242 from achimbab/bugfix_bloomfilter
Fixed two bugs in the bloom_filter index.
2019-12-27 22:46:54 +03:00
Ruslan
bd01bdad97 git is hard(( 2019-12-27 22:45:41 +03:00
Vladimir Chebotarev
04a9e0b615 Fixed typos. 2019-12-27 22:44:54 +03:00