Alexey Milovidov
1df5c7cedf
Added generic variants of least and greatest functions #4767
2020-04-17 01:28:08 +03:00
Kruglov Pavel
2672b71b2d
Delete extra spaces
2020-04-16 23:47:01 +03:00
Artem Zuikov
c62c288e4c
fix COMMA and other JOIN mix ( #10311 )
2020-04-16 23:28:23 +03:00
Avogar
89d787dae3
Add new line at the end of file
2020-04-16 23:14:19 +03:00
Avogar
831c48c514
Add MarkdownRowOutput format
2020-04-16 23:10:42 +03:00
Nikita Mikhaylov
6b58998a36
better
2020-04-16 22:57:39 +03:00
Nikita Mikhaylov
c153cc8fe5
fixed :)
2020-04-16 22:54:11 +03:00
Alexander Kazakov
d5b3b2c7b6
Updated RWLockImpl: Fixed suboptimacy (readers queuing up) + minor tweaks to names and comments ( #10303 )
...
* Readers queue correction
* Comments, renamings and cosmetics
2020-04-16 21:56:21 +03:00
Nikita Mikhaylov
9a80eb6e47
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-16 21:47:34 +03:00
Nikita Mikhaylov
85fbf413c1
server crashes, just to save
2020-04-16 21:47:20 +03:00
Artem Zuikov
ce372f464b
Fix finalize chain logic in ExpressionAnalysisResult ( #10302 )
2020-04-16 21:03:27 +03:00
Ildus Kurbangaliev
602baf62f0
Improve implementation of sumMap for tuples
2020-04-16 17:26:17 +00:00
Azat Khuzhin
a9b1b36907
Use separate pool for buffer flushes (background_buffer_flush_schedule_pool_size)
2020-04-16 20:14:28 +03:00
Ildus Kurbangaliev
fcacca68d7
Update src/AggregateFunctions/AggregateFunctionSumMap.cpp
...
Co-Authored-By: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2020-04-16 16:43:16 +00:00
Ildus Kurbangaliev
6244270809
Add SimpleAggregateFunction support for sumMap
2020-04-16 16:43:16 +00:00
Artem Zuikov
47cb670213
Merge branch 'master' into joins
2020-04-16 19:06:13 +03:00
alexey-milovidov
3de1a36b33
Update ya.make
2020-04-16 18:55:39 +03:00
Alexander Tokmakov
605f3b2119
fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-16 18:30:18 +03:00
Nikolai Kochetov
025093d354
Fix build.
2020-04-16 17:51:33 +03:00
Nikolai Kochetov
d6db27e372
Modify context.
2020-04-16 17:37:38 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
Alexey Milovidov
f704c465a7
Make aware of one special case of imcompletely written parts #9940
2020-04-16 00:52:21 +03:00
alexey-milovidov
056c822e65
Merge pull request #10257 from 4ertus2/strange
...
Some tech debt
2020-04-16 00:45:55 +03:00
alexey-milovidov
2b64a97e9b
Merge pull request #10291 from 4ertus2/bugs
...
Fix count(*) with multiple joins
2020-04-16 00:45:09 +03:00
alexey-milovidov
d296e1b6d7
Merge pull request #10216 from Avogar/msgpack_format
...
Update MsgPack format
2020-04-16 00:44:08 +03:00
Artem Zuikov
739daf3bbe
Merge branch 'master' into strange
2020-04-15 20:55:21 +03:00
Artem Zuikov
f08cdfcc4c
fix count(*) with multiple_joins_rewriter_version = 1
2020-04-15 20:47:08 +03:00
Alexander Kuzmenkov
08d9734fc0
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 20:16:56 +03:00
Nikolai Kochetov
234c4dbe84
Fix build.
2020-04-15 17:51:03 +03:00
Alexey Milovidov
fbe41a8ee6
Fix clang-tidy
2020-04-15 17:37:43 +03:00
Alexander Kuzmenkov
d15d6e1661
review fixes
2020-04-15 17:10:33 +03:00
alexey-milovidov
7b2c871c57
Merge pull request #10272 from ClickHouse/plus-infinity
...
Allow to parse +inf
2020-04-15 16:41:47 +03:00
alexey-milovidov
8c8a315bd8
Merge pull request #10271 from ClickHouse/remove-strange-code
...
Remove strange code in arrayIndex function
2020-04-15 16:41:18 +03:00
Alexander Kuzmenkov
2ee49c9d68
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 15:57:29 +03:00
Nikolai Kochetov
43e178abfb
Revert "dded more comments to AggregatingTransform."
...
This reverts commit 01e495d783
.
2020-04-15 14:04:38 +03:00
Nikolai Kochetov
95916e39cf
Added more comments to AggregatingTransform.
2020-04-15 13:57:42 +03:00
Nikolai Kochetov
01e495d783
dded more comments to AggregatingTransform.
2020-04-15 13:55:34 +03:00
Nikolai Kochetov
0c2d3417e2
Fix pipeline stuck with max_rows_to_group_by.
2020-04-15 13:18:52 +03:00
alesapin
e8cd92bba3
Fix debug build
2020-04-15 13:13:36 +03:00
Artem Zuikov
3d8562452d
remove more code
2020-04-15 13:07:16 +03:00
Nikolai Kochetov
153f795ebe
Merge branch 'master' into sorting-processors
2020-04-15 12:07:05 +03:00
alexey-milovidov
2a48b0ecd7
Merge pull request #10184 from xzkostyan/feature-zookeeper-ssl
...
Optional secured communication between ClickHouse and Zookeeper
2020-04-15 07:09:14 +03:00
alexey-milovidov
19c4968ca6
Update arrayIndex.h
2020-04-15 07:02:41 +03:00
Alexey Milovidov
738fef71f4
Allow to parse +inf #1839
2020-04-15 06:32:33 +03:00
Alexey Milovidov
eed2ea3b36
Remove strange code
2020-04-15 06:02:51 +03:00
alexey-milovidov
747bb16677
Merge pull request #10269 from ClickHouse/path-optional-scheme
...
Continuation of #6256
2020-04-15 05:47:51 +03:00
Alexey Milovidov
9667e1fb85
Fix clang-tidy
2020-04-15 05:46:36 +03:00
Alexey Milovidov
a4c2e9a599
Whitespace
2020-04-15 05:12:50 +03:00
Alexey Milovidov
ff817ae735
Remove debug output
2020-04-15 05:04:26 +03:00
Alexey Milovidov
fe59524481
Implemented in a different way
2020-04-15 04:59:14 +03:00
Alexey Milovidov
c22f91db01
Allow to pass quota_key in clickhouse-client
2020-04-15 04:15:05 +03:00
Alexey Milovidov
db9760af41
Continuation of #6256
2020-04-15 03:12:47 +03:00
Avogar
93c322bc30
Fix style error
2020-04-15 02:58:36 +03:00
alexey-milovidov
eef35bddc1
Merge pull request #10265 from ClickHouse/remove-useless-code-cast
...
Remove useless code
2020-04-15 02:33:34 +03:00
Avogar
b8061356b0
Update parsing method in MsgPackRowInputFormat
2020-04-15 02:08:55 +03:00
Alexey Milovidov
0c0218168a
Whitespaces
2020-04-15 01:25:31 +03:00
Alexey Milovidov
8ad04d4fec
Remove useless code
2020-04-15 00:05:45 +03:00
Alexander Kuzmenkov
03e00ac215
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 23:03:23 +03:00
Nikolai Kochetov
15a8ac3245
Fix tests.
2020-04-14 22:31:49 +03:00
Nikolai Kochetov
7def7b021e
Fix test with vesrioned collapsing.
2020-04-14 21:58:22 +03:00
Artem Zuikov
ee1b4a1a30
Fix and improve OneTypeMatcher ( #10253 )
2020-04-14 21:50:00 +03:00
Nikolai Kochetov
80c27689ff
Add debug output.
2020-04-14 21:22:14 +03:00
Nikolai Kochetov
92692aff5e
Fix build.
2020-04-14 21:03:29 +03:00
Alexander Kuzmenkov
1d3fe23b3b
review fixes
2020-04-14 20:41:06 +03:00
Andrey Skobtsov
396c9e4279
Fixed styling v2
2020-04-14 19:23:33 +03:00
Artem Zuikov
24f715ad87
tech debt
2020-04-14 17:43:09 +03:00
Andrey Skobtsov
f4f43ee8ab
Replaced some warnings with infos as perf events measurements are optional
2020-04-14 16:58:32 +03:00
Andrey Skobtsov
578faa01a7
Handle CAP_SYS_ADMIN
permission accordingly
2020-04-14 16:55:46 +03:00
Nikolai Kochetov
01945bf5d9
Fix style
2020-04-14 16:27:33 +03:00
Andrey Skobtsov
2f708fec03
Fixed compilation issues
2020-04-14 15:17:59 +03:00
Nikolai Kochetov
40a0f53a42
Remove SharedBlockPtr from MergingSortedBlockInputStream.
2020-04-14 14:32:38 +03:00
Nikolai Kochetov
ada3d4e67c
Remove StopCondition from MergingSortedBlockInputStream.
2020-04-14 14:26:03 +03:00
Nikolai Kochetov
e92827b954
Remove StopCondition from MergingSortedBlockInputStream.
2020-04-14 14:25:01 +03:00
Nikolai Kochetov
2da9f889cd
Fix unit test.
2020-04-14 14:09:23 +03:00
Nikolai Kochetov
1de7191aa3
U[date test
2020-04-14 13:49:46 +03:00
Nikolai Kochetov
c0a8def386
Fix build.
2020-04-14 13:35:17 +03:00
Nikolai Kochetov
edb3f2f3fc
Remove old code.
2020-04-14 13:23:16 +03:00
Nikolai Kochetov
12f4cfb2c7
Use processors for final.
2020-04-14 13:04:49 +03:00
Nikolai Kochetov
1ce2e1b93b
Move comments.
2020-04-14 12:43:53 +03:00
Nikolai Kochetov
fc42851186
Move comments.
2020-04-14 12:43:17 +03:00
Nikolai Kochetov
434a13a8bd
Move algorithm to separate files.
2020-04-14 12:21:24 +03:00
Nikolai Kochetov
71feedea6f
Remove some code.
2020-04-14 12:05:29 +03:00
Nikolai Kochetov
848026ac4c
Fix style.
2020-04-14 11:48:38 +03:00
alexey-milovidov
7587bd8cfc
Merge pull request #10239 from ClickHouse/fix-cancel-race-in-remote
...
Fix race after cancel of RemoteBlockInputStream.
2020-04-14 05:04:38 +03:00
Alexander Kuzmenkov
59e8230271
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 02:27:46 +03:00
alexey-milovidov
b8be585595
Merge pull request #10237 from ClickHouse/akz/mutations-to-correctly-handle-lambdas
...
ALTER UPDATE/DELETE on Replicated* storages: Fixed "Unknown function lambda." error
2020-04-14 01:32:38 +03:00
alexey-milovidov
9de981d8d3
Merge pull request #10052 from Vxider/mv_parallel_insert
...
Enable parallel INSERT for materialized view
2020-04-14 01:30:44 +03:00
alexey-milovidov
2219f05139
Merge pull request #10235 from ClickHouse/fix_range_hashed_ddl_dictionaries
...
Fix 'Cannot add column' in DDL dictionary
2020-04-14 01:28:24 +03:00
Konstantin Lebedev
a7c5f622ea
Add string_utils for tests/zookeeper_impl.cpp
2020-04-14 00:27:54 +03:00
Andrey Skobtsov
8650c19967
Fixed styling
2020-04-14 00:10:31 +03:00
Nikolai Kochetov
2543741a9a
Fix build.
2020-04-14 00:03:11 +03:00
Andrey Skobtsov
afaa7eca51
Merge branch 'master' into perf_events_metrics
...
# Conflicts:
# dbms/src/Common/ProfileEvents.cpp
2020-04-13 23:59:48 +03:00
Nikolai Kochetov
1ef6e8f7c7
Fix build.
2020-04-13 23:58:29 +03:00
Nikolai Kochetov
801320983b
Refactor SummingSortedAlgorithm.
2020-04-13 23:50:13 +03:00
Alexander Kazakov
d480707c12
Fixed clang build + tweaked comment
2020-04-13 23:02:44 +03:00
Avogar
e46322fcef
Update MsgPack input format.
2020-04-13 22:33:02 +03:00
Nikita Mikhaylov
89f80a6353
Merge branch 'master' into quorum_bug
2020-04-13 23:25:55 +04:00
Nikolai Kochetov
84b1dd4c1e
Fix tests.
2020-04-13 22:20:26 +03:00
Nikolai Kochetov
d7d29d8250
Fix build.
2020-04-13 22:02:57 +03:00
Alexander Tokmakov
b7d4bccc77
fix build
2020-04-13 22:02:13 +03:00
Nikolai Kochetov
586c295b94
Added SummingSortedAlgorithm
2020-04-13 21:51:17 +03:00
alexey-milovidov
45e85724a6
Update MutationsInterpreter.cpp
2020-04-13 21:33:25 +03:00
Artem Zuikov
6106b2bfc7
Merge branch 'master' into joins
2020-04-13 20:37:27 +03:00
Artem Zuikov
df01227bd2
move DictionaryReader code out of header
2020-04-13 20:36:07 +03:00
Alexander Kazakov
0aa4c85602
Fixed style checker complaint
2020-04-13 20:04:17 +03:00
Artem Zuikov
0b7ae2c2bf
working version
2020-04-13 20:03:11 +03:00
Nikolai Kochetov
eacc04fc5c
Fix race after cancel of RemoteBlockInputStream.
2020-04-13 19:33:15 +03:00
Nikita Mikhaylov
68e82c11e0
fix build
2020-04-13 18:58:29 +03:00
Alexander Tokmakov
6c0d9723e0
Merge branch 'master' into database_atomic
2020-04-13 18:47:47 +03:00
Alexander Tokmakov
d1024e76bd
fix
2020-04-13 18:46:36 +03:00
Ivan Lezhankin
910ab8a265
Move contrib/libpcg-random → base/pcg-random
2020-04-13 18:42:58 +03:00
Nikita Mikhaylov
441bb13d4a
better
2020-04-13 18:21:05 +03:00
Nikolai Kochetov
89aef7aaf9
Add comments.
2020-04-13 18:04:54 +03:00
Nikolai Kochetov
2b81d68b56
Fix build.
2020-04-13 17:58:23 +03:00
Nikolai Kochetov
9acea16b7f
Fix build.
2020-04-13 17:57:21 +03:00
Nikolai Kochetov
d3adcc1cb0
Fix build.
2020-04-13 17:53:04 +03:00
Nikolai Kochetov
377e16c00c
Refactor AggregatingSortedAlgorithm.
2020-04-13 17:42:58 +03:00
Alexander Kazakov
e05e2c7628
Fixed check for nondeterministic functions to handle lambdas correctly
2020-04-13 17:34:11 +03:00
alesapin
9cc7d0f06a
Fix 'Cannot add column' error while creating range_hashed dictionary using DDL queries
2020-04-13 17:34:01 +03:00
Nikolai Kochetov
9ce0607de7
Remove header from AggregatingSortedAlgorithm.
2020-04-13 16:40:53 +03:00
alexey-milovidov
396360cd90
Merge pull request #10209 from ClickHouse/akz/fix_segfault_in_system_tables
...
Fix N.P. segfault in StorageSystemTables for database engine "Lazy"
2020-04-13 16:33:27 +03:00
alexey-milovidov
d1c436788b
Merge pull request #10206 from ClickHouse/fix-limit-with-infinite-sources
...
Fix limit with infinite sources
2020-04-13 16:32:02 +03:00
alexey-milovidov
6de28bd5d6
Merge pull request #10222 from ClickHouse/system-log-refactoring
...
Small refactoring of SystemLogs
2020-04-13 16:27:54 +03:00
Nikolai Kochetov
0544c1f25b
Fix build.
2020-04-13 16:26:50 +03:00
alexey-milovidov
eedb5a3e3d
Merge pull request #10218 from ClickHouse/fix-generate-random-date
...
Fixed "generateRandom" function for Date type
2020-04-13 16:26:08 +03:00
Nikolai Kochetov
5efdf1203e
Fix build.
2020-04-13 16:22:32 +03:00
Nikolai Kochetov
a2b5fd4b3d
Fix build.
2020-04-13 16:18:46 +03:00
Artem Zuikov
12ca9f5912
disable alwaysReturnsEmptySet() for HashJoin over dictionary
2020-04-13 15:32:45 +03:00
Nikita Mikhaylov
d5c055ab03
remove logs
2020-04-13 15:13:13 +03:00
Nikolai Kochetov
a6bf7a14c8
Fix build.
2020-04-13 15:02:59 +03:00
Nikolai Kochetov
03dad5ccf5
Added AggregatingSortedAlgorithm.
2020-04-13 14:45:59 +03:00
Nikolai Kochetov
9a9bedc8cc
Fix test for streams.
2020-04-13 12:02:50 +03:00
Nikolai Kochetov
29fc8f145b
Fix tests in debug.
2020-04-13 11:50:14 +03:00
Alexey Milovidov
c7eaaaf7fe
Small refactoring of SystemLogs
2020-04-13 04:33:05 +03:00
alexey-milovidov
6eed76d5fb
Merge pull request #10217 from ClickHouse/convert-types-in-views
...
Convert types in Views
2020-04-13 02:24:02 +03:00
alexey-milovidov
8f040683e4
Merge pull request #10214 from ClickHouse/fix-parse-date-time-best-effort-rfc-2822-tue-thu
...
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Tuesday or Thursday
2020-04-13 02:23:21 +03:00
Alexey Milovidov
8ad89a82d4
Support Nested types in "generateRandom"
2020-04-13 02:08:32 +03:00
Alexey Milovidov
860e9092f1
Fixed another inconsistency in partition names
2020-04-13 01:25:41 +03:00
Alexey Milovidov
4788eb3423
Make the assertion in code consistent with the real partition expression
2020-04-13 01:00:03 +03:00
Alexey Milovidov
3215257a90
Fixed "generateRandom" function for Date type #9973
2020-04-13 00:27:11 +03:00
Alexey Milovidov
983950d4ec
Convert types in Views
2020-04-13 00:07:11 +03:00
Avogar
b9931863ef
Fix FixedString packing
2020-04-13 00:01:17 +03:00
alexey-milovidov
bc00e6463a
Merge pull request #10053 from azat/log_queries_type
...
Add log_queries_min_type to filter which entries will be written to query_log
2020-04-12 23:37:42 +03:00
Alexey Milovidov
20dcc4decd
Fixed build on FreeBSD according to the advice from Vitaly @hellvesper
2020-04-12 23:05:58 +03:00
alexey-milovidov
3f1658c0e9
Update parseDateTimeBestEffort.cpp
2020-04-12 22:35:23 +03:00
Alexey Milovidov
142087c4f7
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Thuesday or Thursday #10082
2020-04-12 22:34:04 +03:00
Alexey Milovidov
8cb4dd275a
Remove default argument (harmful) #10082
2020-04-12 22:23:59 +03:00
alexey-milovidov
718e4bcdf8
Update IProcessor.h
2020-04-12 22:01:02 +03:00
Alexander Tokmakov
20e6593f96
disable by default
2020-04-12 21:52:59 +03:00
Alexander Kazakov
2eb2e4cf41
Added proper nullptr check
2020-04-12 20:17:41 +03:00
Alexey Milovidov
ec4889e43e
Remove debug output
2020-04-12 19:21:07 +03:00
Alexey Milovidov
6de712f0f4
Fix joined constants, development
2020-04-12 19:21:07 +03:00
Alexey Milovidov
d4a3ef2fdc
Fixed wrong code (no changes in behaviour)
2020-04-12 19:16:02 +03:00
Nikolai Kochetov
bff1f24cf7
Added IProcessor::onUpdatePorts
2020-04-12 18:21:21 +03:00
Nikolai Kochetov
4da19d122d
Added IProcessor::onUpdatePorts
2020-04-12 18:02:17 +03:00
Nikolai Kochetov
82ef20d6dc
Fix build.
2020-04-12 17:17:34 +03:00
Alexander Tokmakov
5e6d4b9449
Merge branch 'master' into database_atomic
2020-04-12 16:35:44 +03:00
Azat Khuzhin
365b5207b7
Add log_queries_min_type to filter which entries will be written to query_log
...
Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
2020-04-12 10:46:36 +03:00
alexey-milovidov
b888c867b3
Merge pull request #10026 from CurtizJ/speedup-index
...
Improve performance of index analysis with monotonic functions [2].
2020-04-12 06:37:26 +03:00
Alexey Milovidov
ca5172cc63
Merging #10094
2020-04-12 06:25:47 +03:00
Alexey Milovidov
c64aa011ba
Merge branch 'jgon' of https://github.com/amosbird/ClickHouse into amosbird-jgon
2020-04-12 06:21:00 +03:00
alexey-milovidov
a2418f94df
Update HashJoin.cpp
2020-04-12 06:19:13 +03:00
alexey-milovidov
d6544159ba
Update HashJoin.cpp
2020-04-12 06:18:21 +03:00
Alexey Milovidov
d43903211a
Better exception message #9810
2020-04-12 05:51:56 +03:00
alexey-milovidov
791d2bc91e
Merge pull request #10198 from ClickHouse/add-function-is-constant
...
Add function "isConstant"
2020-04-12 05:44:22 +03:00
Alexey Milovidov
f8e1f1b69b
Fix wrong whitespaces in debug output
2020-04-12 05:06:58 +03:00
Alexey Milovidov
813a09f75a
Merge branch 'master' of github.com:yandex/ClickHouse
2020-04-12 05:05:45 +03:00
Alexey Milovidov
01bc88a851
Fix wrong whitespaces in debug output
2020-04-12 05:05:30 +03:00
alexey-milovidov
0cc91b9cab
Merge pull request #10196 from azat/Distributed-GLOBAL-IN
...
Allow literals for GLOBAL IN
2020-04-12 04:39:32 +03:00
alexey-milovidov
716ddc4580
Update isConstant.cpp
2020-04-12 04:26:11 +03:00
Alexey Milovidov
754967bde6
Add function "isConstant"
2020-04-12 04:24:00 +03:00
alexey-milovidov
78316f027a
Merge pull request #10195 from ClickHouse/fix-array-join-prewhere
...
Fix move-to-prewhere optimization in presense of arrayJoin functions.
2020-04-12 03:53:55 +03:00
alexey-milovidov
9203db0ad5
Merge pull request #10140 from BohuTANG/20200409_bug_fix_mysql_handshake_scramble
...
Fix scramble issue for native mysql-connector-java(JDBC)
2020-04-12 03:53:19 +03:00
Alexey Milovidov
dec3e0f986
Make least and greatest functions case insensitive for compatibility with MySQL
2020-04-12 03:38:25 +03:00
Azat Khuzhin
194dcc01fb
Allow literals for GLOBAL IN
2020-04-12 02:48:55 +03:00
alexey-milovidov
0782052768
Merge pull request #10131 from ClickHouse/fix-extremes-for-processors
...
Fix extremes for processors
2020-04-12 02:31:39 +03:00
alexey-milovidov
f5fc3b1e71
Merge pull request #10085 from achimbab/transform_null_in
...
transform_null_in option to test NULL values at the IN-Operator.
2020-04-12 02:01:54 +03:00
alexey-milovidov
2adeabd3c7
Update Settings.h
2020-04-12 01:58:45 +03:00
Alexey Milovidov
cf9f00644e
Fix the issue with arrayJoin and PREWHERE optimization #10092
2020-04-12 01:13:06 +03:00
Alexey Milovidov
121bf7b8c2
Whitespace #9968
2020-04-12 00:37:19 +03:00
alexey-milovidov
f472535f54
Merge pull request #9968 from Enmk/SIMD_tokenization
...
Splitting string into Alpha-Num tokens with SIMD intrinsics.
2020-04-12 00:33:29 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in
2020-04-11 23:15:54 +03:00
alexey-milovidov
3e110d8237
Merge pull request #10192 from vitlibar/always-replace-empty-database-with-current
...
Fix using the current database for access checking
2020-04-11 23:10:16 +03:00
alexey-milovidov
a4969d89f9
Merge pull request #10164 from azat/system.tables-superfluous-dict-reload
...
Avoid superfluous dictionaries load
2020-04-11 23:05:56 +03:00
alexey-milovidov
cd979d7997
Merge pull request #10130 from CurtizJ/polymorphic-parts
...
Fix some kinds of alters with compact parts
2020-04-11 23:02:48 +03:00
alexey-milovidov
a7ecacc8b0
Merge pull request #10186 from filimonov/setting_allow_nondeterministic_mutations
...
allow_nondeterministic_mutations
2020-04-11 22:56:06 +03:00
Vitaly Baranov
2e55d44e57
Fix using the current database for access checking when the database isn't specified.
2020-04-11 20:13:56 +03:00
Alexander Tokmakov
8b6c836720
fix
2020-04-11 18:38:41 +03:00
Vitaly Baranov
18fbd968ba
Merge pull request #10165 from azat/drop-dictionary-as-table
...
Do not break DROP DICTIONARY with DROP TABLE
2020-04-11 14:49:41 +03:00
Ivan
67235834b3
Update libdivide to v3.0 ( #10169 )
2020-04-11 14:14:01 +03:00
Azat Khuzhin
55a143d1a5
Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
...
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict
But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00
Vitaly Baranov
e86f549103
Merge pull request #10181 from vitlibar/revert-resetting-settings-in-tcp-handler
...
Revert resetting settings in TCPHandler
2020-04-11 07:46:23 +03:00
Alexander Tokmakov
f0edb65e33
add test
2020-04-11 02:02:15 +03:00
Konstantin Lebedev
c9542b6601
Style fixes for communication between ClickHouse and Zookeeper over SSL
2020-04-11 01:09:14 +03:00
Nikita Mikhaylov
a8d72d01c3
mvp fix
2020-04-11 00:29:54 +03:00
alexey-milovidov
25236d3544
Merge branch 'master' into setting_allow_nondeterministic_mutations
2020-04-10 23:58:46 +03:00
alexey-milovidov
330d138106
Update Settings.h
2020-04-10 23:58:13 +03:00
Mikhail Filimonov
2f5b4b0f9b
Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting.
2020-04-10 22:01:10 +02:00
Azat Khuzhin
5b3c635200
Do not break DROP DICTIONARY after DROP TABLE executed on dictionary
2020-04-10 21:10:32 +03:00
Vitaly Baranov
ca634f603a
Revert resetting the settings to their defaults after each query in TCPHandler.
2020-04-10 21:09:59 +03:00
Alexey Milovidov
39bbc1071b
Fix typo
2020-04-10 20:23:51 +03:00
Nikolai Kochetov
198f02d4cf
Try simplify Replacing.
2020-04-10 20:22:15 +03:00
Nikolai Kochetov
ca8c78bfa2
Try simplify Replacing.
2020-04-10 20:19:44 +03:00
Nikolai Kochetov
44a3e216d1
Try simplify Replacing.
2020-04-10 20:16:38 +03:00
Nikolai Kochetov
ba840b5a59
Added VersionedCollapsingAlgorithm.
2020-04-10 19:44:47 +03:00
Nikolai Kochetov
2fa40ad554
Fix build.
2020-04-10 19:18:53 +03:00
Nikolai Kochetov
864e0a407f
Added GraphiteRollupSortedAlgorithm.
2020-04-10 19:15:51 +03:00
Nikolai Kochetov
f35a8bf351
Fix style.
2020-04-10 18:41:22 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
Nikolai Kochetov
994f95ddb0
Added ReplacingSortedAlgorithm.
2020-04-10 17:03:36 +03:00
Nikolai Kochetov
123c654db3
Fix build.
2020-04-10 16:41:00 +03:00
Anton Popov
d018977f4b
fix 'ALTER CLEAR INDEX/COLUMN' queries with compact parts
2020-04-10 16:36:51 +03:00
Nikolai Kochetov
51e5603044
Fix build.
2020-04-10 16:03:37 +03:00
Nikolai Kochetov
e9587b8f4c
Fix build.
2020-04-10 15:53:51 +03:00
Nikolai Kochetov
d46c228b9c
Fix build.
2020-04-10 15:47:30 +03:00
Nikolai Kochetov
7b85a36975
Added CollapsingSortedAlgorithm.
2020-04-10 15:40:16 +03:00
Artem Zuikov
9901bf0f6e
fix column size in KeyGetterForDict
2020-04-10 14:03:08 +03:00
Artem Zuikov
ba50519af8
workaround for function resolver
2020-04-10 13:28:44 +03:00
Nikolai Kochetov
2aba662d2c
Fix build.
2020-04-10 12:32:34 +03:00
Nikolai Kochetov
97158f7656
Fix build.
2020-04-10 12:30:53 +03:00
Nikolai Kochetov
978576d0c5
Move Graphite params to separate file.
2020-04-10 12:25:52 +03:00
Nikolai Kochetov
71c72a75d7
Move Graphite params to separate file.
2020-04-10 12:24:16 +03:00
Nikolai Kochetov
16137068b2
Move Graphite params to separate file.
2020-04-10 12:22:51 +03:00
Nikolai Kochetov
27f3d2711a
Move Graphite params to separate file.
2020-04-10 12:20:43 +03:00
Nikolai Kochetov
868f7e9aea
Move Graphite params to separate file.
2020-04-10 12:16:23 +03:00
Nikolai Kochetov
1b6d80bfae
Merge branch 'master' into sorting-processors
2020-04-10 12:07:21 +03:00
Nikolai Kochetov
f7fdfe4ed2
Fix build.
2020-04-10 12:04:56 +03:00
Nikolai Kochetov
fc605d411d
Added IMergingAlgorithm.
2020-04-10 12:04:28 +03:00
Nikolai Kochetov
2ce753a316
Fix tests.
2020-04-10 12:04:28 +03:00
Nikolai Kochetov
cbd1f6a524
Added comments.
2020-04-10 12:04:28 +03:00
Nikolai Kochetov
f96a5fe923
Fix build,
2020-04-10 12:04:50 +03:00
Nikolai Kochetov
71fab516f2
Fix AggregatingSorted for simple aggregate functions.
2020-04-10 12:04:34 +03:00
Nikolai Kochetov
fe442d8c9a
Remove special case for simple input in IMergingTransform.
2020-04-10 12:04:28 +03:00
Nikolai Kochetov
8726ad9e3b
Try fix collapsing.
2020-04-10 12:04:28 +03:00
Nikolai Kochetov
d3acce8afa
Fix build.
2020-04-10 12:04:28 +03:00
Alexander Kazakov
497df3086f
Merge branch 'master' into timed_rwlock
...
Change-Id: I620bfde2121ff013773b001d514b40b1e796a58b
2020-04-10 11:38:20 +03:00
philip.han
7fa5afecb4
Support transform_null_in option for StorageSet
2020-04-10 14:42:36 +09:00
philip.han
c39e3a51ad
Fix Set::insertFromBlockImplCase()
2020-04-10 12:30:54 +09:00
BohuTANG
87cc8de8e2
Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble
2020-04-10 11:10:41 +08:00
Alexander Tokmakov
50decc755d
fix rename materialized view
2020-04-10 04:35:37 +03:00
Alexander Tokmakov
03ed9d59b0
add symlinks
2020-04-10 03:08:43 +03:00
Alexander Tokmakov
58067438cd
add fallback for renameat2
2020-04-10 01:23:03 +03:00
alexey-milovidov
4a73fe7477
Merge pull request #9889 from Avogar/msgpack_format
...
Msgpack format
2020-04-10 00:07:10 +03:00
Артем Стрельцов
cd2eac9f93
codestyle fixed
2020-04-09 23:52:53 +03:00
alexey-milovidov
a85d35f31c
Merge pull request #10049 from azat/show-create-table-multiline
...
Make SHOW CREATE TABLE multiline
2020-04-09 23:30:56 +03:00
Alexander Kazakov
0accd2908c
Fix up styler's grudge
2020-04-09 23:11:20 +03:00
Artem Zuikov
0cd49d746f
several fixes
2020-04-09 23:00:57 +03:00
Alexander Kazakov
26dd6140b2
Added new config settings to control timeouts
...
* "lock_acquire_timeout" controls for how long a query will continue to
acquire each lock on its argument tables
* "lock_acquire_timeout_for_background_operations" is a per-table
setting for storages of *MergeTree family
2020-04-09 21:10:27 +03:00
Anton Popov
76cf9b7f03
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-04-09 20:16:45 +03:00
Artem Zuikov
10aad52278
fix crash
2020-04-09 17:38:32 +03:00
Артем Стрельцов
3c4ac2f04c
minor changes
2020-04-09 17:38:01 +03:00
Артем Стрельцов
a5ac19bf1a
deleted debug output
2020-04-09 17:33:59 +03:00
Артем Стрельцов
5a70a77c4a
Merge branch 'master' into direct_queries
2020-04-09 17:29:37 +03:00
Nikolai Kochetov
9f5a40e700
Added comment.
2020-04-09 13:35:51 +03:00
Artem Zuikov
9f0db4dfef
Merge branch 'master' into joins
2020-04-09 11:53:18 +03:00
philip.han
3149f75430
Replace a reference for Context with a copied bool value.
2020-04-09 17:27:55 +09:00
Vitaly Baranov
12336a9ece
Use "CREATE USER HOST REGEXP" instead of "CREATE USER HOST NAME REGEXP".
2020-04-09 10:22:51 +03:00
Vitaly Baranov
f0d3547b8f
Parser can parse "ON CLUSTER" in other places of SQL commands too.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
4d93577791
PREWHERE can be used now by user without row filtering.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
d992e408d8
Disable creating row policies for insert, update, delete because those filters are not supported.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
d548c7e381
Simplify DCL for creating quotas.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
23ac1ee87c
readonly user now can execute SHOW CREATE for access entities.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
36a5b57ac4
Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent".
2020-04-09 10:22:51 +03:00
Nikolai Kochetov
ae6267070e
Fix style.
2020-04-09 09:28:13 +03:00
alexey-milovidov
cb6c860d89
Update MySQLProtocol.h
2020-04-09 06:25:20 +03:00
alexey-milovidov
ccf5cb2a66
Update MySQLProtocol.h
2020-04-09 06:24:09 +03:00
BohuTANG
691fe42586
Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble
2020-04-09 10:59:04 +08:00
alexey-milovidov
6ff4c3aa16
Merge pull request #10135 from azat/distributed-insert-converting
...
Convert blocks if structure does not match on INSERT into Distributed()
2020-04-09 05:51:36 +03:00
BohuTANG
e544edd726
Fix random scramble using seperator character issue during MySQL handshakes
2020-04-09 09:43:02 +08:00
Alexander Tokmakov
140cd88c20
fixes
2020-04-09 02:59:39 +03:00
Alexey Milovidov
540e9f7d0d
Fix logged number of inserted rows into ReplicatedMergeTree
2020-04-09 01:58:15 +03:00
Konstantin Lebedev
b666f60af8
Optional secured communication between ClickHouse and Zookeeper
2020-04-09 01:40:54 +03:00
Azat Khuzhin
6d85207bfb
Convert blocks if structure does not match on INSERT into Distributed()
...
Follow-up for: #10105
2020-04-08 23:46:01 +03:00
alexey-milovidov
db4270b60c
Merge pull request #10077 from zhang2014/fix/ISSUES-10056
...
ISSUES-10056 support identifier argument for MySQL Database engine
2020-04-08 22:59:09 +03:00
Artem Zuikov
ab12ebb5cf
add allowDictJoin()
2020-04-08 22:58:27 +03:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
...
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
alexey-milovidov
9a00eca1c5
Merge pull request #10121 from ClickHouse/fix_adaptive_granularity_compatibility
...
Fix adaptive granularity compatibility
2020-04-08 22:50:09 +03:00
alexey-milovidov
c389fee7e7
Update StorageReplicatedMergeTree.cpp
2020-04-08 22:48:01 +03:00
alexey-milovidov
80b73a209b
Merge pull request #10107 from ClickHouse/fix-globs-test
...
Fix unit test in debug build.
2020-04-08 22:46:44 +03:00
alexey-milovidov
de2fb3ea17
Merge pull request #10108 from ClickHouse/thread-fuzzer-disable-under-thread-memory-sanitizer
...
ThreadFuzzer: do not wrap pthread functions under thread and memory sanitizers
2020-04-08 22:46:07 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
Artem Zuikov
8d6f641796
join over dictionary concept
2020-04-08 21:59:52 +03:00
Nikolai Kochetov
458c7f516d
Fix extremes for Processors.
2020-04-08 21:50:14 +03:00
Pavel Kovalenko
0ea0daa194
Merge remote-tracking branch 'origin/master' into replicated-merge-tree-s3
2020-04-08 21:47:17 +03:00
zhang2014
9eb96b87db
ISSUES-10056 reused evaluateConstantExpressionOrIdentifierAsLiteral
2020-04-09 01:31:28 +08:00
zhang2014
9ed708b902
ISSUES-10056 add some check and support identifier argument for MySQL Database Engine
2020-04-09 01:31:27 +08:00
Anton Popov
c8c4dc8104
fix 'ALTER MODIFY COLUMN' with compact parts
2020-04-08 19:20:52 +03:00
Amos Bird
f1cb928737
more monotonicity for toString()
2020-04-08 20:13:44 +08:00
Pavel Kovalenko
3603c98c81
Move gtest for S3 URI to proper folder.
2020-04-08 14:59:24 +03:00
Pavel Kovalenko
89fe81ed62
Integration test for ReplicatedMergeTree over S3 fixes.
2020-04-08 14:56:31 +03:00
Pavel Kovalenko
bc349a563a
Merge branch 'master' into replicated-merge-tree-s3
2020-04-08 13:53:30 +03:00
alesapin
ded306f016
Fix adaptive granularity compatibility
2020-04-08 12:51:04 +03:00
Pavel Kovalenko
9b1c5c8b51
Fix regex for S3 URI to pass clang-tidy check.
2020-04-08 11:44:26 +03:00
Pavel Kovalenko
5b2b8d38fa
Download part trough disk interface.
2020-04-08 11:41:13 +03:00
Azat Khuzhin
3116b2d29b
Make SHOW CREATE TABLE multiline (because it more readable and also mysql like)
2020-04-08 10:26:40 +03:00
Amos Bird
0b5cc80580
joinGetOrNull
2020-04-08 11:01:08 +08:00
alexey-milovidov
a46a61c970
Update KeyCondition.h
2020-04-08 05:56:25 +03:00
alexey-milovidov
a42d875a68
Update KeyCondition.h
2020-04-08 05:55:39 +03:00
alexey-milovidov
723a1f41e2
Update KeyCondition.h
2020-04-08 05:55:22 +03:00
alexey-milovidov
94a621060d
Update KeyCondition.h
2020-04-08 05:55:03 +03:00
alexey-milovidov
a6194364ea
Update MergeTreeDataSelectExecutor.cpp
2020-04-08 05:54:08 +03:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
...
RBAC-8
2020-04-08 05:47:55 +03:00
alexey-milovidov
dd333460d6
Merge pull request #10068 from ClickHouse/fix_check_table_with_index
...
Fix bug with uncompressed checksums in CHECK TABLE query
2020-04-08 05:37:18 +03:00
alexey-milovidov
dad892e9d4
Merge pull request #10105 from azat/distributed-insert-types-differs
...
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 05:36:02 +03:00
Alexey Milovidov
97c2d17e99
ThreadFuzzer: do not wrap pthread functions under thread and memory sanitizers
2020-04-08 05:32:33 +03:00
Anton Popov
cbdc3ef214
Merge remote-tracking branch 'upstream/master' into speedup-index
2020-04-08 04:15:48 +03:00
alexey-milovidov
bcb2899b0d
Merge pull request #10104 from ClickHouse/adjust-collisions-weak-hash
...
Remove unwanted output from unit tests
2020-04-08 04:10:08 +03:00
Alexey Milovidov
f8500cf5d5
Fix unit test
2020-04-08 04:09:01 +03:00
Alexander Tokmakov
135197aa75
fixes
2020-04-08 04:02:00 +03:00
alexey-milovidov
401c52524b
Merge pull request #9998 from Jokser/s3-uri-virtual-hosted-style-support
...
Virtual hosted-style support for S3 URI
2020-04-08 03:51:28 +03:00
alexey-milovidov
37fe63f8d8
Update S3Common.cpp
2020-04-08 03:49:09 +03:00
alexey-milovidov
09a397a68f
Merge pull request #9997 from azat/dist-on-dist-fixes
...
Fix Distributed-over-Distributed with one only shard in nested table
2020-04-08 03:45:29 +03:00
alexey-milovidov
ebe9ae4fab
Update StorageMerge.cpp
2020-04-08 03:45:11 +03:00
alexey-milovidov
1b704425b6
Update StorageBuffer.cpp
2020-04-08 03:42:47 +03:00
alexey-milovidov
a29393821d
Merge pull request #10099 from ClickHouse/fix-9826
...
Fix 9826
2020-04-08 02:41:11 +03:00
Azat Khuzhin
b2fa9d8750
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 02:35:31 +03:00
alexey-milovidov
c079fd7f1b
Merge pull request #10064 from ClickHouse/small_fixes_in_dict_parser
...
Small fixes in dictionaries DDL parser
2020-04-08 02:22:20 +03:00
alexey-milovidov
7212efbfbf
Merge pull request #10103 from ClickHouse/fix-zk-multi-async-flacky
...
Make the test "zk_multi_async" less flacky
2020-04-08 02:15:43 +03:00
alexey-milovidov
7bef5a6edb
Update checkDataPart.cpp
2020-04-08 02:13:53 +03:00
alexey-milovidov
491f4b2c60
Merge pull request #10071 from ClickHouse/add_conversion_stream
...
Add converting stream to localhost clickhouse dict
2020-04-08 02:13:17 +03:00
Vitaly Baranov
d6fa8d1aad
Merge pull request #10101 from vitlibar/external-loader-remove-useless-logging
...
Remove useless logging from ExternalLoader.
2020-04-08 02:12:50 +03:00
alexey-milovidov
d20dfea6ed
Merge pull request #10095 from ClickHouse/fix_replica_start_from_old_version
...
Fix replicated tables startup when updating from old version
2020-04-08 02:11:12 +03:00
alexey-milovidov
115dd1b5fe
Merge pull request #9989 from ClickHouse/globs-in-paths-leading-zeros
...
Fix behaviour of globs in filepath with leading zeros
2020-04-08 00:49:27 +03:00
Alexey Milovidov
78b0bb6a3f
Remove unwanted output from unit tests
2020-04-08 00:38:31 +03:00
Vitaly Baranov
e573549945
Rework access rights for table functions.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
42b8ed3ec6
Implement "ON CLUSTER" clause for access control SQL.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
b77e0a5b4e
Avoid writing "HOST ANY" if the host is any by default.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
d0af31bbcf
Use ALTER USER DROP HOST instead of ALTER USER REMOVE HOST for consistency.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
d064ddfe13
Disable MemoryAccessStorage.
2020-04-07 23:31:59 +03:00
Alexey Milovidov
ccec944ff4
Fix flacky test, take 3
2020-04-07 23:21:43 +03:00
Vitaly Baranov
423fa5087a
Add SHOW_USERS(SHOW ROLES, etc.) privileges.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
b4d7ef390c
Rename some access types: add ALTER and SYSTEM prefixes.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
f53b4ad3a8
Replace access types "TRUNCATE_VIEW" and "TRUNCATE_TABLE" with "TRUNCATE".
2020-04-07 23:20:38 +03:00
Vitaly Baranov
e5d8f05251
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
c2f5e3c4ad
Improve declaration of access rights: single place in code instead of three.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
d8b76232fe
Remove useless logging from ExternalLoader.
2020-04-07 21:39:34 +03:00
Nikolai Kochetov
6b5b22cc5c
Fix build.
2020-04-07 20:53:14 +03:00
Nikolai Kochetov
2704d81aae
Fix pipeline expansion in PipelineExecutor.
2020-04-07 20:38:48 +03:00
alexey-milovidov
ead277b717
Update StorageReplicatedMergeTree.cpp
2020-04-07 20:23:26 +03:00
alexey-milovidov
2654f131cc
Update checkDataPart.cpp
2020-04-07 20:08:46 +03:00
alesapin
27777c1d2b
Better comment
2020-04-07 18:55:23 +03:00
Alexander Tokmakov
4c48b7dd80
better rename
2020-04-07 18:31:33 +03:00
alesapin
82a87bc0d2
Fix replicated tables startup when updating from old version
2020-04-07 18:28:29 +03:00
Alexander Kuzmenkov
385e8839dc
Quote expected strings in parse error messages
2020-04-07 17:15:14 +03:00
Olga Khvostikova
834e458f26
Fix behaviour of globs in filepath with leading zeros
2020-04-07 16:46:12 +03:00
alesapin
0d7cff2b25
Merge branch 'master' into fix_check_table_with_index
2020-04-07 16:36:09 +03:00
alesapin
33c2587213
Merge branch 'master' into add_conversion_stream
2020-04-07 16:35:40 +03:00
alesapin
06f135ee8d
Merge branch 'master' into small_fixes_in_dict_parser
2020-04-07 16:35:16 +03:00
Nikita Mikhaylov
626856deff
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-07 15:40:55 +03:00
alesapin
f1e0f15556
Merge pull request #9948 from ClickHouse/alter_rename_column
...
Alter rename column
2020-04-07 15:28:00 +03:00
Nikita Mikhaylov
3bf67b1380
typo
2020-04-07 15:02:07 +03:00
alesapin
9bc0ab2eed
Merge branch 'master' into small_fixes_in_dict_parser
2020-04-07 14:59:08 +03:00
alesapin
d0bed6b204
Merge branch 'master' into fix_check_table_with_index
2020-04-07 14:58:45 +03:00
alesapin
5f3bcf198b
Merge branch 'master' into add_conversion_stream
2020-04-07 14:57:58 +03:00
Alexander Kazakov
621d26bcf7
Better timeout diagnostics message
2020-04-07 14:34:35 +03:00
philip.han
53b5dade5e
Implement transform_null_in
2020-04-07 20:08:13 +09:00
Nikita Mikhaylov
70c0646942
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-07 13:42:48 +03:00
Artem Zuikov
8297683972
renames: AnalyzedJoin -> TableJoin, Join -> HashJoin ( #10065 )
2020-04-07 12:48:47 +03:00
Alexander Kazakov
78f97a7a59
Build fixes
2020-04-07 12:23:08 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD ( #9643 )
...
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Vasily Nemkov
ef07c6d06f
Merge remote-tracking branch 'upstream/master' into SIMD_tokenization
2020-04-07 11:25:52 +03:00
Alexander Kazakov
2e76e4d1ed
Made clang happy - fixed build
2020-04-07 10:15:59 +03:00
Alexander Kuzmenkov
35783af25d
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-07 03:34:39 +03:00
Alexander Kazakov
081187dd1f
Unit test for RWLock is set to use timeout for avoiding deadlocks
2020-04-07 03:06:48 +03:00
Alexander Kazakov
09ce548376
All locks in IStorage have timeouts now
2020-04-07 02:45:51 +03:00
Alexander Kazakov
b98bc9afef
Reworked RWLockImpl::getLock() + phase-fairness
...
Timeout param added to getLock() method
2020-04-07 02:44:45 +03:00
Alexander Tokmakov
a2101c9b1c
better code
2020-04-07 02:22:44 +03:00
Alexander Kazakov
2951ed4f1d
Corrected Common.RWLockDeadlock test
2020-04-07 00:35:20 +03:00
Nikita Mikhaylov
2cec261f3a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-06 23:15:11 +03:00
alesapin
107c5b7860
Merge pull request #10063 from ClickHouse/fix-GroupingAggregatedTransform-single-level
...
Fix GroupingAggregatedTransform for single-level aggregation. Add test.
2020-04-06 22:13:15 +03:00
alesapin
04e3e3179c
Add converting stream to localhost clickhouse dict
2020-04-06 22:09:39 +03:00
Vasily Nemkov
738e8a7ef8
Minor test refactoring
...
* using string literal for binary strings
* sorted includes
2020-04-06 21:41:11 +03:00
Nikolai Kochetov
4fd5ef8bad
Review fixes.
2020-04-06 21:05:45 +03:00
tavplubix
ea376b9739
Merge pull request #10054 from azat/detachDatabase-on-fail-at-start-deadlock
...
Fix deadlock on failed database attach at start with materialized view
2020-04-06 20:37:39 +03:00
Vasily Nemkov
3d471556fb
Merge commit '73b0f8db8c327a1d63cc7ebcc56087a3f9866dae' into SIMD_tokenization
2020-04-06 20:05:02 +03:00
alesapin
c17fa34fa5
Fix bug with uncompressed checksums in CHECK TABLE query
2020-04-06 20:00:29 +03:00
alesapin
4be263c72f
Clang-tidy fix
2020-04-06 17:43:36 +03:00
Artem Zuikov
174136a1e0
inflating cross join ( #10029 )
2020-04-06 16:39:57 +03:00
Anton Popov
2dc1eddfab
fix FieldRef
2020-04-06 16:35:11 +03:00
Nikolai Kochetov
8986cf688b
Added comment.
2020-04-06 16:28:46 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
alesapin
848678d656
Now layout type for dictionaries DDL with no arguments can be written without brackets
2020-04-06 14:02:17 +03:00
Anton Popov
5ada959853
improve performance of index analysis with monotonic functions
2020-04-06 13:37:34 +03:00
Anton Popov
79024d73a2
improve performance of index analysis with monotonic functions
2020-04-06 13:37:34 +03:00
Nikolai Kochetov
0117c194c5
Fix GroupingAggregatedTransform for single-level aggregation. Add test.
2020-04-06 13:33:59 +03:00
Pavel Kovalenko
8c1dda0105
Merge remote-tracking branch 'jokser/s3-uri-virtual-hosted-style-support' into s3-uri-virtual-hosted-style-support
2020-04-06 12:59:59 +03:00
Pavel Kovalenko
f9c98dd689
Merge remote-tracking branch 'origin/master' into s3-uri-virtual-hosted-style-support
2020-04-06 12:57:53 +03:00
alesapin
dd5ddf19d9
Rename missed files
2020-04-06 11:55:59 +03:00
alesapin
1cb072d58a
Merge branch 'master' into alter_rename_column
2020-04-06 11:40:27 +03:00
Alexey Milovidov
110eb599c1
Fix "check style" tool
2020-04-06 02:57:24 +03:00
Azat Khuzhin
e7bbd400c7
Fix deadlock on failed database attach at start with materialized view
...
This is not the problem for plain DROP DATABASE query since it first
remove tables.
(gdb) bt
0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
1 0x00007f353c262774 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../nptl/pthread_mutex_lock.c:80
2 0x0000000004fd5d1e in DB::pthread_mutex_lock (arg=arg@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../src/Common/ThreadFuzzer.cpp:253
3 0x000000000c70b3a9 in std::__1::__libcpp_mutex_lock (__m=__m@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/include/__threading_support:322
4 std::__1::mutex::lock (this=this@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/src/mutex.cpp:33
5 0x0000000008acd4e2 in std::__1::lock_guard<std::__1::mutex>::lock_guard (__m=..., this=<synthetic pointer>) at ../contrib/libcxx/include/__mutex_base:90
6 DB::DatabaseCatalog::removeDependency (this=this@entry=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, from=..., where=...) at ../src/Interpreters/DatabaseCatalog.cpp:388
7 0x000000000975044b in DB::StorageMaterializedView::shutdown (this=0x7f338d178a00) at ../src/Storages/StorageMaterializedView.cpp:362
8 0x0000000008a79602 in DB::DatabaseWithOwnTablesBase::shutdown (this=0x7f353be3cc60) at ../contrib/libcxx/include/__tree:184
9 0x0000000009546196 in DB::DatabaseWithDictionaries::shutdown (this=0x7f353be3cc60) at ../src/Databases/DatabaseWithDictionaries.cpp:265
10 0x0000000008acecdb in DB::DatabaseCatalog::detachDatabase (this=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, database_name=..., drop=drop@entry=false, check_empty=check_empty@entry=false) at ../contrib/libcxx/include/memory:3826
11 0x0000000004bf0aa5 in DB::InterpreterCreateQuery::createDatabase (this=0x7ffd6e1bab80, create=...) at ../src/Interpreters/InterpreterCreateQuery.cpp:162
12 0x0000000008b04327 in DB::InterpreterCreateQuery::execute (this=this@entry=0x7ffd6e1bab80) at ../src/Interpreters/InterpreterCreateQuery.cpp:722
13 0x0000000008d0fdaa in DB::executeCreateQuery (has_force_restore_data_flag=false, file_name=..., database=..., context=..., query=...) at ../src/Interpreters/loadMetadata.cpp:48
14 DB::loadDatabase (context=..., database=..., database_path=..., force_restore_data=<optimized out>) at ../src/Interpreters/loadMetadata.cpp:72
15 0x0000000008d103c3 in DB::loadMetadata (context=...) at ../src/Interpreters/loadMetadata.cpp:111
16 0x0000000004f4d25e in DB::Server::main (this=<optimized out>) at ../contrib/libcxx/include/memory:2582
17 0x000000000bbc8963 in Poco::Util::Application::run (this=this@entry=0x7ffd6e1bcc60) at ../contrib/poco/Util/src/Application.cpp:334
18 0x0000000004ffe1de in DB::Server::run (this=0x7ffd6e1bcc60) at ../programs/server/Server.cpp:178
19 0x0000000004ff36cc in mainEntryClickHouseServer (argc=3, argv=0x7f353be58bc0) at ../programs/server/Server.cpp:1060
20 0x0000000004f49b99 in main (argc_=<optimized out>, argv_=<optimized out>) at ../contrib/libcxx/include/vector:655
2020-04-05 14:16:16 +03:00
Vxider
21532f6a6d
parallel insert for materialized view
2020-04-05 01:33:51 +08:00
Avogar
e635b0e9eb
Fix build error
2020-04-04 20:04:41 +03:00
Nikolai Kochetov
e23fda80aa
Merge with master
2020-04-04 19:02:17 +03:00
Avogar
092479397a
Remove extra line.
2020-04-04 17:07:11 +03:00
Avogar
fbc11d3bf9
Move files
2020-04-04 17:04:20 +03:00
Avogar
7a96984dd8
Merge branch 'master' of github.com:ClickHouse/ClickHouse into msgpack_format
2020-04-04 16:44:44 +03:00
Azat Khuzhin
1232760f78
Fix Distributed-over-Distributed when nested table has only one shard
2020-04-04 13:47:35 +03:00
Azat Khuzhin
8d372b0be7
Call getQueryProcessingStage() once, since it is heavy for StorageDistributed
...
Refs: #9808
2020-04-04 13:47:34 +03:00
Ivan Lezhankin
8a5a73e76d
Merge branch 'master' into dbms2src
2020-04-03 18:20:05 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00