Vitaly Baranov
421120b997
Implement SQL queries to manipulate users and grants.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
c604ce1ca5
Add access_with_grant_option to User.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
c9f2713cc4
Remove getting user by name from Context.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
08c6061bdf
Add user_id to Context.
2020-02-06 18:12:54 +03:00
Vitaly Baranov
fb3b755599
Fix granting and revoking access rights.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
328d3a8b08
Add token type '@'.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
291b7c277a
Move some part of the Authentication class to header to allow using in the parser.
2020-02-06 18:12:48 +03:00
Alexander Kuzmenkov
3df25af15f
Merge pull request #8780 from ClickHouse/aku/msan-final
...
Suppress the last two MemorySanitizer failures
2020-02-06 16:34:55 +03:00
Alexander Kuzmenkov
ed90f6167c
Update msan_suppressions.txt
2020-02-06 16:34:11 +03:00
Alexander Kuzmenkov
3fb8dcae55
less flappy
2020-02-06 16:11:02 +03:00
Vitaly Baranov
1e8f04b571
Add to class AllowedClientHost support for like pattern and for removing.
2020-02-06 15:25:32 +03:00
Alexander Kuzmenkov
d9073f27b7
Revert "Merge pull request #9025 from ClickHouse/revert-8303-cache-dictionary"
...
This reverts commit 24bdad3768
, reversing
changes made to dad4f03a8f
.
2020-02-06 15:18:19 +03:00
Alexander Kuzmenkov
7f9bab3fc5
Merge pull request #8985 from ClickHouse/aku/demangle-faster
...
Avoid extra copying when demangling names.
2020-02-06 14:57:56 +03:00
Alexander Kuzmenkov
115c89f057
less slow
2020-02-06 14:51:22 +03:00
Nicolae Vartolomei
949b498d37
Always wait for all background INSERTs to finish to catch stuck queries
2020-02-06 11:44:15 +00:00
Nicolae Vartolomei
0939a9460f
Modify Materialized View query
2020-02-06 08:57:54 +00:00
Vasily Nemkov
9b64a963c4
Fixed buffer overflow on decoding small sequences with Gorilla and DoubleDelta
...
* When decoding 0 items with Gorilla
* When decoding 1 or 0 items with DoubleDelta
2020-02-06 16:37:21 +08:00
alesapin
29a26a87b4
Merge pull request #9022 from ClickHouse/mutations_parts_to_do_fix
...
Fix mutations finalization task
2020-02-06 11:26:13 +03:00
alesapin
790ef52aef
Merge pull request #9024 from CurtizJ/fix-range-reader
...
Fix prewhere optimization.
2020-02-06 11:25:59 +03:00
Alexander Tokmakov
180b5d409d
fix poco secure sockets timeouts
2020-02-05 23:45:16 +03:00
Alexander Kuzmenkov
189a6e65c5
boop
2020-02-05 23:07:39 +03:00
CurtizJ
db47ef923c
fix prewhere
2020-02-05 19:42:27 +03:00
alesapin
1923930379
Fix mutations finalization task
2020-02-05 19:30:02 +03:00
Alexander Kuzmenkov
3368af109e
Explicit values are more conspicuous.
2020-02-05 18:08:54 +03:00
Alexander Kuzmenkov
64576c6a7a
Less flappy performance test queries
2020-02-05 17:49:19 +03:00
chertus
af84814e51
fix for T64 data incompatibility
2020-02-05 17:25:33 +03:00
Slach
23b787c0d6
actualize description of system.metrics.TCPConnection
...
add system.metrics.MySQLConnection
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-02-05 19:06:46 +05:00
Alexander Kuzmenkov
64bcb78812
use proper length
2020-02-05 13:24:24 +03:00
Artem Zuikov
8c23840cc8
ExpressionActions refactoring: extract ArrayJoinAction class ( #8998 )
...
refactoring: extract ArrayJoinAction class
2020-02-05 13:12:19 +03:00
Alexander Kuzmenkov
7b898ec871
style
2020-02-04 16:31:15 +03:00
Guillaume Tassery
a79a9cf078
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants
2020-02-04 05:09:12 +01:00
Alexander Kuzmenkov
cbcb7895e4
Avoid extra copying when demangling names.
2020-02-03 22:51:26 +03:00
alexey-milovidov
e24926d16e
Merge pull request #8952 from azat/getSerializedSize
...
Add blockSerializedSize() function (size on disk without compression)
2020-02-03 15:46:26 +03:00
alexey-milovidov
59ef2b2009
Merge pull request #8963 from millb/CRLF_in_TSV
...
CRLF in TSV output format
2020-02-03 15:44:59 +03:00
alexey-milovidov
5689bef818
Merge pull request #8967 from CurtizJ/attach-if-not-exists
...
Fix query 'ATTACH TABLE IF NOT EXISTS'
2020-02-03 15:41:57 +03:00
CurtizJ
a5b5cb2e94
fix query 'ATTACH TABLE IF NOT EXISTS'
2020-02-03 13:38:09 +03:00
Guillaume Tassery
4189a0d70b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants
2020-02-03 10:46:37 +01:00
Azat Khuzhin
e89ceae61a
Add blockSerializedSize() function (size on disk without compression)
...
Sometimes it is useful to know how much does this data will take on
disk, with blockSerializedSize() you can know this (although without
compression).
This can be a major knowledge for various aggregation functions that
tracking some state (i.e. uniqCombined).
2020-02-03 11:26:40 +03:00
Azat Khuzhin
f979ce31ca
Add NullWriteBuffer
2020-02-03 11:26:04 +03:00
Mikhail Korotov
a8c9385346
Test added
2020-02-03 10:57:52 +03:00
millb
0d91aff981
Code added
2020-02-03 10:40:12 +03:00
alexey-milovidov
c793f30873
Merge pull request #8954 from ClickHouse/os-thread-id
...
Use OS thread id everywhere instead of internal thread number.
2020-02-03 03:57:35 +03:00
Alexey Milovidov
e1e69771a0
Fixed error in JSONEachRow
2020-02-03 03:04:08 +03:00
Andrew Onyshchuk
15bad674a0
Add AvroConfluent integration test
2020-02-02 18:02:19 -06:00
alexey-milovidov
baf218b431
Merge pull request #8932 from 4ertus2/debt
...
Rename ANY INNER to SEMI JOIN for partial merge join
2020-02-03 01:53:52 +03:00
Alexey Milovidov
afbb3fca46
Added a test from Vasily Nemkov #8813
2020-02-03 00:11:49 +03:00
Alexey Milovidov
1aedbb3806
Merge branch 'master' of github.com:yandex/ClickHouse
2020-02-03 00:04:36 +03:00
alexey-milovidov
bf4887a33d
Merge pull request #8822 from millb/Prohibition_secondary_index_with_old_format_merge_tree
...
Prohibition secondary index with old syntax merge tree
2020-02-03 00:04:04 +03:00
alexey-milovidov
d1bfacae4b
Merge pull request #8953 from oandrew/avro-fixes-confluent
...
AvroConfluent fixes
2020-02-03 00:00:24 +03:00
Alexey Milovidov
1463764199
Removed useless code (found by PVS Studio)
2020-02-02 23:59:18 +03:00
Alexey Milovidov
d7a6951344
Updated test #8938
2020-02-02 23:26:55 +03:00
alexey-milovidov
9e0b40bf09
Revert "Build fixes"
2020-02-02 23:21:49 +03:00
Alexey Milovidov
fc17853c5a
Added missing range check to function h3HexAreaM2 #8938
2020-02-02 23:13:06 +03:00
Alexey Milovidov
d11f3cb78f
Changed thread_id to UInt64 to support more OS
2020-02-02 23:01:13 +03:00
Alexey Milovidov
5feb40cb6f
Updated test
2020-02-02 22:49:53 +03:00
alexey-milovidov
d213f5beae
Update h3EdgeLengthM.cpp
2020-02-02 19:22:59 +03:00
chertus
d2e8b24970
better compatibility in EngineJoin
2020-02-02 19:12:48 +03:00
chertus
8c371ed75f
syntax ANY INNER to SEMI LEFT JOIN rewrite
2020-02-02 17:07:50 +03:00
proller
96cfd0b6c2
Merge remote-tracking branch 'upstream/master' into fix27
2020-02-02 14:55:15 +03:00
Andrew Onyshchuk
b236f7a3ae
Do not rethrow Poco exception
2020-02-01 22:06:20 -06:00
Alexey Milovidov
39b31907b5
Rename function #7477
2020-02-02 05:35:47 +03:00
Alexey Milovidov
f9eb4e79f6
Using OS tid everywhere #7477
2020-02-02 05:28:14 +03:00
alexey-milovidov
c1535e10d4
Merge pull request #8813 from CurtizJ/merging-in-arrays
...
Merging #5342 (IN with function result).
2020-02-02 04:33:54 +03:00
alexey-milovidov
ef2346b0fa
Update ActionsVisitor.cpp
2020-02-02 04:33:13 +03:00
alexey-milovidov
3a1e3f612e
Merge branch 'master' into idisk-seekable-readbuffer
2020-02-02 03:54:50 +03:00
Andrew Onyshchuk
927e572d39
AvroConfluent bugfixes
2020-02-01 18:53:11 -06:00
alexey-milovidov
185d11ad72
Merge pull request #8938 from nmandery/h3-hierarchy-master
...
implement more functions of the H3 library
2020-02-02 03:41:01 +03:00
alexey-milovidov
46583b2c60
Merge pull request #8835 from ClickHouse/alter-partition-dont-allow-strange-expressions
...
Don't allow strange expressions in ALTER ... PARTITION query
2020-02-02 03:36:59 +03:00
alexey-milovidov
eeacc97d2f
Merge pull request #8852 from vitlibar/RBAC-4
...
RBAC-4
2020-02-02 03:35:31 +03:00
alexey-milovidov
dbf998cc30
Merge pull request #8947 from ClickHouse/sum-map-add-perf-test
...
Added performance test for sumMap
2020-02-02 03:35:04 +03:00
alexey-milovidov
4fcf041383
Merge pull request #8945 from ClickHouse/h3-range-check
...
Added range check to function h3EdgeLengthM
2020-02-02 03:34:05 +03:00
alexey-milovidov
df44bfa771
Merge pull request #8950 from Alex-Burmak/s3_min_upload_part_size
...
Support of s3_min_upload_part_size setting in DiskS3
2020-02-02 03:33:50 +03:00
alexey-milovidov
b4b30202b1
Merge pull request #8949 from oandrew/avro-fixes
...
Avro format improvements
2020-02-02 03:33:20 +03:00
Andrew Onyshchuk
16d4990088
Get rid of SkipFnHolder
2020-02-01 11:13:50 -06:00
Vitaly Baranov
63079c40c2
Optimize access checking.
2020-02-01 17:31:25 +03:00
Alexander Burmak
0c0ad54366
Support of s3_min_upload_part_size setting in DiskS3
2020-02-01 12:28:04 +03:00
Andrew Onyshchuk
b84d5c2139
Add support for references
2020-01-31 22:13:12 -06:00
Andrew Onyshchuk
1b308142d6
Support for AVRO_FIXED inserted into String
2020-01-31 18:11:51 -06:00
Alexey Milovidov
bafc5aa7b7
Added performance test for sumMap
2020-02-01 02:01:02 +03:00
alexey-milovidov
8253134739
Merge pull request #8935 from millb/CRLF_in_CSV_2
...
CRLF in CSV output format
2020-02-01 01:52:44 +03:00
alexey-milovidov
45497b4ed6
Merge pull request #8940 from ClickHouse/show-tables-not-like
...
Fixed ridiculous bug #8727
2020-02-01 01:44:51 +03:00
Alexey Milovidov
9701b006af
Merge branch 'master' of github.com:yandex/ClickHouse
2020-01-31 23:24:30 +03:00
Alexey Milovidov
ef0a6000e4
Add test
2020-01-31 23:24:18 +03:00
alexey-milovidov
d20bae03fb
Merge pull request #8908 from azat/fixes
...
Tiny fixes
2020-01-31 23:22:30 +03:00
alexey-milovidov
41fb856da2
Merge pull request #8933 from bgiard/summing_merge_tree_strings
...
String keys in SummingMergeTree maps
2020-01-31 23:20:46 +03:00
Alexey Milovidov
b6761d31f3
Added range check to function h3EdgeLengthM
2020-01-31 23:16:46 +03:00
Alexey Milovidov
6f0114910f
Added test #8727
2020-01-31 21:43:29 +03:00
Alexey Milovidov
1b24968b48
Fixed ridiculous bug #8727
2020-01-31 21:42:08 +03:00
Mikhail Korotov
c1bb0d953c
fixed test
2020-01-31 21:31:51 +03:00
Mikhail Korotov
92889d846f
solved conflict
2020-01-31 21:29:30 +03:00
Mikhail Korotov
f170a19eb3
Test style fixed
2020-01-31 21:25:21 +03:00
Nico Mandery
23c9902433
h3 hierarchical functions and string conversion
2020-01-31 18:49:17 +01:00
Vitaly Baranov
caeed69fe0
Change access rights dynamically when users.xml is edited.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
10c912dab2
Rewrite the User class to be controlled by AccessControlManager.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
168002376b
Remove old access rights checking code.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
a5a2fe1260
Change test '00305_http_and_readonly' because DROP TABLE IF EXISTS now works in readonly mode in case the table doesn't exist.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
2aa58193c8
Check access rights via new interface.
2020-01-31 20:27:28 +03:00
Vitaly Baranov
9e910222da
Add interfaces to check access rights.
2020-01-31 19:23:33 +03:00
Vitaly Baranov
6a8a69fd0c
Use the generic class ext::scope_guard for subscriptions in IAccessStorage instead of a special class.
2020-01-31 19:23:33 +03:00
tavplubix
d43d84e71d
Merge pull request #8899 from achulkov2/issue-8864_show_create_table_bad_error_message
...
Issue 8864 show create table bad error message
2020-01-31 19:10:21 +03:00