Alexey Milovidov
d11f3cb78f
Changed thread_id to UInt64 to support more OS
2020-02-02 23:01:13 +03:00
Alexey Milovidov
f9eb4e79f6
Using OS tid everywhere #7477
2020-02-02 05:28:14 +03:00
Nikolai Kochetov
edd2477ca7
Processors support for StorageMerge reading.
2020-01-31 19:32:00 +03:00
Nikolai Kochetov
7bedce40ea
Processors support for StorageMerge reading.
2020-01-31 19:29:40 +03:00
Baudouin Giard
fbbf026277
String keys in SummingMergeTree maps
...
Accept String or FixedString data types as key for maps in the
SummingMergeTree now that sumMap supports these two types (introduced in
bc0fbd688a
).
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-31 14:37:28 +00:00
Nikolai Kochetov
6cb86cef24
Added AddingMissedTransform.
2020-01-29 18:35:43 +03:00
Nikolai Kochetov
8ce6040306
Merge pull request #7796 from ClickHouse/processors-4.3
...
Processors and system.numbers
2020-01-29 13:11:13 +03:00
Nikolai Kochetov
733df795a3
Fix IBlockInputStream
2020-01-27 20:12:55 +03:00
Nikolai Kochetov
43455d79b4
Add time limit to SourceWithProgress.
2020-01-27 19:58:25 +03:00
Alexey Milovidov
5d52261266
Remove useless files
2020-01-26 18:25:58 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins
2020-01-26 00:03:56 +03:00
alexey-milovidov
9f3bbea6eb
Merge pull request #8806 from ClickHouse/vzakaznikov-issue_7878_3
...
Reworking fix for issue 7878 (version 4)
2020-01-25 23:39:49 +03:00
alexey-milovidov
dc90d42e1e
Merge pull request #8305 from ClickHouse/Vxider-parallel-insert
...
Vxider parallel insert
2020-01-25 20:30:50 +03:00
Nikolai Kochetov
0b43bd53a4
fix 01019_materialized_view_select_extra_columns
2020-01-24 10:48:22 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
...
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
Nikolai Kochetov
5a8932488d
Romve commented code.
2020-01-23 21:02:13 +03:00
Nikolai Kochetov
50f66433e0
Update PushingToViewsBlockOutputStream
2020-01-23 20:51:43 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Nikolai Kochetov
9635c8d5c5
Update PushingToViewsBlockOutputStream
2020-01-23 20:11:49 +03:00
Nikolai Kochetov
7d4d063f38
Try to remove some code.
2020-01-23 18:53:58 +03:00
Nikolai Kochetov
25ea3d83e2
Merge branch 'issue_7878_2' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-issue_7878_2
2020-01-23 18:45:24 +03:00
Nikolai Kochetov
4a4de82648
Merged with master
2020-01-23 18:44:26 +03:00
CurtizJ
b5d8baee71
fix alters if ttl is set
2020-01-23 16:04:06 +03:00
Vitaliy Zakaznikov
024dce32d8
Fixing NameOrDefault mode in ConvertingBlockInputStream.
2020-01-23 12:40:27 +01:00
Vitaliy Zakaznikov
76af9dedc5
Going back to NameOrDefault mode in ConvertingBlockInputStream
...
as the other approach caused test regressions. This time we just
erase the columns that need to be set to the default value or expression.
2020-01-22 22:26:08 +01:00
Vitaliy Zakaznikov
54c8234379
Reworking fix for missing columns.
2020-01-22 16:15:42 +01:00
Vitaliy Zakaznikov
78ab3127ce
Trying to fix issue with calculating default expressions. (Not working yet)
2020-01-22 14:34:00 +01:00
alesapin
0d484be01a
Merge pull request #8767 from ClickHouse/aku/null-format
...
Fix sending no data to client with Null format.
2020-01-22 13:06:16 +03:00
Alexander Kuzmenkov
c7b94c70e8
Fix sending no data to client with Null format.
...
Looks like before it could only work accidentally due to some mighty
NRVO.
2020-01-21 20:48:08 +03:00
Vitaliy Zakaznikov
507609b611
Fixing styling issues.
2020-01-21 11:18:41 -05:00
Vitaliy Zakaznikov
b2bfa6f938
Removing code used for debugging.
2020-01-21 17:11:21 +01:00
Vitaliy Zakaznikov
1b5f6e37cb
First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878
2020-01-21 17:02:40 +01:00
chertus
0669eff031
version with processors
2020-01-20 17:17:55 +03:00
chertus
61a7e84cae
Merge branch 'master' into joins
2020-01-16 15:14:19 +03:00
chertus
39f2653663
rewrite with cursor position
2020-01-15 23:33:29 +03:00
CurtizJ
27750f0cd4
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-01-15 19:36:35 +03:00
chertus
8ab68e2c77
change iface for one-to-many blocks expressions calculation
2020-01-13 21:00:32 +03:00
Nikolai Kochetov
a6fc528805
Merge branch 'master' into Vxider-parallel-insert
2020-01-13 20:59:42 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
alexey-milovidov
836ac810a7
Merge pull request #8613 from ClickHouse/azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2
...
SimpleAggregateFunction(LowCardinality) fix (continuation)
2020-01-11 19:14:15 +03:00
Nikolai Kochetov
d939cef9d1
Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream.
2020-01-10 17:51:30 +03:00
Nikolai Kochetov
87377431f4
Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream.
2020-01-10 17:01:24 +03:00
Alexander Tokmakov
45d0089d3f
fix defaults mismatch size
2020-01-09 22:24:29 +03:00
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
CurtizJ
33ae97894b
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-01-09 15:54:37 +03:00
alexey-milovidov
35770403fc
Merge pull request #8335 from ClickHouse/better-priority-queue
...
Optimization of ORDER BY and merging
2020-01-03 14:55:25 +03:00
Nikolai Kochetov
73949f1614
Fix MergingSorted
2020-01-02 23:26:27 +03:00
Nikolai Kochetov
92baec6488
Fix MergingSorted
2020-01-02 23:07:07 +03:00
Alexey Milovidov
218ab1b25b
Merge branch 'master' into better-priority-queue
2020-01-02 13:40:33 +03:00
Alexey Milovidov
67afaa9d93
Stack trace for every exception (experimental)
2020-01-02 09:56:53 +03:00
Amos Bird
bbc736f2d9
c++20!
2019-12-29 03:08:25 +08:00
Alexander Tokmakov
8987b027ba
fixes
2019-12-27 15:18:49 +03:00
Alexander Tokmakov
42296cc80a
remove separate getTableName() and getDatabaseName()
2019-12-26 21:11:49 +03:00
Alexander Tokmakov
ef129b4b7c
use StorageID in views
2019-12-26 20:59:47 +03:00
Alexander Tokmakov
9319863a59
refactor table dependencies
2019-12-26 20:23:24 +03:00
Alexander Tokmakov
2e5d61cd81
better constructors of storages
2019-12-26 20:04:08 +03:00
Nikolai Kochetov
438ea5bc22
Remove context from formats ( #8388 )
...
* Remove Context from formats.
2019-12-25 22:17:41 +03:00
CurtizJ
4bd4ac715c
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2019-12-25 03:10:24 +03:00
Alexey Milovidov
bd7eed1204
Cache comparison between next elements in heap
2019-12-22 14:13:10 +03:00
Alexey Milovidov
7ffa78ee95
Fixed error
2019-12-22 14:00:30 +03:00
Alexey Milovidov
b4ba1becd4
Removed wrong code from MergingSortedBlockInputStream
2019-12-22 12:53:31 +03:00
Alexey Milovidov
48505446af
Addition to prev. revision
2019-12-22 04:49:38 +03:00
Alexey Milovidov
401c5eef81
Attempt to optimize merging sorted blocks
2019-12-22 04:37:56 +03:00
Alexey Milovidov
9f3afed5ff
Optimization of priority queue
2019-12-22 03:19:07 +03:00
Alexey Milovidov
eb9d6983c8
Added optimization for Processors; added reserve.
2019-12-22 01:16:39 +03:00
Alexey Milovidov
8ff361eda4
Optimization of sorting heap
2019-12-21 23:28:51 +03:00
Alexey Milovidov
6c03e1e91a
Optimization of sorting heap
2019-12-21 03:00:07 +03:00
Alexey Milovidov
9960a79b36
Optimization of sorting heap
2019-12-21 02:57:57 +03:00
Alexey Milovidov
dba9766575
Better priority_queue performance, part 1
2019-12-21 02:38:07 +03:00
Nikolai Kochetov
8a1ec4c379
Chenge number of threads for insert select.
2019-12-19 22:20:13 +03:00
Nikolai Kochetov
725ac1255b
Fix possible segfault on exception.
2019-12-19 19:27:35 +03:00
Nikolai Kochetov
7e398f4731
Change implementation of copyData for multiple streams.
2019-12-19 17:44:58 +03:00
CurtizJ
9db2f2ccbc
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2019-12-19 14:46:43 +03:00
Vxider
3725b6cca3
remove unnessary thread
2019-12-19 11:26:23 +08:00
CurtizJ
55b7db716a
polymorphic parts (development) cleanup
2019-12-18 18:54:45 +03:00
CurtizJ
ae74d28f87
polymorphic parts (development) fix alter
2019-12-18 17:23:27 +03:00
CurtizJ
59faa4927b
polymorphic parts (development) alter update
2019-12-18 16:09:58 +03:00
Vxider
ec784150b3
fix code style
2019-12-17 12:22:58 +08:00
Vxider
49065a6348
use threadPool and code style update
2019-12-17 12:22:58 +08:00
Vxider
2a94832ef6
parallel INSERT in INSERT SELECT query
2019-12-17 12:22:58 +08:00
kreuzerkrieg
9612bb0e79
More GCC warnings
2019-12-16 23:19:50 +02:00
alexey-milovidov
8727f30ef8
Merge pull request #7790 from bgranvea/simple-aggregate-function-fix
...
Fix "Sizes of columns doesn't match" error with SimpleAggregateFunction
2019-12-13 20:56:03 +03:00
Nikolai Kochetov
7ad2a6dd0b
Merge pull request #7170 from Enmk/DateTime64
...
DateTime64 data type
2019-12-12 12:20:22 +03:00
Vasily Nemkov
f8fec0402b
Merge commit 'e7540dcf686936a490f89d0735f74c2f5f009821' into DateTime64
2019-12-11 17:38:32 +03:00
Vladimir Chebotarev
7407f7c39d
Placed move TTL rules to a vector.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
108e2b33eb
Fixed a bug with erasing columns with same name.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
0da7234d99
Added few FIXMEs to not forget.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
ce851fc782
Fixed MergeTreeData::hasTableTTL()
method according to extended TTLs.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
575de5ada6
Attempt to add background moves by TTL expressions.
2019-12-11 13:24:20 +03:00
alexey-milovidov
cf194edfaf
Merge pull request #8016 from filimonov/kafka_fixes
...
Kafka fixes
2019-12-09 00:03:36 +03:00
alesapin
af7b8f9274
Merge pull request #8051 from ClickHouse/fix_collations_behaviour
...
Fix several bugs with collations.
2019-12-08 11:10:23 +03:00
alesapin
3881a85c39
Review fixes
2019-12-07 01:22:12 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
...
RBAC-2
2019-12-06 03:19:39 +03:00
Nikita Mikhaylov
46478db2f8
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2019-12-05 22:09:15 +03:00
Nikita Mikhaylov
de2d996063
Merge pull request #7786 from nikitamikhaylov/incorrect_count
...
Incorrect count() with condition query result for SummingMergeTree.
2019-12-05 21:56:54 +03:00
Vitaly Baranov
0e21673271
Rework Quota based on IAccessEntity.
2019-12-05 21:03:57 +03:00
Nikita Mikhaylov
4f74974492
fixed warning unique_lock
2019-12-05 17:34:35 +03:00
Nikita Mikhaylov
b6413d4a04
better
2019-12-05 12:52:49 +03:00
Nikita Mikhaylov
9d005d1565
true changes
2019-12-05 12:50:42 +03:00
Mikhail Filimonov
3de3ba336a
Fix Native format in Kafka
2019-12-03 22:12:47 +01:00