Alexey Milovidov
7228c48be5
Added missing ErrorCodes, part 4
2020-02-25 21:20:38 +03:00
Alexey Milovidov
8f90c6ec12
Fixed ErrorCodes, part 3
2020-02-25 21:20:08 +03:00
Alexey Milovidov
cb6cd2ffbb
Added missing ErrorCodes, part 2
2020-02-25 21:10:48 +03:00
Alexey Milovidov
766ae8261a
Added some missing ErrorCodes
2020-02-25 21:02:41 +03:00
Alexey Milovidov
3602126a1e
Remove unused ErrorCodes
2020-02-25 17:35:37 +03:00
alesapin
a9540773a2
Remove useless branch
2020-02-25 17:02:53 +03:00
Alexey Milovidov
88f0be8933
dbms/src/Storages/StorageMergeTree.cpp
2020-02-25 16:57:33 +03:00
alesapin
f54ade41f2
Misused if
2020-02-25 16:48:23 +03:00
alesapin
96a789336f
Changes for compact parts
2020-02-25 16:46:45 +03:00
alesapin
dc62ce17e6
Fix mutations for polymorphic parts
2020-02-25 16:20:07 +03:00
Alexey Milovidov
86c28d9731
Minor modifications
2020-02-25 15:21:11 +03:00
Alexey Milovidov
4e935c684a
Removed strange code from MergeTreeIndexSet
2020-02-25 15:12:16 +03:00
alesapin
f5f55988f8
Fix materialize ttl
2020-02-25 13:50:17 +03:00
CurtizJ
0a8b0c86cf
optimization for one-element tuples at 'in'
2020-02-25 12:59:18 +03:00
alesapin
cb1b899cd8
Hopefully merged with matser
2020-02-25 12:49:45 +03:00
alesapin
451bace1d5
Merge with master
2020-02-25 11:53:14 +03:00
Alexey Milovidov
21270b587e
Remove unused headers files
2020-02-24 18:11:54 +03:00
CurtizJ
e5fad6d753
Merge remote-tracking branch 'upstream/master' into alter-ttl
2020-02-23 18:40:42 +03:00
alexey-milovidov
afc306091b
Merge pull request #9262 from ClickHouse/fix_expressions_in_metadata
...
Fix expressions in metadata
2020-02-23 04:32:55 +03:00
alexey-milovidov
c9cf1656b9
Merge branch 'master' into fix/ISSUES-8971
2020-02-23 04:16:23 +03:00
Alexey Milovidov
c902b27e25
Whitespaces
2020-02-23 04:04:59 +03:00
alexey-milovidov
1950923433
Merge branch 'master' into polymorphic-parts
2020-02-22 20:56:27 +03:00
Alexander Tokmakov
ac0e2c2256
Merge branch 'master' into fix_expressions_in_metadata
2020-02-22 16:42:45 +03:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
...
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexander Tokmakov
d6205fa4fa
Merge branch 'master' into fix_expressions_in_metadata
2020-02-22 03:17:15 +03:00
robot-clickhouse
473e1eac6f
Auto version update to [20.3.1.1] [54433]
2020-02-22 00:35:33 +03:00
Alexey Milovidov
0dbd885679
Reading the code of ALTER MOVE PARTITION
2020-02-21 19:57:40 +03:00
CurtizJ
14daa51cec
add comments
2020-02-21 19:53:33 +03:00
Alexander Tokmakov
db669cef63
Merge branch 'master' into fix_expressions_in_metadata
2020-02-21 18:22:52 +03:00
alexey-milovidov
1e8389eceb
Merge pull request #8929 from ClickHouse/more-processors-for-storages
...
More processors for storage::read
2020-02-21 17:39:12 +03:00
alexey-milovidov
abe8315861
Merge pull request #9258 from Jokser/disk-s3-read-write-buffers-refactoring
...
Disk->writeFile() returns WriteBufferFromFileBase.
2020-02-21 17:28:49 +03:00
Alexander Tokmakov
e117e5838e
fixes
2020-02-21 16:44:44 +03:00
Nikolai Kochetov
30d41b34ba
Merged with master
2020-02-21 11:47:56 +03:00
Vitaly Baranov
244c9d5325
Add class GenericRoleSet to represent a set of IDs of users and roles.
2020-02-21 00:57:42 +03:00
Vitaly Baranov
ed2061db8a
Better pointers: std::shared_ptr<const QuotaContext> instead of std::shared_ptr<QuotaContext>, boost::atomic_shared_ptr instead of std::atomic_load/store.
2020-02-21 00:57:42 +03:00
alesapin
f06bcee7bc
Merge with master
2020-02-20 22:36:36 +03:00
alexey-milovidov
d4381d7976
Merge pull request #9217 from ClickHouse/fix_mutations_finalization_one_more_time
...
Fix remove parts from mutations
2020-02-20 21:47:27 +03:00
alexey-milovidov
4433947670
Merge pull request #9227 from ClickHouse/simplier_alter_prepare
...
Simplier alter prepare
2020-02-20 21:45:27 +03:00
alexey-milovidov
81f52614fd
Merge pull request #9255 from abyss7/log-alias
...
Don't use refs on vanishing objects
2020-02-20 21:16:32 +03:00
Pavel Kovalenko
e5b81aefe3
WriteBufferFromFileBase interface refactoring.
...
Disk->writeFile() returns WriteBufferFromFileBase.
DiskMemory read/write buffers refactoring.
2020-02-20 19:39:32 +03:00
alexey-milovidov
a1193cbbf8
Merge pull request #9128 from Jokser/storage-stripe-log-s3
...
Storage Stripe Log S3 support.
2020-02-20 19:01:36 +03:00
Ivan Lezhankin
d211b1a482
Don't use refs on vanishing objects
2020-02-20 18:40:23 +03:00
Nikolai Kochetov
cca4d4e296
More comments and remove spaces.
2020-02-20 17:40:58 +03:00
Alexander Tokmakov
c492ee93d9
fold constant expressions in storage engine arguments
2020-02-20 17:13:43 +03:00
alexey-milovidov
5d4a85488e
Merge pull request #9231 from abyss7/log-alias
...
Get marks from first non-alias column in Log storage
2020-02-20 16:20:21 +03:00
Ivan Lezhankin
ee2cb00aa1
Use getAllPhysical()
2020-02-20 15:46:27 +03:00
CurtizJ
3f7f13ce05
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-02-20 15:36:55 +03:00
alesapin
a576811c45
Better error codes and exception messages, remove duplicated headers
2020-02-20 13:48:48 +03:00
alesapin
cbd8b697c4
Better error codes and exception messages, remove duplicated headers
2020-02-20 13:04:15 +03:00
Alexander Kazakov
5a67c02a5d
In KeyCondition: Fixed execution of inversed predicates for non-strictly monotinic functional index ( #9223 )
...
* Tests for functional index
* Fixed execution of inversed predicates in functional index
When non-strictly monotonic functional index is used inverted predicated
may be executed incorrectly, which leads to multiple problems: #8821 ,
#9034
2020-02-20 12:53:02 +03:00
alesapin
0034674330
Fix tests and small bug
2020-02-20 12:22:42 +03:00
alesapin
5282f8b59c
Fix tests and small bug
2020-02-20 12:22:17 +03:00
CurtizJ
2f30a1350b
pass proper time for TTL
2020-02-20 03:24:05 +03:00
Ivan Lezhankin
894c451cf0
Get marks from first non-alias column in Log storage
2020-02-19 21:06:18 +03:00
CurtizJ
803d9da496
add test for mutations with TTL
2020-02-19 20:18:12 +03:00
Nikolai Kochetov
39916dd01a
Remove readWithProcessors from IStorage.
2020-02-19 19:09:31 +03:00
Nikolai Kochetov
a3c4b2e922
Remove readWithProcessors from IStorage.
2020-02-19 19:07:28 +03:00
Nikolai Kochetov
e0c30259fb
Remove readWithProcessors from IStorage.
2020-02-19 19:02:37 +03:00
alesapin
60118b65d5
Better
2020-02-19 18:12:32 +03:00
alesapin
c4972b3799
Better
2020-02-19 18:07:02 +03:00
Pavel Kovalenko
d4fa60f52d
Rename disk_name -> disk.
2020-02-19 17:50:39 +03:00
alesapin
6020f2fd4a
Remove redundant function
2020-02-19 17:50:11 +03:00
alesapin
d5b4ddf6d8
Simplier alter modify logic
2020-02-19 17:49:59 +03:00
alesapin
28b2a03b08
First version
2020-02-19 17:49:45 +03:00
alesapin
7a9b96a8f9
Remove redundant function
2020-02-19 17:43:34 +03:00
alesapin
3f29ea0756
Simplier alter modify logic
2020-02-19 17:39:01 +03:00
CurtizJ
23592991e6
comments and refactoring
2020-02-19 17:07:36 +03:00
alesapin
3b4c27b0de
Fix remove parts from mutations
2020-02-19 15:55:23 +03:00
alesapin
6f266c94ed
Trying to simplify alter commands logic
2020-02-19 15:52:27 +03:00
alesapin
ad51369982
Fix remove of actual_part from mutations
2020-02-19 15:50:11 +03:00
alesapin
6eda5547a2
Revert redundant change
2020-02-19 15:00:45 +03:00
Pavel Kovalenko
d662c1e006
Merge branch 'master' into storage-stripe-log-s3
2020-02-19 13:24:23 +03:00
Nikolai Kochetov
4fa6c86114
Fix StorageHDFS.
2020-02-19 13:22:44 +03:00
Nikolai Kochetov
70a7ddc172
Fix StorageURL
2020-02-19 13:17:49 +03:00
alexey-milovidov
b063dbeaf2
Merge pull request #8598 from excitoon-favorites/passttlsoverhttp
...
Pass TTL rule info with block to other replicas
2020-02-19 12:09:25 +03:00
alexey-milovidov
c5d5c9c11e
Merge pull request #9192 from nvartolomei/nv/format-version-file-typo
...
Fix typo in file name when reporting version file duplicates
2020-02-19 11:59:22 +03:00
alexey-milovidov
1c66c2f383
Merge pull request #9201 from CurtizJ/fix-range-reader
...
Fix mistake introduced in #9050 .
2020-02-19 11:58:21 +03:00
alesapin
c2d53438e1
Less flappy test and more comments
2020-02-19 11:45:09 +03:00
CurtizJ
dea444b69c
fix mistake in MergeTreeDataSelectExecutor
2020-02-19 00:00:51 +03:00
alesapin
f4b2be7b32
Remove parts from mutations on replica start
2020-02-18 22:57:48 +03:00
Pavel Kovalenko
ff50a51757
Formatting issues.
2020-02-18 22:13:37 +03:00
CurtizJ
b0f7905567
better TTL calculations with mutations
2020-02-18 22:03:40 +03:00
alesapin
1f4b42a99f
Fix bug in initialization
2020-02-18 20:31:49 +03:00
Nikolai Kochetov
69a38958b4
fix PVS warning.
2020-02-18 19:23:29 +03:00
Pavel Kovalenko
05ceef4ef8
Log family storages disk support via 'SETTINGS' clause.
2020-02-18 17:41:30 +03:00
Nikolai Kochetov
3f55e6a499
Processors support for StorageFromMergeTreeDataPart reading.
2020-02-18 17:24:33 +03:00
Nicolae Vartolomei
b612cbf7d8
Fix typo in file name when reporting version file duplicates
2020-02-18 11:44:16 +00:00
alesapin
b3fe0b51a1
Merge branch 'master' into alter_on_top_of_mutations
2020-02-18 14:32:12 +03:00
alesapin
db3ea6cca8
Better comments
2020-02-18 14:31:24 +03:00
CurtizJ
49c80c88ef
Merge remote-tracking branch 'upstream/master' into alter-ttl
2020-02-18 10:58:07 +03:00
Nikolai Kochetov
e6a30feed0
Fix build.
2020-02-18 10:53:16 +03:00
Pavel Kovalenko
33443c4bea
Merge branch 'master' into storage-stripe-log-s3
...
# Conflicts:
# dbms/src/Compression/CompressedReadBufferFromFile.h
# dbms/src/IO/ReadBufferFromFileBase.h
2020-02-18 00:29:09 +03:00
CurtizJ
2ff030be35
recalculate TTL expressions during mutations
2020-02-17 23:39:24 +03:00
alesapin
a084ee8edd
Fix style
2020-02-17 21:09:04 +03:00
alesapin
38450ccb6e
Slightly better code
2020-02-17 21:07:22 +03:00
Nikolai Kochetov
bdaeafffc1
Processors support for StorageLiveView reading.
2020-02-17 19:37:18 +03:00
Nikolai Kochetov
fbfaac6391
Processors support for StorageLiveView reading.
2020-02-17 19:35:23 +03:00
alesapin
382f6ab720
More comments and slightly better code
2020-02-17 19:33:05 +03:00
Nikolai Kochetov
34d7873524
Processors support for StorageKafka reading.
2020-02-17 19:08:22 +03:00
alesapin
6a02b99faf
Slightly refactor merger mutator
2020-02-17 18:44:13 +03:00
Nikolai Kochetov
98b6ad4eff
Processors support for StorageXDBC reading.
2020-02-17 18:33:16 +03:00
Nikolai Kochetov
dda0bcb9ba
Processors support for StorageXDBC reading.
2020-02-17 18:32:27 +03:00
Nikolai Kochetov
728ece09f1
Processors support for StorageView reading.
2020-02-17 18:27:51 +03:00
Nikolai Kochetov
4cc3eaa9ce
Processors support for StorageValues reading.
2020-02-17 18:07:42 +03:00
Nikolai Kochetov
5372942aef
Processors support for StorageURL reading.
2020-02-17 18:01:03 +03:00
Nikolai Kochetov
df76f1fe56
Processors support for StorageTinyLog reading.
2020-02-17 17:45:10 +03:00
Ivan Lezhankin
102dad0ca0
Merge branch 'master' into arcadia
2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034
More clean-up
2020-02-17 17:27:09 +03:00
alesapin
b59fd72f34
Remove comment
2020-02-17 16:48:59 +03:00
alesapin
55192a652f
Less changes
2020-02-17 16:41:53 +03:00
alesapin
72ed29f1e8
Remove some garbage from code
2020-02-17 16:35:17 +03:00
alesapin
e531e0a0ab
Add test with bad alter
2020-02-17 16:20:09 +03:00
alesapin
47c649f6c3
Fix all style warnings
2020-02-17 15:47:34 +03:00
Alexey Milovidov
809b409426
Read the code
2020-02-17 15:44:58 +03:00
alesapin
777dfc774d
One more test
2020-02-17 15:42:53 +03:00
Nikolai Kochetov
34e32db810
Fix build.
2020-02-17 14:55:32 +03:00
Nikolai Kochetov
bbdac39d2d
Fix build.
2020-02-17 14:50:53 +03:00
alesapin
0a5403185c
Add test for parallel detach and fix some bugs.
2020-02-17 14:31:42 +03:00
Nikolai Kochetov
f4d5175a12
Fix build.
2020-02-17 14:26:09 +03:00
Pavel Kovalenko
f9965a7d29
Merge branch 'master' into storage-stripe-log-s3
...
# Conflicts:
# dbms/tests/config/disks.xml
2020-02-17 13:46:06 +03:00
Nikolai Kochetov
4599fbd798
Added force_tree_shaped_pipeline flag to SelectQueryInfo.
2020-02-17 13:42:14 +03:00
Nikolai Kochetov
9b2d03f58c
Fix StorageMerge.
2020-02-17 12:26:15 +03:00
alesapin
659fba4b97
Fix constraints
2020-02-17 11:57:59 +03:00
Alexey Milovidov
b88238dffc
Added 9th reason why parts can appear to be non byte-identical after download
2020-02-17 08:16:48 +03:00
alexey-milovidov
41c883ace3
Merge pull request #8911 from millb/secure_password
...
Changed format for path in replicas
2020-02-16 07:17:12 +03:00
alexey-milovidov
6f51f089ec
Merge pull request #9138 from ClickHouse/system-replicas-add-zookeeper-exception-column
...
Add zookeeper_exception column to system.replicas table.
2020-02-16 06:14:22 +03:00
Alexey Milovidov
4ae404f794
Implement #9137
2020-02-15 03:13:00 +03:00
Alexey Milovidov
07479236d7
Implement #9137
2020-02-15 03:11:09 +03:00
alexey-milovidov
38c4f3ed84
Merge pull request #9131 from ClickHouse/better_temporary_live_view_syntax
...
Better CREATE syntax for temporary LIVE VIEW
2020-02-15 02:55:37 +03:00
alexey-milovidov
db1c67e3e3
Merge pull request #9100 from ClickHouse/issue-9094
...
Prevent abort on shutdown if the fs is readonly
2020-02-15 02:38:37 +03:00
CurtizJ
cb9936cbc4
better checking if we can use polymorphic parts
2020-02-15 00:33:02 +03:00
alesapin
88f46ac636
Add alters only for new mutations
2020-02-14 23:13:57 +03:00
Alexander Tokmakov
6889951396
better syntax for temporary LIVE VIEW
2020-02-14 21:20:20 +03:00
Nikolai Kochetov
1685c4d689
Fix build.
2020-02-14 20:50:27 +03:00
Nikolai Kochetov
52a63275ea
Merge with master.
2020-02-14 20:47:39 +03:00
Pavel Kovalenko
06e203d004
StorageStripeLog S3 support.
2020-02-14 17:28:33 +03:00
alesapin
42d0e27bfa
Fix tests and bugs
2020-02-14 16:17:50 +03:00
alesapin
39e79bb1a2
Remove header
2020-02-14 14:16:45 +03:00
alesapin
11f30dcc61
Remove more comments
2020-02-14 14:15:05 +03:00
Nikolai Kochetov
96b5ef8459
Processors support for StorageStripeLog reading.
2020-02-14 13:57:09 +03:00
alesapin
389292f579
Removed alter thread
2020-02-14 13:35:39 +03:00
alesapin
958e217499
Additional metadata
2020-02-14 13:34:54 +03:00
Nikolai Kochetov
0766e46bcd
Fix StorageFile.
2020-02-14 13:22:05 +03:00
alesapin
527325ef46
Correct startup logic
2020-02-14 13:17:04 +03:00
CurtizJ
ddb3a55f67
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-02-14 13:15:16 +03:00
alesapin
d9ebec472b
More simple
2020-02-14 12:24:00 +03:00
CurtizJ
7041e28077
fix segfault in MergeTreeRangeReader
2020-02-14 00:20:35 +03:00
alesapin
199c22c363
Better naming
2020-02-13 23:09:48 +03:00
alesapin
78d42142cf
Better
2020-02-13 19:16:09 +03:00
alesapin
8c160c7905
Better
2020-02-13 17:48:38 +03:00