alexey-milovidov
85483f8532
Merge pull request #14853 from ClickHouse/akz/optimized_index_binary_search
...
Optimized marks selection algorithm for continuous marks ranges
2020-09-20 19:48:45 +03:00
alexey-milovidov
f7cae4a57d
Merge pull request #14975 from ClickHouse/fix_merge_tree_settings_check
...
Fix check for merge tree settings sanity on server startup
2020-09-20 19:43:40 +03:00
alexey-milovidov
55eb533fda
Merge pull request #15034 from amosbird/fff
...
Improve performance of grouping by single LowCardinality(FixedString)
2020-09-20 19:42:38 +03:00
alexey-milovidov
7b35a6a59a
Merge pull request #15028 from ClickHouse/fix-bar
...
Fix buffer overflow in "bar" function
2020-09-20 19:04:15 +03:00
alexey-milovidov
3f5d7843f6
Merge pull request #15029 from ClickHouse/cast-single-argument
...
Proper exception message for wrong number of arguments of CAST
2020-09-20 19:03:47 +03:00
alexey-milovidov
068e9f372e
Merge pull request #15030 from ClickHouse/base64-unpoison
...
Maybe fix MSan report in base64
2020-09-20 19:03:28 +03:00
Vitaly Baranov
46ab2f76cd
Merge pull request #14919 from vitlibar/add-login-function-to-access-storage
...
Add login() function to IAccessStorage
2020-09-20 16:58:22 +03:00
alesapin
5ffee8808a
Alter remove column properties and TTLs ( #14742 )
2020-09-20 16:27:33 +03:00
Amos Bird
8ca4d6634e
better fixed string group by support
2020-09-20 15:20:09 +08:00
Amos Bird
fcee786320
Fix incorrect key condition of fixed strings.
2020-09-20 11:53:29 +08:00
alexey-milovidov
1474b80ecc
Merge pull request #15008 from ClickHouse/clang-tidy-11-without-enabling
...
Fix terribly wrong code
2020-09-20 02:00:54 +03:00
Alexey Milovidov
0029c5512d
Maybe fix MSan report in base64
2020-09-19 22:43:26 +03:00
Alexey Milovidov
5a47e64685
Proper exception message for wrong number of arguments of CAST
2020-09-19 22:34:24 +03:00
Alexey Milovidov
dae3b40a55
Fix buffer overflow in "bar" function
2020-09-19 22:15:16 +03:00
alexey-milovidov
c185db46f9
Merge pull request #15023 from ClickHouse/remove-opencl
...
Remove OpenCL
2020-09-19 21:31:40 +03:00
myrrc
146dd0f3f0
fixed comments parser
2020-09-19 20:14:37 +03:00
myrrc
c78d9f9f38
moved the generators to docs/ folder
2020-09-19 19:42:36 +03:00
alexey-milovidov
7ae4d01744
Update convertMySQLDataType.cpp
2020-09-19 19:31:08 +03:00
Alexey Milovidov
9fa49a6843
Fix clang-tidy
2020-09-19 19:29:15 +03:00
Alexey Milovidov
c7a98132ac
Slightly better code
2020-09-19 18:13:51 +03:00
Alexey Milovidov
b87ecc2ec1
Even more
2020-09-19 18:09:12 +03:00
Alexey Milovidov
c304032707
Even more
2020-09-19 18:02:11 +03:00
Alexey Milovidov
772eccf03d
Move code to .cpp
2020-09-19 17:55:08 +03:00
Alexey Milovidov
059646743b
Remove OpenCL
2020-09-19 17:20:00 +03:00
Alexander Tokmakov
46aa307d0a
fix EINVAL in renameat2 on MacOS
2020-09-19 17:19:06 +03:00
alexey-milovidov
2cab30ba8d
Merge pull request #14521 from hexiaoting/dev_like
...
Add new feature: SHOW DATABASES like 'xxx'
2020-09-19 16:34:37 +03:00
alexey-milovidov
acbdc51460
Merge pull request #14771 from amosbird/withsub
...
First attempt of supporting CTE
2020-09-19 16:25:34 +03:00
Vitaly Baranov
33efb36714
Use previous users.xml if failed to reload.
2020-09-19 16:21:12 +03:00
alexey-milovidov
eb9ee723c3
Merge pull request #11913 from ClickHouse/compact-parts-by-default
...
Enable compact parts by default for small parts
2020-09-19 15:31:15 +03:00
Alexey Milovidov
2264622f69
Fix clang-tidy
2020-09-19 15:24:43 +03:00
tavplubix
6e0bdaf46d
Merge pull request #14535 from zhang2014/fix/datetime
...
ISSUES-4006 support decimal data type for MaterializedMySQL
2020-09-19 14:05:32 +03:00
Alexey Milovidov
4d06bc62b1
Allow concurrent reads while writing to TinyLog
2020-09-19 14:02:11 +03:00
Alexey Milovidov
111acdc63b
Continuation
2020-09-19 14:02:11 +03:00
Alexey Milovidov
bc8fc3e280
Simplification
2020-09-19 14:02:11 +03:00
Alexey Milovidov
66ea3c0c43
Remove useless method
2020-09-19 14:02:11 +03:00
Alexey Milovidov
8193da847b
Simplification
2020-09-19 14:02:11 +03:00
Alexey Milovidov
3bb0088c86
Whitespace
2020-09-19 14:02:11 +03:00
Alexey Milovidov
dc7e3b75d3
Whitespace
2020-09-19 14:02:11 +03:00
Alexey Milovidov
8a8284ce31
Avoid deadlocks in Log/TinyLog
2020-09-19 14:02:11 +03:00
alexey-milovidov
65517da62b
Merge pull request #14495 from nikitamikhaylov/update-permutation-bugfix-3
...
updatePermumation with Nullable
2020-09-19 13:53:55 +03:00
alexey-milovidov
c461d782e4
Merge pull request #14929 from ClickHouse/mlock-code-segment
...
Only mlock code segment
2020-09-19 13:46:49 +03:00
alexey-milovidov
0d26228599
Merge pull request #15002 from 4ertus2/bugs
...
Fix crash in RIGHT or FULL JOIN switch
2020-09-19 13:45:10 +03:00
alexey-milovidov
1fcebce926
Merge pull request #15000 from Jokser/disable-ttl-move-on-insert
...
Option to disable TTL move on data part insert
2020-09-19 13:45:02 +03:00
alexey-milovidov
3463d97f8c
Merge pull request #14973 from amosbird/bm2
...
Ignore key constraints when doing mutations.
2020-09-19 13:44:30 +03:00
alexey-milovidov
20a294e392
Merge pull request #14959 from ClickHouse/storages-small-improvements
...
Small improvements for IStorage::rename
2020-09-19 13:44:08 +03:00
Alexey Milovidov
eb260f6a89
Fix bad code
2020-09-19 13:43:26 +03:00
Alexey Milovidov
1238822785
Fix clang-tidy
2020-09-19 13:37:40 +03:00
Alexey Milovidov
ef5363b87f
Fix terribly wrong code
2020-09-19 02:05:13 +03:00
alexey-milovidov
4e77c2e48e
Update MergeTreeDataMergerMutator.cpp
2020-09-19 01:29:31 +03:00
Vitaly Baranov
02acedd6a3
Use initial_address for quota calculation when the interserver-secret mode enabled.
2020-09-19 01:04:25 +03:00
Vitaly Baranov
dbc837c148
IAccessStorage now can override the login() function.
2020-09-19 01:04:20 +03:00
Alexey Milovidov
7d0f3db639
Fix annoying "Arcadia"
2020-09-18 23:19:41 +03:00
Alexey Milovidov
24b334258b
Resolve review comment
2020-09-18 22:25:56 +03:00
alexey-milovidov
988b20a32c
Merge pull request #14684 from azat/parallel-distributed_ddl
...
Allow parallel execution of distributed DDL
2020-09-18 22:18:17 +03:00
Alexey Milovidov
e1ffa07a39
Resolve review comments
2020-09-18 22:08:53 +03:00
Alexey Milovidov
21ca9fce63
Merge branch 'master' into storages-small-improvements
2020-09-18 22:03:19 +03:00
Alexey Milovidov
8a8e4f8a41
Attempt to speed-up clang build
2020-09-18 21:58:57 +03:00
alexey-milovidov
456c970929
Merge pull request #14808 from ClickHouse/remove-header
...
Remove one header
2020-09-18 21:57:00 +03:00
Alexey Milovidov
6e6909f47d
Fix "Arcadia"
2020-09-18 21:54:54 +03:00
Amos Bird
d842cb704f
Allow mutations to work with key constraints.
2020-09-19 02:40:02 +08:00
myrrc
800ad407e8
fix
2020-09-18 20:49:59 +03:00
Pavel Kovalenko
da04a130ed
Add option to disable ttl move on data part insert - minor fixes.
2020-09-18 20:45:30 +03:00
tavplubix
1762535ffc
Merge pull request #14797 from Vxider/add_tablefunction_null
...
Add table function null
2020-09-18 20:34:35 +03:00
Artem Zuikov
28afbafa08
fix crash in RIGHT or FULL JOIN switch
2020-09-18 19:25:20 +03:00
Pavel Kovalenko
6b4b5898a7
Renaming.
2020-09-18 18:41:14 +03:00
Pavel Kovalenko
0da19ab46d
Add option to disable ttl move on data part insert
2020-09-18 18:30:00 +03:00
nikitamikhaylov
2530b71aa6
style
2020-09-18 17:48:05 +03:00
Alexey Milovidov
72c2201287
Fix "Arcadia"
2020-09-18 17:39:33 +03:00
Alexey Milovidov
122e34cf19
Fix "Arcadia"
2020-09-18 17:38:28 +03:00
nikitamikhaylov
822a78fa58
call under mutex
2020-09-18 17:25:45 +03:00
myrrc
f6bce8bd1e
reverted USE to ENABLE
2020-09-18 17:18:59 +03:00
alesapin
e38b537017
Merge pull request #11684 from ClickHouse/manual-write-duplicate-parts-to-replicas
...
Don't ignore duplicate parts written to replicas
2020-09-18 16:50:00 +03:00
myrrc
3953ed485b
added sub-tables in report, replaced some USE_ -> ENABLE_ for
...
consistency
2020-09-18 16:09:22 +03:00
Alexander Kazakov
1ee2e3d2b3
Review fix
2020-09-18 16:03:48 +03:00
tavplubix
1f54fdfb7c
Update TableFunctionNull.cpp
2020-09-18 14:52:30 +03:00
Vitaly Baranov
f43714cd76
Merge pull request #14880 from vitlibar/fix-removing-live-view-after-watching
...
Fix removing a live view after watching and after timeout has passed.
2020-09-18 14:17:44 +03:00
Alexander Tokmakov
e1cf60990a
minor fixes
2020-09-18 14:06:30 +03:00
Nikolai Kochetov
c7aff19937
Merge pull request #14221 from hagen1778/settings-leaf-limits
...
[settings]: introduce new query complexity settings for leaf-nodes
2020-09-18 14:05:10 +03:00
Alexander Kuzmenkov
a9b2bff8ba
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-18 13:43:29 +03:00
Alexander Kuzmenkov
173c8eab9f
Merge pull request #14924 from ClickHouse/aku/logical-core
...
Use logical core id ('processor') for CPU freq metric
2020-09-18 13:17:49 +03:00
alesapin
96a693baec
Better message
2020-09-18 10:46:23 +03:00
alesapin
e6914acb3b
Fix check for merge tree settings on server startup
2020-09-18 10:44:17 +03:00
alesapin
3536ac1b17
Merge pull request #14926 from ClickHouse/better-drop-replicated-table
...
Better drop for Replicated tables
2020-09-18 09:51:39 +03:00
Alexey Milovidov
0ad44b821e
Fix build
2020-09-18 01:45:12 +03:00
Alexey Milovidov
fe7a84745f
Merge branch 'master' into mlock-code-segment
2020-09-18 01:29:27 +03:00
Alexey Milovidov
1752bbc1ed
Fix "Arcadia" build
2020-09-18 01:29:15 +03:00
alexey-milovidov
76a3cc2dae
Merge pull request #14937 from filimonov/finalizeAggregation_statefullness
...
Fix enable_optimize_predicate_expression for finalizeAggregation
2020-09-18 01:24:02 +03:00
Alexey Milovidov
9df338f37b
Merge branch 'master' into remove-header
2020-09-18 01:18:53 +03:00
roman
ddca262fe6
fix review comments
2020-09-17 20:54:21 +01:00
Alexey Milovidov
7fb4dfea2c
Small improvements for IStorage::rename
2020-09-17 22:50:43 +03:00
alesapin
447205c525
More comments
2020-09-17 22:30:45 +03:00
alesapin
dc677b93fb
Comments and fix test
2020-09-17 22:30:17 +03:00
tavplubix
0597ad3150
fix typo
2020-09-17 21:47:21 +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
Azat Khuzhin
c9baceb760
Change thread name for DDLWorker executor threads
2020-09-17 21:07:14 +03:00
Alexey Milovidov
20d07ed405
Update comment
2020-09-17 21:04:11 +03:00
alexey-milovidov
9b6c62e82b
Merge pull request #14867 from amosbird/lbo
...
Explicit define what first replica is.
2020-09-17 19:37:15 +03:00
zhang2014
64032e22a2
Merge branch 'master' into fix/datetime
2020-09-18 00:28:09 +08:00
tavplubix
a76d8fb96b
Merge pull request #14898 from zhang2014/fix/ISSUES-14894
...
ISSUES-14894 fix MaterializeMySQL temp metadata file exists
2020-09-17 19:18:10 +03:00
tavplubix
5a890d7377
Merge pull request #14852 from zhang2014/fix/mysql_protocol_parser
...
Fix parse MySQL binlog event for MaterializeMySQL
2020-09-17 19:17:30 +03:00
myrrc
7cd5c0d34f
Merge remote-tracking branch 'upstream/master' into feature/cmake-flags-doc-generator
2020-09-17 19:17:09 +03:00
alesapin
b07c00ef7c
Ugly, but probably working implementation
2020-09-17 18:33:50 +03:00
Alexander Kuzmenkov
fd33fa7f39
fixup
2020-09-17 17:55:41 +03:00
Vxider
3da806f8f6
Throws LOGICAL_ERROR if argument is not a literal
2020-09-17 22:49:27 +08:00
alexey-milovidov
84eece69ba
Merge pull request #14876 from amosbird/ns
...
Get rid of query settings after initialization.
2020-09-17 17:49:25 +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
alesapin
d09fd8ca8b
Add comment
2020-09-17 17:01:17 +03:00
Mikhail Filimonov
22bd22702e
Fix enable_optimize_predicate_expression for finalizeAggregation
...
finalizeAggregation was wrongly marked as stateful, preventing pushing the conditions down.
2020-09-17 15:59:14 +02:00
alexey-milovidov
2413caa7d5
Merge pull request #14889 from ClickHouse/extract-all-groups-empty-match
...
Fix error in "extractAllGroups" function
2020-09-17 16:02:30 +03:00
Alexey Milovidov
068e8576b7
Corrections
2020-09-17 15:53:52 +03:00
Nikolai Kochetov
c2906e3871
Merge pull request #14918 from ClickHouse/revert-14362
...
Revert #14362
2020-09-17 15:41:08 +03:00
Alexey Milovidov
8bce20076c
Only mlock code segment
2020-09-17 15:39:37 +03:00
alesapin
6601f4f786
Better errors, fix merge
2020-09-17 15:10:06 +03:00
Nikolai Kochetov
959d755a1b
Update Visitor.h
2020-09-17 15:08:55 +03:00
alesapin
6c369c8dc6
Fix merge error
2020-09-17 15:01:03 +03:00
Alexey Milovidov
a5560cd62d
Better drop replicated tables
2020-09-17 14:27:17 +03:00
Alexander Kuzmenkov
4773bf57ea
Use logical core id ('processor') for CPU freq metric
...
See https://github.com/ClickHouse/ClickHouse/issues/14923
2020-09-17 13:47:29 +03:00
alesapin
40b2f203b6
Merge branch 'master' into manual-write-duplicate-parts-to-replicas
2020-09-17 13:21:00 +03:00
Nikolai Kochetov
bd92284b4e
Push ci.
2020-09-17 13:18:01 +03:00
Nikolai Kochetov
21bd45fb22
Update InterpreterSelectQuery.cpp
2020-09-17 12:57:48 +03:00
roman
b41421cb1c
[settings]: introduce new query complexity settings for leaf-nodes
...
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Nikolai Kochetov
35e8ee5f85
Rollback inlining.
2020-09-17 12:20:23 +03:00
Nikolai Kochetov
6d3e6dadfa
Update has.
2020-09-17 11:18:00 +03:00
Nikolai Kochetov
225b85624e
Merge branch 'master' into inline-gather-utils
2020-09-17 11:17:32 +03:00
alesapin
f104c382f8
Merge pull request #14887 from azat/StorageFile-write-to-fd
...
Fix SIGSEGV for an attempt to INSERT into StorageFile(fd)
2020-09-17 10:25:02 +03:00
alesapin
5f9e7ed169
Merge pull request #14834 from ClickHouse/fix_compression_codec_perf
...
Fix performance degradation during parts selection for merge
2020-09-17 10:09:41 +03:00
alesapin
73544a3781
Merge pull request #14845 from ClickHouse/fix_alias_array
...
Fix recursive column defaults
2020-09-17 10:02:39 +03:00
zhang2014
c5b56c24f8
ISSUES-14894 fix MaterializeMySQL temp metadata file exists
2020-09-17 14:44:05 +08:00
zhang2014
0c81a8777e
Fix review comment
2020-09-17 14:21:38 +08:00
Nikolai Kochetov
7384733144
Fix style.
2020-09-17 09:01:35 +03:00
Nikolai Kochetov
a67986791f
Merge pull request #14848 from ClickHouse/test-gather-utils-build-time
...
Improve GatherUtils build time
2020-09-17 08:58:00 +03:00
sundy-li
544b2cb20d
add configChanged method for zookeeper
...
fix logic error && skip reload testkeeper
2020-09-17 13:33:45 +08:00
sundyli
9c2a8ea6d0
dynamic zookeeper config
2020-09-17 13:26:36 +08:00
Azat Khuzhin
138e953429
Fix SIGSEGV for an attempt to INSERT into StorageFile(fd)
2020-09-17 01:26:34 +03:00
Alexey Milovidov
c37b55c3b1
Fix error in "extractAllGroups" function
2020-09-17 00:19:58 +03:00
Anton Popov
8e9828d2ff
Merge remote-tracking branch 'upstream/master' into HEAD
2020-09-16 21:07:35 +03:00
Nikolai Kochetov
9fc594a4c5
Fix tests.
2020-09-16 20:32:56 +03:00
Alexey Milovidov
26eb49b48d
Fix typo
2020-09-16 20:02:55 +03:00
Nikolai Kochetov
fe1056579f
Fix tests.
2020-09-16 19:45:56 +03:00
Nikolai Kochetov
73ad505735
Fix tests.
2020-09-16 19:38:33 +03:00
Nikolai Kochetov
2f7ab2bca4
Fix tests.
2020-09-16 19:30:48 +03:00
Nikolai Kochetov
8a26251f94
Fix tests.
2020-09-16 19:11:16 +03:00
Nikolai Kochetov
8fed50b1db
Fix GenericSource
2020-09-16 18:03:47 +03:00
Nikolai Kochetov
42c543a64d
Fix GenericSource
2020-09-16 17:58:54 +03:00
Nikolai Kochetov
8de76709fb
Fix tests.
2020-09-16 17:41:01 +03:00
Amos Bird
96a202c0fb
Get rid of query settings after initialization.
2020-09-16 22:35:39 +08:00
Nikolai Kochetov
17ec88da84
Split has.
2020-09-16 17:02:28 +03:00