Alexey Milovidov
a1101e5278
Fixed build
2019-08-28 16:21:19 +03:00
Alexey Milovidov
8b973fd9f2
Merge branch 'improve-table-locks' of github.com:yandex/ClickHouse into improve-table-locks
2019-08-28 15:59:23 +03:00
Alexey Milovidov
625e128770
Merge branch 'master' into improve-table-locks
2019-08-28 15:41:30 +03:00
Alexander Kuzmenkov
0b5a7f5f4a
Disable consecutive key optimization for UInt8/16 LowCardinality
...
columns.
A follow-up to #6298 , this is as well a part of StringHashMap PR #5417
by Amos Bird.
2019-08-28 14:05:52 +03:00
Alexander Kuzmenkov
24a8755b82
Formatting changes for StringHashMap PR #5417 .
2019-08-28 13:52:14 +03:00
Alexey Milovidov
32c7f9688a
Removed extra quoting from Settings
2019-08-28 13:13:22 +03:00
Artem Zuikov
8fa4575a88
Merge pull request #6693 from 4ertus2/mjoin
...
Minor refactoring
2019-08-28 10:12:37 +03:00
Alexey Milovidov
f2d081a785
Addition to prev. revision
2019-08-28 03:42:45 +03:00
Alexey Milovidov
3db38c690e
Changes to Benchmark after merge
2019-08-28 03:15:08 +03:00
Alexey Milovidov
c8798b2ffa
Slightly improve table locks
2019-08-28 02:47:30 +03:00
alexey-milovidov
44424651b0
Merge pull request #6343 from dimarub2000/benchmark_comparison_mode
...
[WIP] Clickhouse-benchmark comparison mode
2019-08-28 02:38:07 +03:00
alexey-milovidov
4782c1170c
Merge pull request #6691 from yandex/weiqxu-master
...
Merging "check free space when use external sort/aggerator"
2019-08-28 01:55:18 +03:00
Alexey Milovidov
e7cbd34a29
Improve table locks (incomplete)
2019-08-27 23:43:35 +03:00
Alexey Milovidov
285d66cee1
Improve table locks (incomplete)
2019-08-27 23:43:08 +03:00
alexey-milovidov
c736d6b495
Merge pull request #6676 from dimarub2000/right_left_problem_#6381
...
Query transformation for external database fixed.
2019-08-27 23:11:39 +03:00
chertus
5208a70203
one less place with changed nullability columns
2019-08-27 22:41:51 +03:00
Alexey Milovidov
0add95b7d8
Set default value of "queue_max_wait_ms" to zero, because current value makes no sense
2019-08-27 22:21:53 +03:00
Alexey Milovidov
25c53ccd9e
Rename setting
2019-08-27 22:05:35 +03:00
Alexey Milovidov
b21fdff77e
Merging #6678
2019-08-27 21:59:21 +03:00
Alexey Milovidov
5ca8f8d695
Merge branch 'master' of https://github.com/weiqxu/ClickHouse into weiqxu-master
2019-08-27 21:52:09 +03:00
Alexander Tokmakov
93c672aa0b
delete BlockInputStreamFromRowInputStream
2019-08-27 21:29:56 +03:00
Alexander Tokmakov
cf3a8b993b
allow skipping fields in TemplateRowInputFormat
2019-08-27 19:53:26 +03:00
Alexey Milovidov
8ca00a26f6
Fixed build
2019-08-27 17:31:34 +03:00
Alexey Milovidov
c385c950ba
Merge branch 'master' into replicate-merge-tree-minor-lock-improvement
2019-08-27 17:30:48 +03:00
alexey-milovidov
d12ced8099
Merge pull request #6191 from svladykin/ttldropparts
...
TTL: Only drop altogether the expired parts and not partially prune them.
2019-08-27 16:54:56 +03:00
alesapin
106b9717cd
Refactoring of immutable settings
2019-08-27 16:14:19 +03:00
Dmitry Rubashkin
17f18e42c0
new line
2019-08-27 16:13:40 +03:00
Dmitry Rubashkin
f1f85a5a24
Fixed case with single subquery and added tests.
2019-08-27 16:09:58 +03:00
alexey-milovidov
8db93d392b
Merge pull request #6685 from yandex/merge_tree_settings_alter
...
Alter merge tree settings with other types of alter
2019-08-27 16:07:28 +03:00
alesapin
36472b14f9
Defend kafka storage from alters
2019-08-27 12:48:20 +03:00
alesapin
7851d8fe0a
Add ability to alter settings with other types of alter
2019-08-27 12:34:53 +03:00
Weiqing Xu
2fbcd607f3
check free space when use external sort/aggerator
2019-08-27 08:23:07 +08:00
Alexey Milovidov
66203973f2
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-27 00:41:18 +03:00
Alexey Milovidov
7985270624
Disable processors by default
2019-08-27 00:41:10 +03:00
Alexey Milovidov
57fa4e1dd7
Minor lock improvement for ReplicatedMergeTree
2019-08-27 00:40:29 +03:00
alexey-milovidov
16ba2fa85a
Merge pull request #6662 from Enmk/hasTokenCaseInsensitive
...
Implemented hasTokenCaseInsensitive function
2019-08-27 00:39:04 +03:00
alexey-milovidov
9fa5ee758d
Merge pull request #6670 from 4ertus2/bugs
...
Fix two vulnerabilities in Codecs
2019-08-27 00:38:09 +03:00
alexey-milovidov
9cdc434319
Merge pull request #6672 from yandex/aku/reverse-index
...
Separate the hash table interface for ReverseIndex.
2019-08-27 00:38:00 +03:00
alexey-milovidov
561b173ddc
Merge pull request #6675 from yandex/simplify-shared-ptr-helper
...
Simplify shared_ptr_helper
2019-08-27 00:36:52 +03:00
CurtizJ
5f25c2d7b4
merging with master
2019-08-26 22:49:52 +03:00
CurtizJ
1774ac4b9e
Merge remote-tracking branch 'upstream/master' into HEAD
2019-08-26 22:29:12 +03:00
Alexey Milovidov
0eec226c9a
Simplify shared_ptr_helper
2019-08-26 22:07:29 +03:00
Dmitry Rubashkin
0c75d5f42b
Function transformQueryForExternalDatabase() fixed
2019-08-26 22:03:47 +03:00
alesapin
cf31187254
Resolve conflicts
2019-08-26 21:08:58 +03:00
Alexander Kuzmenkov
c0bb52ca6d
Separate the hash table interface for ReverseIndex.
...
It is significantly different from other uses of hash tables, and poses
the main obstacle to changing the hash table interface to the one that
can be easily supported by compound hash tables.
Make it explicitly separate, implement it only for a particular kind of
HashTable, and move this implementation to the ReverseIndex module.
2019-08-26 21:00:44 +03:00
Anton Popov
4cd376f587
fix table ttl after bad merge with master
2019-08-26 21:00:13 +03:00
chertus
12084270de
fix build
2019-08-26 19:58:40 +03:00
Dmitry Rubashkin
34fefcfa2f
Merge branch 'perfomance_test_help_size' of github.com:dimarub2000/ClickHouse into perfomance_test_help_size
2019-08-26 19:46:28 +03:00
Dmitry Rubashkin
1da261576e
Try fix2
2019-08-26 19:42:20 +03:00
alesapin
0d0ebf885f
Remove two redundant arguments from alter
2019-08-26 17:50:34 +03:00
chertus
d17a64c28d
fix vulnerabilities
2019-08-26 17:39:49 +03:00
alesapin
dff0cc1e1c
Remove COW and add MultiVersion
2019-08-26 17:24:29 +03:00
Alexey Milovidov
479b4d81f3
Fixed error
2019-08-26 16:46:07 +03:00
alexey-milovidov
2f5e6158e7
Update TerminalSize.cpp
2019-08-26 16:27:12 +03:00
Alexey Milovidov
60d660e263
Merge branch 'master' into merge-constraints
2019-08-26 16:13:44 +03:00
Alexander Tokmakov
f9445626d1
better parsing of format string
2019-08-26 16:02:15 +03:00
Dmitry Rubashkin
4f89dcc80d
Try to fix
2019-08-26 15:47:19 +03:00
alexey-milovidov
c2b6cffabc
Update IStorage.cpp
2019-08-26 15:39:35 +03:00
alesapin
8047aab684
Add const
2019-08-26 13:13:56 +03:00
alesapin
062034dfd8
Eventually merged with master
2019-08-26 13:07:32 +03:00
Vasily Nemkov
d0d63d769e
Implemented hasTokenCaseInsensitive function
...
And tests;
2019-08-26 11:00:48 +03:00
Alexey Milovidov
6e8b7b9c3b
Fixed error
2019-08-26 05:53:42 +03:00
Alexey Milovidov
25635d1ab0
Fixed build of tests
2019-08-26 05:46:21 +03:00
Alexey Milovidov
2a3e0eb1f1
Merge branch 'master' into merge-constraints
2019-08-26 04:30:31 +03:00
Vitaliy Zakaznikov
7fb13b12f9
Reverting to previous no users thread functionality to avoid
...
keeping no users thread always alive for each live view.
2019-08-25 08:27:47 -04:00
Vitaliy Zakaznikov
2342d64d1b
* Updating no users thread to sleep 3 times longer when users are present
...
to reduce the number of times thread wakes up.
* Updating startNoUsersThread to return if the thread is already running.
2019-08-25 07:36:08 -04:00
alexey-milovidov
d0555d8eab
Merge pull request #6653 from yandex/speed-up-memory-tracker
...
Speed up MemoryTracker by function inlining
2019-08-25 04:55:46 +03:00
Vitaliy Zakaznikov
62988800e6
Rewriting implementation of LIVE VIEW no users thread.
2019-08-24 21:40:24 -04:00
Alexey Milovidov
d798cbde2f
Fixed double whitespaces
2019-08-25 01:28:06 +03:00
Alexey Milovidov
6d3250867c
Fixed build of tests
2019-08-25 01:08:45 +03:00
Alexey Milovidov
32a44936e0
Merge branch 'master' into remove-compiler
2019-08-25 01:07:19 +03:00
Alexey Milovidov
7144a3f827
Speed up MemoryTracker by function inlining
2019-08-25 01:06:13 +03:00
Alexey Milovidov
ffbbb173c5
Addition to prev. revision
2019-08-25 01:04:58 +03:00
Alexey Milovidov
17a1938f0f
Addition to prev. revision
2019-08-25 01:04:36 +03:00
Nikita Vasilev
2dbfabd08c
fix Set index check useless ( #6651 )
...
* fixed useless detection
* fixed useless detection
* fix
* fix
* fix
2019-08-25 01:01:36 +03:00
Alexey Milovidov
9660a4db80
Better exception message
2019-08-25 00:35:07 +03:00
Alexey Milovidov
3fef8e92ad
Merging CONSTRAINTS support
2019-08-25 00:20:20 +03:00
alexey-milovidov
9a51e5e386
Merge pull request #6650 from weiqxu/master
...
fix HDFS HA can't work on DEBUG mode
2019-08-24 21:02:55 +03:00
alexey-milovidov
03deb642d5
Merge pull request #6647 from yandex/fix-trim
...
Fixed "trim" functions
2019-08-24 17:36:38 +03:00
Alexey Milovidov
a6997aa83f
Modifications after merging constraints support
2019-08-24 16:00:04 +03:00
alexey-milovidov
95da4505f4
Merge pull request #6644 from 4ertus2/bugs
...
Fix crash in OptimizedRegularExpression
2019-08-24 15:09:04 +03:00
Weiqing Xu
b7fdfcc797
fix HDFS HA can't work on DEBUG mode
...
The Describe the bug
when the using HDFS HA nameserivce as the uri, the port will be 0.
hdfsBuilderSetNameNodePort will be called to set the port.
hdfsBuilderSetNameNodePort call asset to check if the port is greater
than 0.
So in Release mode, it works OK. In the Debug mode, the asset will fail.
How to reproduce
when compiler the Clickhouse, use DEBUG mode, it will throw error when
using HDFS HA nameservice url
2019-08-24 17:27:36 +08:00
Alexey Milovidov
cc0157b293
Added a test
2019-08-24 02:07:05 +03:00
Alexey Milovidov
cdd6dca517
Remove Compiler
2019-08-24 00:10:26 +03:00
Alexey Milovidov
d38e9ee229
Fixed "trim" functions (in progress)
2019-08-23 23:32:31 +03:00
alexey-milovidov
eeeaf8fbee
Merge pull request #6643 from yandex/double-whitespaces
...
Added a check for double whitespaces
2019-08-23 23:10:12 +03:00
Alexander Tokmakov
0136ef9a5f
move formats to processors
2019-08-23 22:47:22 +03:00
alexey-milovidov
012a5f8911
Merge pull request #6596 from Enmk/hasToken
...
hasToken function implementation
2019-08-23 21:41:33 +03:00
chertus
a21b43913f
fix crash in OptimizedRegularExpression
2019-08-23 21:40:42 +03:00
Alexey Milovidov
b42f85e16b
Added a check for double whitespaces
2019-08-23 21:30:04 +03:00
Alexander Tokmakov
1572d0c5b6
Merge branch 'master' into merging_template_format
2019-08-23 20:34:14 +03:00
alexey-milovidov
c781e1c6a7
Update StringSearcher.h
2019-08-23 19:09:24 +03:00
alexey-milovidov
50b927a9d7
Update StringSearcher.h
2019-08-23 19:08:27 +03:00
dimarub2000
859d97e8fd
Renaming
2019-08-23 18:47:27 +03:00
Dmitry Rubashkin
9e6c629134
Style fixed
2019-08-23 17:54:10 +03:00
dimarub2000
6e098eb953
New line added :)
2019-08-23 16:25:46 +03:00
dimarub2000
a367f94923
Fix after review
2019-08-23 16:19:12 +03:00
Alexander Tokmakov
734a0f23a9
Merge branch 'master' into merging_template_format
2019-08-23 15:32:35 +03:00
Alexey Milovidov
dae2aa6138
Removed useless code
2019-08-23 08:11:11 +03:00
Alexey Milovidov
84b0f709aa
Removed useless code
2019-08-23 08:08:06 +03:00
Alexey Milovidov
4366791b63
Merge branch 'table-constraints' of https://github.com/NanoBjorn/ClickHouse into NanoBjorn-table-constraints
2019-08-23 07:49:10 +03:00
Alexey Milovidov
20b9af29f5
More tests
2019-08-23 07:34:59 +03:00
Alexey Milovidov
6685365ab8
Added optimized case
2019-08-23 07:25:32 +03:00
Alexey Milovidov
341e2e4587
Step 1: make it correct.
2019-08-23 06:00:06 +03:00
alexey-milovidov
7012a421c6
Merge branch 'master' into alter_table_drop_detached_part
2019-08-23 05:22:07 +03:00
Alexey Milovidov
1222973cb3
Function "neighbor": merging #5925
2019-08-23 05:02:14 +03:00
Alexey Milovidov
99f4c9c813
Moved settings that were in a wrong place
2019-08-23 05:01:24 +03:00
Alexey Milovidov
e3bd572fc7
Removed unused settings
2019-08-23 05:00:35 +03:00
Alexey Milovidov
cff8ec43f9
Rename neighbour -> neighbor
2019-08-23 04:31:04 +03:00
alexey-milovidov
49aa9384af
Merge pull request #5925 from alex-krash/function_next_prev_in_block
...
Implement neighbour() function
2019-08-23 04:28:36 +03:00
alexey-milovidov
3a237b4375
Merge pull request #6617 from yandex/fix_too_many_parts_while_mutation_6502
...
Fix too many parts while mutation
2019-08-23 04:27:43 +03:00
alexey-milovidov
66ff7cd43e
Merge pull request #6619 from yandex/live-view-code-quality
...
Basic code quality of LiveView
2019-08-23 04:27:12 +03:00
alexey-milovidov
5c99780b08
Merge pull request #6606 from yandex/processors-2
...
Enable processors by default.
2019-08-23 02:50:11 +03:00
Alexey Milovidov
78c3be175c
Added experimental setting for LIVE VIEWs
2019-08-23 02:46:40 +03:00
Alexey Milovidov
c4712f1e6e
Make the code less bad
2019-08-23 02:22:57 +03:00
Alexey Milovidov
859736d935
Basic code quality of Live View
2019-08-23 01:41:30 +03:00
Alexander Tokmakov
81022bb3e9
Merge branch 'master' into alter_table_drop_detached_part
2019-08-22 23:38:58 +03:00
Alexander Tokmakov
acce56095f
limit number of background threads for mutations
2019-08-22 22:35:46 +03:00
Vasily Nemkov
6d78e3be94
hasToken function implementation
...
* Function to check if given token is present in a string;
* Special case for hasToken to 'tokenbf_v1' index;
* Test cases for hasToken()
* Test case for hasToken() + 'tokenbf_v1' integration
2019-08-22 18:00:35 +03:00
Nikolai Kochetov
b3f91a717c
Use ThreadFromGlobalPool in PipelineExecutor instead of ThreadPool.
2019-08-22 17:38:44 +03:00
Dmitry Rubashkin
095124dcba
setOptionsDescription() function added
2019-08-22 17:03:37 +03:00
Nikolai Kochetov
b93ffdd038
Fix MergingSortedTransform.
2019-08-22 13:16:56 +03:00
Nikolai Kochetov
11f8ec76df
Fix CubeTransform.
2019-08-22 12:28:23 +03:00
Nikolai Kochetov
4f38b08481
Fix RollupTransform.
2019-08-22 11:53:34 +03:00
Nikolai Kochetov
8228871821
Fix RollupTransform.
2019-08-22 11:29:29 +03:00
Nikolai Kochetov
c3aaf583a0
Fix RollupTransform.
2019-08-22 11:26:50 +03:00
akonyaev
1683547b2d
ADQM-34 fix style
2019-08-22 10:24:04 +03:00
akonyaev
01216e45b6
Merge branch 'master' of https://github.com/yandex/ClickHouse into ADQM-34
...
# Conflicts:
# dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
2019-08-22 09:40:51 +03:00
alexey-milovidov
83104b3d5e
Merge pull request #6603 from amosbird/fix-dt-hash
...
Fix segfault when decoding symbol table.
2019-08-22 07:35:32 +03:00
alexey-milovidov
903601d3e3
Merge pull request #6600 from yandex/distributed-files-to-send-metric
...
Added a metric for the number of files to send in Distributed tables.
2019-08-22 07:34:09 +03:00
Amos Bird
78af6d793d
Fix segfault when decoding symbol table.
2019-08-22 12:34:06 +08:00
Alexey Milovidov
c38a8cb755
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-22 05:32:00 +03:00
Alexey Milovidov
85d3ba099f
Added a comment
2019-08-22 05:31:49 +03:00
alexey-milovidov
2ff8f3a5de
Merge pull request #6599 from CurtizJ/fix-order-by-optimization
...
Disable "read in order" optimization for aggregation without keys.
2019-08-22 05:10:14 +03:00
alexey-milovidov
f0e0793cdd
Merge pull request #6581 from yandex/assert_cast
...
Added checks to static_cast of columns.
2019-08-22 05:09:34 +03:00
Alexey Milovidov
6bbf3bd634
Added a metric for the number of files to send in Distributed tables
2019-08-22 04:30:49 +03:00
Alexey Milovidov
e573b06373
Updated comment
2019-08-21 23:33:38 +03:00
Alexey Milovidov
93d380ddaa
Fixed test
2019-08-21 23:32:58 +03:00
alexey-milovidov
4a54f3d7b6
Merge pull request #6583 from yandex/fix-false-race-condition-on-frozen-field
...
Fixed false data race in "MergeTreeDataPart::is_frozen" field
2019-08-21 23:12:34 +03:00
CurtizJ
d573c4ec3e
fix wrong check for disabling "read in order" optimization
2019-08-21 20:42:44 +03:00
Nikolai Kochetov
6d81087bdc
Remove _dummy column if it is not needed.
2019-08-21 19:53:40 +03:00
akonyaev
321233ddaa
ADQM-34 fix hardcode for,at name in ArrowColumnToCHColumn class
2019-08-21 19:39:20 +03:00
Nikolai Kochetov
2e03ac09ec
Fix MergingSortedTransform.
2019-08-21 19:38:27 +03:00
alesapin
b9d3d04c57
Move tasks in schedule pool
2019-08-21 19:02:13 +03:00
Nikolai Kochetov
e68775e3d0
Fix TotalsHavingTransform.
2019-08-21 17:51:32 +03:00
akonyaev
caf0d30a5f
ADQM-34 add orc input format
2019-08-21 17:19:47 +03:00
Nikolai Kochetov
fe3221d0e4
Fix SortingAggregatedTransform.
2019-08-21 17:19:18 +03:00
alesapin
be5dd3b994
Remove stupid logic
2019-08-21 16:15:44 +03:00
Nikolai Kochetov
c27cada229
Fix ExpressionTransform.
2019-08-21 16:14:23 +03:00
alesapin
6b85834ae3
Remove excessive logging
2019-08-21 16:11:08 +03:00