Commit Graph

6317 Commits

Author SHA1 Message Date
Vitaly Baranov
0f04ff0749
Merge pull request #9364 from vitlibar/RBAC-6
RBAC-6
2020-03-01 00:19:15 +03:00
Artem Zuikov
380ab37c9b fix transformQueryForExternalDatabase() 2020-02-29 23:27:13 +03:00
alexey-milovidov
03fc1c80bf
Merge pull request #9451 from CurtizJ/fix-ttl-checksums
Fix mismatched checksums with column TTLs
2020-02-29 20:51:43 +03:00
CurtizJ
9448f4710e fix mismatched checksums with column TTLs 2020-02-28 23:29:10 +03:00
alesapin
3725e7d217
Merge pull request #9427 from ClickHouse/trying_to_fix_mutations_finalization_one_more_time
Finalize mutations more frequently
2020-02-28 21:56:22 +03:00
Vitaly Baranov
455fad5919 Add attach mode to access-controlling SQL. 2020-02-28 16:34:18 +03:00
alesapin
bbe7ded486 Remove unused error code 2020-02-28 15:49:34 +03:00
alesapin
fc18f82189 Fix stupid bug with settings alter 2020-02-28 15:44:50 +03:00
Artem Zuikov
fdd1f248d0 Merge branch 'master' into ast 2020-02-28 13:54:33 +03:00
alesapin
9a03d413aa Fix backward compatibility on server side 2020-02-28 12:58:35 +03:00
alesapin
46c6897ab5 Fix backward compatibility on server side 2020-02-28 12:57:45 +03:00
Yatsishin Ilya
0a25fe71bd more docs 2020-02-28 12:19:11 +03:00
alesapin
1b7bf67e2b Merge branch 'master' into CurtizJ-test-backward-compatability 2020-02-28 12:18:41 +03:00
alesapin
5a5792259c Finalize mutations more frequently 2020-02-28 11:55:17 +03:00
alexey-milovidov
b3dfdbc1a0
Merge pull request #9387 from ClickHouse/fix_another_context_related_segfault
Fix Context-related segfault in StorageMerge and destruction order in BlockIO
2020-02-28 03:11:49 +03:00
alexey-milovidov
6c0db94e21
Merge pull request #9394 from nikitamikhaylov/last_successful_update_time
last_successful_update_time in system.dictionaries
2020-02-28 03:03:16 +03:00
Yatsishin Ilya
cf9153e9de Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-02-27 22:52:24 +03:00
Yatsishin Ilya
f1d864a03d add storage test and fix string generator 2020-02-27 18:03:29 +03:00
alesapin
fc7ec08f4d
Update DataPartsExchange.cpp 2020-02-27 15:50:10 +03:00
alesapin
e161cc1424 Fix protocol incompatibility introduced in https://github.com/ClickHouse/ClickHouse/pull/8598 2020-02-27 13:43:38 +03:00
alesapin
4818d0508e Fix style check 2020-02-27 13:11:49 +03:00
Nikita Mikhaylov
c5f47bd976 squashed 2020-02-27 13:07:50 +03:00
mergify[bot]
b655190c2d
Merge pull request #9383 from excitoon-favorites/attachpart
Added a check for storage policy in `cloneAndLoadDataPartOnSameDisk()`
2020-02-26 20:29:30 +00:00
Artem Zuikov
8c90cbbbaa split SyntaxAnalyzer.analyze for selects and others 2020-02-26 22:33:09 +03:00
alexey-milovidov
0584f44a2f
Update MergeTreeData.cpp 2020-02-26 22:22:58 +03:00
Alexander Tokmakov
df8a90319a fix another Context-related segfault 2020-02-26 18:59:47 +03:00
Vladimir Chebotarev
534b3b91cc Added a check for storage policy in cloneAndLoadDataPartOnSameDisk(). 2020-02-26 17:51:01 +03:00
Alexey Milovidov
d8885cb5d3 Fixed ErrorCodes, part 7 2020-02-26 17:18:30 +03:00
Alexey Milovidov
425ed714eb Merge branch 'master' of github.com:yandex/ClickHouse into errorcodes-style 2020-02-26 17:16:22 +03:00
Yatsishin Ilya
d2ab30ec48 implement StorageGenerate 2020-02-26 17:12:07 +03:00
alesapin
bf3d6d2a4d Merge branch 'master' into alter_on_top_of_mutations 2020-02-26 15:21:46 +03:00
alexey-milovidov
d8c692199f
Merge pull request #9365 from ClickHouse/ubsan-index-set
Fixed UBSan report in MergeTreeIndexSet
2020-02-26 13:19:01 +03:00
Alexey Milovidov
029bcc7cd3 Fixed ErrorCodes, part 4 2020-02-25 21:58:28 +03:00
Nikolai Kochetov
f012ae38e4 Fry fix StorageHDFS. 2020-02-25 21:48:25 +03:00
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