Alexey Milovidov
ef5363b87f
Fix terribly wrong code
2020-09-19 02:05:13 +03:00
Alexey Milovidov
7d0f3db639
Fix annoying "Arcadia"
2020-09-18 23:19:41 +03:00
Alexey Milovidov
8a8e4f8a41
Attempt to speed-up clang build
2020-09-18 21:58:57 +03:00
Alexey Milovidov
6e6909f47d
Fix "Arcadia"
2020-09-18 21:54:54 +03:00
Alexey Milovidov
72c2201287
Fix "Arcadia"
2020-09-18 17:39:33 +03:00
Alexander Kuzmenkov
a9b2bff8ba
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-18 13:43:29 +03:00
Alexey Milovidov
1752bbc1ed
Fix "Arcadia" build
2020-09-18 01:29:15 +03:00
Alexey Milovidov
a783fe110f
Fix build
2020-09-17 21:15:19 +03:00
Alexey Milovidov
eb523f1a7c
Merge branch 'master' into mlock-code-segment
2020-09-17 21:15:09 +03:00
Alexey Milovidov
20d07ed405
Update comment
2020-09-17 21:04:11 +03:00
Alexander Kuzmenkov
fb64cf210a
straighten the protocol version
2020-09-17 17:37:29 +03:00
Vitaly Baranov
3356d75b23
Merge pull request #13156 from azat/cluster-secure
...
Secure inter-cluster query execution (with initial_user as current query user) [v3]
2020-09-17 17:11:00 +03:00
alexey-milovidov
496df5b3e9
Merge pull request #14678 from sundy-li/patch-2
...
dynamic zookeeper config when session expired
2020-09-17 17:05:22 +03:00
Alexey Milovidov
068e8576b7
Corrections
2020-09-17 15:53:52 +03:00
Alexey Milovidov
8bce20076c
Only mlock code segment
2020-09-17 15:39:37 +03:00
Nikolai Kochetov
959d755a1b
Update Visitor.h
2020-09-17 15:08:55 +03:00
Nikolai Kochetov
225b85624e
Merge branch 'master' into inline-gather-utils
2020-09-17 11:17:32 +03:00
sundy-li
544b2cb20d
add configChanged method for zookeeper
...
fix logic error && skip reload testkeeper
2020-09-17 13:33:45 +08:00
Alexander Kuzmenkov
bcea99f2e5
Update ThreadPool.cpp
2020-09-16 11:59:58 +03:00
Alexander Kuzmenkov
5afb19faf1
Update ThreadPool.cpp
2020-09-15 19:58:09 +03:00
Alexander Kuzmenkov
a792850ecd
Update ThreadPool.cpp
2020-09-15 18:05:42 +03:00
alexey-milovidov
018f596d21
Merge pull request #14685 from ClickHouse/remap-executable
...
Attempt to make performance test more reliable
2020-09-15 15:09:47 +03:00
Alexander Kuzmenkov
d943bac1a4
Exception on double init of global thread pool
2020-09-15 13:30:16 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Nikolai Kochetov
95ae1105d9
Remove virtual destructors for Visitor.
2020-09-15 02:05:43 +03:00
Azat Khuzhin
785d1b2a75
OpenSSLHelpers cleanup
...
Add few more specializations for encodeSHA256():
- std::string encodeSHA256(const std::string_view &);
- std::string encodeSHA256(const void *, size_t);
- void encodeSHA256(const void *, size_t, unsigned char *);
2020-09-15 01:36:28 +03:00
Nikolai Kochetov
65a1057aae
Revert "Try simplify Visitor."
...
This reverts commit 9fcfa560ae
.
2020-09-15 00:40:41 +03:00
Nikolai Kochetov
9fcfa560ae
Try simplify Visitor.
2020-09-14 23:35:45 +03:00
Nikita Mikhaylov
ddea62211d
Merge pull request #11948 from CurtizJ/fsync-parts
...
Experiment. Allow to turn on fsync on inserts, merges and fetches.
2020-09-14 22:37:14 +04:00
Alexey Milovidov
3530f83c01
Remove debug output
2020-09-14 21:12:09 +03:00
Alexey Milovidov
f9361acb88
Disable in shared libraries mode
2020-09-14 21:00:45 +03:00
Alexey Milovidov
0e73b8acf3
Merge branch 'master' into remap-executable
2020-09-14 20:26:16 +03:00
Alexey Milovidov
b966697939
Style
2020-09-14 16:31:30 +03:00
alexey-milovidov
cc3d1a3922
Merge pull request #14471 from ClickHouse/git-to-clickhouse
...
Added a script to import git repository to ClickHouse
2020-09-12 03:56:31 +03:00
Anton Popov
f2a5216e97
add waiting for fsync in WAL
2020-09-11 02:28:50 +03:00
Anton Popov
af4089c606
Merge remote-tracking branch 'upstream/master' into HEAD
2020-09-11 00:39:21 +03:00
Alexey Milovidov
5675efbd47
Fix build
2020-09-10 20:16:12 +03:00
Alexander Tokmakov
f19f02028b
fix misleading exception message about uuid macro
2020-09-10 17:50:10 +03:00
Alexey Milovidov
65e9c678f8
Disable under certain conditions
2020-09-10 17:47:02 +03:00
Alexey Milovidov
532d121100
Fix typo
2020-09-10 12:14:31 +03:00
Alexey Milovidov
a644733139
Attempt to make performance test more reliable
2020-09-10 12:05:57 +03:00
alexey-milovidov
e65e29d537
Merge pull request #14647 from fastio/master
...
Add QueryMemoryLimitExceeded event
2020-09-10 06:12:39 +03:00
Nikita Mikhaylov
44726c37c3
Merge branch 'master' into fix-executable-dictionary-source-hangup
2020-09-09 23:01:41 +04:00
alexey-milovidov
453914b6b8
Update ProfileEvents.cpp
2020-09-09 21:02:53 +03:00
Peng Jian
9fa04cf48b
Add QueryMemoryLimitExceeded event
2020-09-10 00:59:38 +08:00
Vasily Nemkov
3973a17530
MySql datatypes dateTime64 and decimal ( #11512 )
2020-09-09 15:18:02 +03:00
Artem Zuikov
36972d34a7
Fix logical error in GLOBAL JOIN with table function ( #14545 )
2020-09-09 13:03:13 +03:00
Ilya Yatsishin
a3d6732662
Merge pull request #14558 from bharatnc/ncb/improve-config-path-processing
...
use std::filesystem::path in ConfigProcessor for filepath concatenation
2020-09-08 14:39:23 +03:00
Nikita Mikhaylov
80f193f615
Merge pull request #14252 from bharatnc/ncb/time-query-log-in-ms
...
add query_start_time_microseconds field to system.query_log & system.query_thread_log tables
2020-09-08 15:11:50 +04:00
Ilya Yatsishin
11a247d2f4
Merge pull request #14556 from ClickHouse/fix-arcadia-2
...
Lower binary size in "Arcadia" build
2020-09-08 12:08:35 +03:00
alesapin
4364bff3bc
Merge pull request #12761 from kssenii/rabbitmq-improvements
...
RabbitMQ improvements
2020-09-08 09:38:25 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
bharatnc
7b89adb10d
use std::filesystem::path in ConfigProcessor
...
This PR improves the way the ClickHouse config path,
preprocessed_configs path etc are being joined inside
`ConfigProcessor.cpp`.
Uses `std::filesystem::path` to join the paths instead of
standard string concatenation. This would improve path concatenation.
Current method of concatenation results in:
```bash
➜ clickhouse-server ls -latr
total 68
-rw-r--r-- 1 root root 5587 Aug 31 05:00 users.xml
drwxr-xr-x 143 root root 12288 Sep 7 11:23 ..
lrwxrwxrwx 1 root root 41 Sep 7 11:23 preprocessed -> /var/lib/clickhouse//preprocessed_configs
drwxr-xr-x 2 root root 4096 Sep 7 11:23 users.d
-rw-r--r-- 1 root root 34252 Sep 7 11:28 config.xml
drwxr-xr-x 4 root root 4096 Sep 7 11:28 .
drwxr-xr-x 2 root root 4096 Sep 7 11:28 config.d
```
The symlink `/var/lib/clickhouse//preprocessed_configs` will still work.
amd this PR is an improvement to the current method of path
concatenation.
2020-09-07 12:45:52 -07:00
alexey-milovidov
e1104135c8
Merge pull request #13939 from fastio/master
...
Multithreading implementation of Kafka engine
2020-09-07 20:12:06 +03:00
kssenii
40c8290dde
Tiny fixes, better tests
2020-09-07 14:48:50 +00:00
alesapin
17650e803f
Tiny improvements
2020-09-07 14:08:53 +03:00
Alexey Milovidov
04a6965006
Fix error with executable dictionary source
2020-09-07 09:40:01 +03:00
Alexey Milovidov
1400bdbf83
Fix unit tests
2020-09-07 06:11:35 +03:00
Alexey Milovidov
83d2eafd12
Merge branch 'master' of github.com:yandex/ClickHouse into git-to-clickhouse
2020-09-07 03:19:44 +03:00
bharatnc
fd22450a2a
Merge remote-tracking branch 'upstream/master' into ncb/time-query-log-in-ms
2020-09-06 13:19:27 -07:00
alexey-milovidov
a78b04b56a
Merge pull request #14455 from ClickHouse/prepare-clang-11
...
Prepare for clang 11
2020-09-06 11:02:58 +03:00
Peng Jian
e6bfd9d586
1. Add new setting for Kafka engine, named kafka_thread_per_consumer which default value is false. 2. Create separate thread pool for Kafka engine.
2020-09-06 11:17:19 +08:00
Anton Popov
3b9be70c8c
Merge remote-tracking branch 'upstream/master' into HEAD
2020-09-05 18:53:55 +03:00
bharatnc
44e168bea7
query_start_time_microseconds field in system.query_log
...
Add a new field called `query_start_time_microseconds` that will add
`microseconds`. This new field will be of type `DateTime64`.
2020-09-04 09:42:18 -07:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
alexey-milovidov
54ede2e1bb
Merge pull request #14467 from ClickHouse/topk-check-overflow
...
Check for array size overflow in topK
2020-09-04 09:15:33 +03:00
Alexey Milovidov
d3fa22280a
Merge branch 'prepare-clang-11' into git-to-clickhouse
2020-09-04 09:12:27 +03:00
Alexey Milovidov
23b9677879
Added a script to import git repository to ClickHouse
2020-09-04 08:46:58 +03:00
Alexey Milovidov
1cee6d5a31
Check for array size overflow in topK #14452
2020-09-04 04:05:57 +03:00
Alexey Milovidov
4b3220f79a
Prepare for clang 11
2020-09-04 03:39:56 +03:00
Amos Bird
3817c0efa7
Remove redundant conditions
2020-09-04 02:13:57 +08:00
Anton Popov
4fe57fc169
Merge remote-tracking branch 'upstream/master' into HEAD
2020-09-02 01:29:44 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
alexey-milovidov
0f706c01ca
Merge pull request #13888 from vladimir-golovchenko/add-date-trunc-function
...
Added date_trunc function
2020-08-27 02:12:27 +03:00
alexey-milovidov
7271c9c983
Merge pull request #14059 from azat/gcc10-fixes
...
gcc10 build fixes
2020-08-26 03:31:03 +03:00
vladimir golovchenko
b0dd1d92b4
Added date_trunc function.
2020-08-25 16:41:08 -07:00
Azat Khuzhin
9071457d3f
Fix C++20 comparison calls recursively with reversed arguments in UInt128.h (over.match.oper#3.4.4 in gcc10)
...
Due to [1], gcc10 reports:
../src/Common/UInt128.h:92:81: error: in C++20 this comparison calls the current function recursively with reversed arguments [-Werror]
92 | template <typename T> bool inline operator == (T a, const UInt128 b) { return b == a; }
[1]: http://eel.is/c++draft/over.match.oper#3.4.4
2020-08-25 21:19:57 +03:00
Alexander Tokmakov
59d879b1fe
fix "no space left" extra info for Poco::Exception
2020-08-25 18:06:24 +03:00
Anton Popov
4df5c72878
Merge remote-tracking branch 'upstream/master' into HEAD
2020-08-24 12:57:27 +03:00
Vasily Nemkov
f94f786cc3
First attempt to fix data race in ConnectionPoolWithFailover::getStatus()
2020-08-20 23:25:38 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Alexey Milovidov
5a00941303
Fix "Arcadia"
2020-08-19 12:31:28 +03:00
Alexey Milovidov
5c0a9648fb
Remove even more useless code
2020-08-18 22:03:23 +03:00
Alexey Milovidov
eeb769d2d4
Remove useless code around zkutil
2020-08-18 22:02:07 +03:00
Artem Zuikov
bc6ddac52c
one more unroll for arerage.cpp
2020-08-17 19:23:05 +03:00
Alexey Milovidov
09846a92cd
Fix typos
2020-08-16 15:09:41 +03:00
alexey-milovidov
751cce6dfc
Update gtest_thread_pool_schedule_exception.cpp
2020-08-16 11:10:36 +03:00
Alexey Milovidov
1b929ec54a
Fix flaky unit test
2020-08-16 11:07:36 +03:00
Alexey Milovidov
696f773267
Remove ZooKeeper from unit tests
2020-08-15 07:29:02 +03:00
Alexey Milovidov
52cf85eaee
Fix clang build
2020-08-13 23:13:13 +03:00
tavplubix
4aff48dc3f
Merge pull request #10851 from zhang2014/feature/materialize_mysql_database
...
ISSUES-4006 support MaterializeMySQL database engine
2020-08-12 15:59:28 +03:00
Alexander Kuzmenkov
d42dbfce98
Do not overallocate when creating PODArray with given size
...
Another part of #12278
2020-08-10 23:36:52 +03:00
Alexey Milovidov
8054a08c55
Fix build after merge
2020-08-10 03:44:21 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
alexey-milovidov
180ea39bf8
Merge pull request #13099 from ClickHouse/fixed-hash-map-implicit-zero-6
...
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 6
2020-08-09 23:13:53 +03:00
Vitaly Baranov
2c5a2b2f43
Add function isValidIdentifier().
2020-08-09 02:46:42 +03:00
Alexey Milovidov
182e2929f3
Merge branch 'master' into embed-configs
2020-08-09 02:41:44 +03:00
Alexey Milovidov
a2d9be1ed4
Merge branch 'fixed-hash-map-implicit-zero-6' of github.com:yandex/ClickHouse into fixed-hash-map-implicit-zero-6
2020-08-09 01:50:41 +03:00
Alexey Milovidov
d2351dc7f3
Fix clang static analyzer
2020-08-09 01:50:20 +03:00
Alexey Milovidov
350b8e87a7
Merge branch 'master' into fixed-hash-map-implicit-zero-6
2020-08-09 01:48:12 +03:00
alexey-milovidov
8e3f8aa0ab
Merge pull request #13491 from ClickHouse/aku/podarray
...
Avoid overallocation in PODArray assignment
2020-08-09 01:41:47 +03:00
alexey-milovidov
beed3c8244
Merge pull request #13500 from ClickHouse/hardening-and-better-error-messages
...
Hardening and better error messages
2020-08-08 17:13:43 +03:00
alexey-milovidov
c0fef71507
Merge pull request #13511 from ClickHouse/codespell
...
Fix typos in code with codespell.
2020-08-08 17:09:16 +03:00
Alexey Milovidov
0f79eb3cc5
Embed configs into binary
2020-08-08 06:42:42 +03:00
alexey-milovidov
321d4ed643
Merge pull request #13490 from zlobober/patch-4
...
Demangle exception classname for std::exception
2020-08-08 05:10:39 +03:00
Alexey Milovidov
12f66fa82c
Fix 99% of typos
2020-08-08 04:01:47 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
alexey-milovidov
378b2b7e04
Update average.cpp
2020-08-08 02:06:55 +03:00
Alexander Kuzmenkov
ddf0fe30b3
Merge pull request #13336 from ianton-ru/select_insert_time
...
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds
2020-08-08 01:05:46 +03:00
Alexey Milovidov
b6625006dc
Hardening and better error messages
2020-08-07 22:36:04 +03:00
Alexander Kuzmenkov
c06210a89a
Avoid overallocation in PODArray assignment
...
Part of #12438
2020-08-07 18:18:32 +03:00
Max Akhmedov
026cb4ac1b
Demangle exception classname for std::exception
2020-08-07 17:52:32 +03:00
Alexander Kuzmenkov
5d60ab33a5
Merge pull request #13147 from ClickHouse/aku/podarray
...
Assert that the source type is the same before memcpy in PODArray::insert
2020-08-07 16:58:14 +03:00
alexey-milovidov
b5667e3b0f
Merge pull request #13441 from ClickHouse/fix-parse-date-time-best-effort
...
Fix error in parseDateTimeBestEffort
2020-08-07 14:02:59 +03:00
Alexey Milovidov
5c1703bd6c
Merge branch 'master' into fixed-hash-map-implicit-zero-6
2020-08-07 02:58:57 +03:00
Alexey Milovidov
241017bc1f
Fix error in parseDateTimeBestEffort
2020-08-07 02:52:18 +03:00
Alexander Kuzmenkov
da7bc8962d
Merge pull request #13417 from vladimir-golovchenko/fix-quota-statements-interval-formatting
...
Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements
2020-08-07 01:50:25 +03:00
Alexander Kuzmenkov
e7e71b8615
Use the memcpy predicate from 6f8a274ba0
2020-08-06 16:34:23 +03:00
Alexander Kuzmenkov
9409629511
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-06 16:29:43 +03:00
vladimir golovchenko
3c307064b9
Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements.
2020-08-06 05:45:01 -07:00
Alexey Milovidov
8fd4038234
Fix UBSan error
2020-08-06 04:59:02 +03:00
Alexander Kuzmenkov
ead62bc9d7
Remove everything except static_assert for same type
2020-08-05 17:12:41 +03:00
Alexander Kuzmenkov
aa629a4c82
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-05 17:09:56 +03:00
Alexander Kuzmenkov
0eaab3d095
Merge pull request #13191 from ClickHouse/aku/semicolon-cleanup
...
Cleanup for #12999 . NFC
2020-08-05 14:53:27 +03:00
alexey-milovidov
85f28db714
Merge pull request #11524 from ClickHouse/stack-frams-size-limit
...
Avoid too large stack frames
2020-08-05 13:12:08 +03:00
Alexander Kuzmenkov
0d947b64bd
fixup
2020-08-05 02:23:31 +03:00
Anton Ivashkin
327090b7ea
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events, second attempt
2020-08-04 19:38:13 +03:00
Alexey Milovidov
d91471ea00
Merge branch 'master' into stack-frams-size-limit
2020-08-04 15:28:47 +03:00
zhang2014
c99da34039
ISSUES-4006 try fix unit test failure
2020-08-04 19:09:30 +08:00
Azat Khuzhin
d28c4c4a6c
Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
...
* upstream/master:
fix left asof join with join_use_nulls (#13291 )
Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…"
Add test
Added another check just in case
Fixup
Fix range checks in h3 functions
Fix configs
Update tests
Check ALTERs; update test
Sanity checks for MergeTreeSettings
2020-08-04 09:29:46 +03:00
zhang2014
da2ad0799f
ISSUES-4006 try fix build failure after merge master
2020-08-04 10:31:27 +08:00
zhang2014
7ea2eee98a
ISSUES-4006 add some check & add comment
2020-08-04 10:31:27 +08:00
zhang2014
c173bd391f
ISSUES-4006 try fix build & test failure
2020-08-04 10:31:27 +08:00
zhang2014
6b452cf83d
ISSUES-4006 try fix build failure & fix float 32 parser
2020-08-04 10:31:27 +08:00
zhang2014
74f354d840
ISSUES-4006 add some check before create materialize mysql database
2020-08-04 10:31:27 +08:00
zhang2014
4e161bb42a
ISSUES-4006 remove unused metric
2020-08-04 10:31:26 +08:00
zhang2014
4a99ca0d80
ISSUES-4006 refactor
2020-08-04 10:31:25 +08:00
Alexey Milovidov
05bfb70c7a
Addition to Revert "Less indirection in FixedHashTable"
2020-08-04 01:40:55 +03:00
Alexey Milovidov
a7e5feb8b4
Added another method
2020-08-04 01:40:55 +03:00
Alexey Milovidov
d94717c699
Add one more method to the test
2020-08-04 01:40:55 +03:00
alexey-milovidov
4d5ba3571b
Update average.cpp
2020-08-04 01:40:55 +03:00
Alexey Milovidov
f428c2da70
Add a test
2020-08-04 01:40:55 +03:00
alexey-milovidov
65c755190e
Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…"
2020-08-04 01:18:59 +03:00
Azat Khuzhin
2fc1c859c7
Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
...
* upstream/master:
Update tips.md
Wait with retries in fast test (#13284 )
update #syntax-expressions in syntax.md (#13269 )
fix test
Set custom prefix in server-test.xml too.
Update HashTable.h
Attempt to fix "Arcadia" build
More performance tests
Fix error + one more optimization
Attempt to fix "Arcadia" build
Add test
Continue
Fix hash table with NaN keys
Fix tests
Fix errors
Fix errors
Revert some changes
shellcheck --check-sourced --external-sources --severity style --exclude SC1071 --format diff *.sh ../1_stateful/*.sh | git apply
Fix all info from Shellcheck
fgrep -> grep -F
shellcheck --check-sourced --external-sources --severity info --exclude SC1071 --format diff */*.sh | git apply
Minor changes 2
Minor changes
Fix warnings found by Shellcheck
Refresh ya.make
Better code
Fix assertion in KeyCondition
Fix including Common/config.h in the Arcadia build.
Fix bad code
Add more threads for the 01323_too_many_threads_bug
Exclude threads used for query_log processing 01323_too_many_threads_bug
Use ILIKE over lower() LIKE in 01323_too_many_threads_bug
Update test
Fix style
Simplify CMake for libunwind (suggestion from @azat)
Normalize ya.make files, fix "Arcadia" build
Fix 01323_too_many_threads_bug (use arrayUniq() over length())
Fix logging in MergeTreeDataSelectExecutor for multiple threads (attach to thread group)
Use "Not using primary index on part" over "Not using index on part" (add "primary")
Exclude 01413_rows_events from the fasttest (TRUNCATE query_log)
fasttest: use arrays for skip list (to make it more patch friendly)
Update README.md
Fix warning in libunwind
Fix warning in libunwind
Fix assert in geohashesInBox
Fix assert in parseDateTimeBestEffort
Add test
Fix function if with nullable constexpr as cond that is not literal NULL
Fix assert in *Map aggregate functions
More tests
Fix assert in arrayElement
Fix assert in IN with tuple literals and functions
Use stored size for UInt16 case
Revert "Less indirection in FixedHashTable"
Special case for aggregation by 8bit field
Less indirection in FixedHashTable
Update FixedHashTable.h
Avoid increment of size in the inner loop of aggregation by UInt8/UInt16
Trigger CI
Slightly better
Fix fuzz test
Add test
Function "materialize" should work for NULL as expected
Minor changes in Debian scripts
Fix Shellcheck errors
Fix some spurious perf test failures
Fix test
+x for test
Merge with master
Added and updated tests
More sane
Remove ridiculous trash
Use absolute paths to backup locations (shadow)
Add test for macros usage in certain kafka setting.
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events
try fix sync
Fix various code defects in groupArrayMoving functions #12568
fix
fixes
fixes
implement reneme dictionary query
rename database with dictionaries
fix tests
use dictionary ids
fix build
add uuid to generated config
add StorageID to IDictionaryBase 3
add StorageID to IDictionaryBase 2
add StorageID to IDictionaryBase 1
write uuid for ddl dictionaries
fixes
add implicit uuid macro
fix tests
fix, add test
implement rename database for atomic
fix symlinks, add short syntax of attach database
add uuid to atomic databases
2020-08-03 22:51:40 +03:00
alexey-milovidov
ef0097d326
Merge pull request #12343 from ClickHouse/database_atomic_improvements
...
DatabaseAtomic improvements
2020-08-03 21:45:41 +03:00
Alexey Milovidov
1d091738dd
Merge branch 'master' into stack-frams-size-limit
2020-08-03 20:41:47 +03:00
Alexander Kuzmenkov
0d4b8bc226
fixup
2020-08-03 20:22:59 +03:00
Alexander Kuzmenkov
59ed586b69
fixup
2020-08-03 20:15:08 +03:00
alexey-milovidov
3015503dc6
Merge pull request #13254 from ClickHouse/fix-hash-table-nan-key
...
Fix hash table with NaN keys
2020-08-03 19:37:17 +03:00
Alexander Kuzmenkov
004a393295
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-03 19:20:05 +03:00
alexey-milovidov
f536836eee
Merge pull request #13091 from ClickHouse/fixed-hash-map-implicit-zero-4
...
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 4
2020-08-03 19:07:35 +03:00
Alexander Kuzmenkov
c4a33430b1
Merge pull request #13028 from ianton-ru/select_insert_time
...
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…
2020-08-03 17:07:34 +03:00
Alexander Kuzmenkov
e7744cc15c
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-03 16:35:42 +03:00
Alexander Tokmakov
5b92f43f12
Merge branch 'master' into database_atomic_improvements
2020-08-03 14:35:40 +03:00
alexey-milovidov
79ba0a5be9
Update HashTable.h
2020-08-03 04:46:47 +03:00
Alexey Milovidov
486a4b3a17
Merge branch 'master' into fixed-hash-map-implicit-zero-4
2020-08-03 04:19:22 +03:00
Alexey Milovidov
23c268e5ef
Continue
2020-08-03 03:01:23 +03:00
alexey-milovidov
1e91238466
Merge pull request #13225 from ClickHouse/map-skip-null
...
Fix assert in *Map aggregate functions
2020-08-03 02:12:48 +03:00
alexey-milovidov
6399a1df0f
Merge pull request #13250 from vitlibar/fix-including-common-config-header-arcadia
...
Fix including Common/config.h in the Arcadia build.
2020-08-03 01:39:22 +03:00
Alexey Milovidov
32c263aa9f
Fix hash table with NaN keys
2020-08-03 01:20:35 +03:00
Alexey Milovidov
0fd7af8a63
Merge branch 'master' into stack-frams-size-limit
2020-08-03 00:06:00 +03:00
Alexey Milovidov
9611b2c7f4
Refresh ya.make
2020-08-03 00:04:48 +03:00
Vitaly Baranov
ac3596389d
Fix including Common/config.h in the Arcadia build.
2020-08-02 23:44:59 +03:00
Alexey Milovidov
41111d1e57
Merge branch 'master' into stack-frams-size-limit
2020-08-02 19:18:33 +03:00
alexey-milovidov
b67e2cee35
Update BitHelpers.h
2020-08-02 19:12:46 +03:00
alexey-milovidov
ae572c3a7e
Update BitHelpers.h
2020-08-02 19:09:51 +03:00
Alexey Milovidov
38c4c727d4
Merge branch 'master' into map-skip-null
2020-08-02 17:22:21 +03:00
Alexey Milovidov
6f690b7c0d
Normalize ya.make files, fix "Arcadia" build
2020-08-02 16:57:38 +03:00
Azat Khuzhin
c5e230eb53
Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero()
...
Otherwise roundUpToPowerOfTwoOrZero() will return 0 for then, and this
will cause 0 memory allocated and eventually SIGSEGV, like in [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/13201/5eaf39d3faf0abdd425cca9b7ee5778b06aad716/fuzzer/fuzzer.log#fail1
2020-08-02 12:55:33 +03:00
Vitaly Baranov
18b21511a9
Merge pull request #13013 from vitlibar/implement-custom-settings
...
Implement custom settings
2020-08-02 05:01:14 +03:00
Alexey Milovidov
d3c0635fc0
Merge branch 'master' into stack-frams-size-limit
2020-08-02 04:35:09 +03:00
Alexey Milovidov
eb3422477e
Fix assert in *Map aggregate functions
2020-08-02 04:29:52 +03:00
alexey-milovidov
4f0a9b6465
Merge pull request #12316 from ClickHouse/crash-log
...
Add system.crash_log table.
2020-08-02 01:28:14 +03:00
Alexey Milovidov
460bda7759
Use stored size for UInt16 case
2020-08-02 01:11:00 +03:00
Alexey Milovidov
8496c984c5
Revert "Less indirection in FixedHashTable"
...
This reverts commit 743aee9940
.
2020-08-02 01:11:00 +03:00
Alexey Milovidov
1088bfffb1
Special case for aggregation by 8bit field
2020-08-02 01:11:00 +03:00
Alexey Milovidov
542ec9f777
Less indirection in FixedHashTable
2020-08-02 01:11:00 +03:00
alexey-milovidov
7d8eec5652
Update FixedHashTable.h
2020-08-02 01:11:00 +03:00
Alexey Milovidov
f1363403b7
Avoid increment of size in the inner loop of aggregation by UInt8/UInt16
2020-08-02 01:11:00 +03:00
alexey-milovidov
626b709085
Merge pull request #13055 from ClickHouse/fixed-hash-map-implicit-zero
...
Slightly improve the inner loop of aggregation by UInt8/UInt16 keys
2020-08-02 01:09:00 +03:00
Alexey Milovidov
64d91d0f90
Fix build; fix errors
2020-08-01 18:54:44 +03:00
Alexey Milovidov
9ef9d31f03
Crash log: development
2020-07-31 23:16:31 +03:00
Alexey Milovidov
59840c725c
Merge remote-tracking branch 'origin/master' into crash-log
2020-07-31 22:52:37 +03:00
Vitaly Baranov
80a3caef1c
Allow using any types for custom fields.
2020-07-31 20:57:49 +03:00
Vitaly Baranov
18e3f1f60d
Split SettingsCollection.h into 3 files: SettingsFields.h, SettingsEnums.h, SettingsCollection.h
2020-07-31 19:11:27 +03:00
Vitaly Baranov
90602b869a
Make SettingsChanges a class.
2020-07-31 19:11:27 +03:00
Vitaly Baranov
668653600c
Use SettingMaxThreads only in Settings, call getNumberOfPhysicalCPUCores() instead of SettingMaxThreads::getAuto().
2020-07-31 19:11:27 +03:00
Alexander Kuzmenkov
efb09d7ff5
Cleanup for #12999 . NFC.
2020-07-31 17:53:41 +03:00
Alexey Milovidov
c3ad710b84
Merge branch 'master' into crash-log
2020-07-31 16:12:53 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements
2020-07-31 14:56:49 +03:00
Alexey Milovidov
d63f82e36e
Even more retries in zkutil gtest
2020-07-31 13:12:03 +03:00
alexey-milovidov
065db05665
Merge pull request #12638 from ianton-ru/selected_rows_event
...
Add SelectedRows and SelectedBytes events
2020-07-31 12:48:46 +03:00
alesapin
2eb01fd655
Merge pull request #13104 from ClickHouse/volumes-refactorings
...
Merging #12670
2020-07-31 11:21:30 +03:00
alexey-milovidov
74edcfb87e
Merge pull request #13073 from nikitamikhaylov/rewrite-tests
...
BayesAB test
2020-07-31 02:30:07 +03:00
alexey-milovidov
e8f5bbd05f
Update TraceCollector.cpp
2020-07-31 02:29:54 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
Alexander Kuzmenkov
5214621830
[draft] only fix int16->int32 insert in PODArray
2020-07-30 18:20:47 +03:00
Alexander Kuzmenkov
14af140447
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-30 18:17:55 +03:00
Nikita Mikhaylov
a948d20832
fix
2020-07-30 14:59:21 +03:00
Nikita Mikhaylov
4d49d2c671
another removes
2020-07-30 13:31:14 +03:00
alesapin
724b7be555
Merge branch 'volumes-related-refactorings' of https://github.com/excitoon-favorites/ClickHouse into volumes-refactorings
2020-07-30 12:20:48 +03:00
Alexey Milovidov
bc0d733b8e
Merge remote-tracking branch 'origin/master' into fixed-hash-map-implicit-zero
2020-07-30 05:43:40 +03:00
alesapin
34e7b25d91
Merge pull request #12992 from ClickHouse/rerun_failed_in_fast_test
...
Rerun tests in fast test
2020-07-29 21:11:54 +03:00
Anton Ivashkin
ce25924871
Merge master
2020-07-29 19:32:30 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Anton Ivashkin
f4efe3c2fd
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events
2020-07-29 13:32:18 +03:00
Alexey Milovidov
490a8ba3d4
Slightly improve inner loop of aggregation by UInt8/UInt16 keys
2020-07-29 04:50:12 +03:00
Alexander Kuzmenkov
f6f2812f73
Block structure mismatch is a program error
2020-07-28 21:35:18 +03:00
Anton Ivashkin
89a59d43f2
Merge
2020-07-27 17:59:12 +03:00
Alexey Milovidov
916daf7ff0
Fix build of test under Mac OS X #12767
2020-07-27 14:34:52 +03:00
Gleb Novikov
3585b24f16
MultiDiskReservation, VolumeRAID1 and createVolumeFromConfig
...
1. Implemented MultiDiskReservation to maintain multiple reservations under one
2. Implemented VolumeRAID1 as child of VolumeJBOD (since RAID1 is quite similar)
3. Implemented createVolumeFromConfig
2020-07-26 21:27:36 +03:00
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
Nikolai Kochetov
76d784be9c
Merge pull request #12613 from ClickHouse/remove-sort-description-from-streams
...
Remove sort description from streams
2020-07-22 17:35:05 +03:00
Alexey Milovidov
c55834c40f
Merge branch 'master' into stack-frams-size-limit
2020-07-22 08:49:00 +03:00
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +03:00
Alexey Milovidov
7b81640e9b
Add support for function if with Array(UUID) arguments #11066
2020-07-22 00:15:19 +03:00
Alexander Kuzmenkov
e45e2d174f
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-21 18:42:03 +03:00
Anton Ivashkin
742793be54
Add SelectedRows and SelectedBytes events
2020-07-21 17:50:02 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Nikolai Kochetov
a93a7d3a75
Remove unused error code.
2020-07-21 13:10:16 +03:00
alexey-milovidov
16e8c61438
Merge pull request #12566 from ClickHouse/race_condition_cache_dictionaries
...
Fix race condition in clickhouse cache dictionary
2020-07-21 11:27:08 +03:00
alesapin
6b7d1033e6
Comments for ugly fix
2020-07-20 16:06:44 +03:00
alexey-milovidov
7aee5abb83
Merge pull request #12569 from ClickHouse/aku/numa-metric
...
Add perf metric for NUMA-local memory access
2020-07-19 03:21:24 +03:00
alexey-milovidov
504783fe2b
Update ProfileEvents.cpp
2020-07-19 03:20:45 +03:00
Alexander Kuzmenkov
5a662ca48c
Add perf metric for NUMA-local memory access
2020-07-17 20:10:59 +03:00
Alexander Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
alexey-milovidov
fde8c87a1f
Merge pull request #12426 from ClickHouse/log-engine-rollback-on-insert-error
...
Rollback insertion error in Log engines
2020-07-16 22:50:48 +03:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
...
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
Alexey Milovidov
6df282e813
Fixup
2020-07-16 11:33:51 +03:00
Alexey Milovidov
3408b7e259
Merge branch 'master' into log-engine-rollback-on-insert-error
2020-07-16 05:34:02 +03:00
Alexey Milovidov
e1173bc3f7
Fixup
2020-07-16 05:00:21 +03:00
Alexey Milovidov
1bf679703d
Merge branch 'master' into testkeeper-improve-performance
2020-07-16 04:58:35 +03:00
Alexey Milovidov
43990f734c
Merge branch 'master' into avoid-overallocation3
2020-07-16 03:16:44 +03:00
Denis Glazachev
59cb758cf7
Merge branch 'master' into ldap-per-user-authentication
2020-07-16 02:29:24 +04:00
Alexander Kuzmenkov
f785837b1d
Merge pull request #12518 from ClickHouse/aku/android
...
Some provisions for Android build
2020-07-15 22:05:41 +03:00
Alexey Milovidov
d380ff83e2
Merge branch 'master' into testkeeper-improve-performance
2020-07-15 19:38:06 +03:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Alexey Milovidov
b665413869
Improve performance of TestKeeper
2020-07-15 01:53:34 +03:00
Alexey Milovidov
0c237de00d
Fix build
2020-07-15 00:32:14 +03:00
Anton Ivashkin
52fea6a5a3
Merge master
2020-07-14 15:56:38 +03:00
Alexander Tokmakov
fdb02edc7c
Merge branch 'master' into database_atomic_improvements
2020-07-13 17:28:48 +03:00
Alexander Tokmakov
04c3e7cab6
add implicit uuid macro
2020-07-13 16:18:38 +03:00
Anton Ivashkin
26fca949bd
add profiling events from S3 request to system.events and system.query_log
2020-07-13 11:27:11 +03:00
Alexey Milovidov
befbae585b
Revert the only change that should affect performance in gcc
2020-07-12 21:31:17 +03:00
Alexey Milovidov
8092f9f861
Merge branch 'master' into avoid-overallocation2
2020-07-12 06:06:50 +03:00
Alexey Milovidov
204a4af394
Rollback insertion error in Log engines #12402
2020-07-12 05:32:18 +03:00
Denis Glazachev
edb6ef8c09
Merge commit 'ceac649c01b0158090cd271776f3219f5e7ff57c' into ldap-per-user-authentication
...
* commit 'ceac649c01b0158090cd271776f3219f5e7ff57c': (75 commits)
[docs] split misc statements (#12403 )
Update 00405_pretty_formats.reference
Update PrettyCompactBlockOutputFormat.cpp
Update PrettyBlockOutputFormat.cpp
Update DataTypeNullable.cpp
Update 01383_remote_ambiguous_column_shard.sql
add output_format_pretty_grid_charset setting in docs
add setting output_format_pretty_grid_charset
Added a test for #11135
Update index.md
RIGHT and FULL JOIN for MergeJoin (#12118 )
Update MergeTreeIndexFullText.cpp
restart the tests
[docs] add syntax highlight (#12398 )
query fuzzer
Fix std::bad_typeid when JSON functions called with argument of wrong type.
Allow typeid_cast() to cast nullptr to nullptr.
fix another context-related segfault
[security docs] actually, only admins can create advisories
query fuzzer
...
2020-07-11 21:32:36 +04:00
Alexander Kuzmenkov
10b0287fa4
Merge pull request #12341 from ClickHouse/aku/perfect-visitor
...
More perfect forwarding in field visitors
2020-07-11 13:36:37 +03:00
alexey-milovidov
c615ea658b
Merge pull request #12400 from vitlibar/fix-bad_typeid
...
Fix std::bad_typeid when JSON functions called with argument of wrong type
2020-07-11 05:40:44 +03:00
Vitaly Baranov
3a0d358694
Allow typeid_cast() to cast nullptr to nullptr.
2020-07-10 17:02:48 +03:00