Commit Graph

40135 Commits

Author SHA1 Message Date
Vitaly Baranov
b1f362b2dc Add system table for access types. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723 Add system tables for settings profiles. 2020-05-14 14:12:15 +03:00
Vitaly Baranov
5b84121d81 Improve system tables for quotas. Remove function currentQuota(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6 Improve system table for row policies. Remove function currentRowPolicies(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
9a89a04c1f Improve TSV class in test tools: now it can get a table as a list of lists. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b6fe726777 Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
This change simplifies the interface of IAccesEntity.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
6f15a0d443 Improve the function range() to allow iterating through enum values. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
c7213ab607 Use boost::flat_set instead of vector to store current and enabled roles. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
b93a15ef36 Refactoring of settings profiles to store setting_index instead of setting_name. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f Refactoring of getting information about access rights. 2020-05-13 19:40:33 +03:00
Alexey Milovidov
88039e8371 Fix data rot @blinkov 2020-05-13 01:17:32 +03:00
Alexey Milovidov
e5330b4ba7 Documentation: fix broken link 2020-05-13 01:12:11 +03:00
BayoNet
f2e2e993e5
DOCS-289: randConstant (#10838)
* DOCSUP-778 (#111)

* docs(randConstant): add description

* docs(randConstant): edit link

* docs(randConstant): corrections after review

* docs(randConstant): add description in Russian

Co-authored-by: egilmanova <egilmanova@yandex-team.ru>

* CLICKHOUSEDOCS-289: Updated descriptions.

* CLICKHOUSEDOCS-289: Fixed links.

* Update docs/ru/sql-reference/functions/random-functions.md

Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update docs/en/sql-reference/functions/random-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: egilmanova <63861789+egilmanova@users.noreply.github.com>
Co-authored-by: egilmanova <egilmanova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-12 19:37:21 +03:00
Alexander Kuzmenkov
9edb0ba293
Update performance_comparison.md 2020-05-12 18:45:48 +03:00
alexey-milovidov
6053f012b8
Merge pull request #10833 from ClickHouse/column-vector-additional-assert
Additional assert in ColumnVector
2020-05-12 18:00:22 +03:00
alexey-milovidov
6cba2dac3a
Merge pull request #10834 from ClickHouse/fix-msan-failure-cache-dictionary
Fix MSan failure in cache dictionary
2020-05-12 17:58:40 +03:00
Ivan Blinkov
0e2d423aac
fix docs build 2020-05-12 17:20:47 +03:00
Ivan Blinkov
84a8b21df9
Adjust ld+json images, remove feather icons (#10843)
* [docs] adjust ld+json images

* rm feathericons
2020-05-12 17:17:26 +03:00
Ivan Blinkov
8771402cb5
[docs] faster local/debug build (#10840) 2020-05-12 17:09:36 +03:00
Ivan Blinkov
ff0ae624ef
CLICKHOUSE-4862: some markdown fixes @ ru mergetree.md (#10835) 2020-05-12 12:49:36 +03:00
Ivan Blinkov
723bebafb1
CLICKHOUSE-4862: fix link (#10836) 2020-05-12 12:32:28 +03:00
Ivan Blinkov
2521a37c94
Some fixes at ru merge-tree-settings.md (#10837) 2020-05-12 12:30:08 +03:00
Alexey Milovidov
d38e6b6840 Fix MSan failure in cache dictionary 2020-05-12 08:43:42 +03:00
Alexey Milovidov
c811e1f0d0 Fix double whitespace 2020-05-12 06:41:45 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
Alexey Milovidov
1d7b9b2cf2 Additional assert in ColumnVector 2020-05-12 06:37:21 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
alexey-milovidov
a6f55a90cc
Merge pull request #10828 from ClickHouse/clickhouse-better-dns-exception-message
Better DNS exception message
2020-05-12 05:15:43 +03:00
Alexey Milovidov
2dd1a1d7b4 Fix paths in compiler error messages #10434 2020-05-12 05:12:08 +03:00
Alexey Milovidov
f26f8b99dc Fix "Arcadia" build 2020-05-12 04:28:53 +03:00
Azat Khuzhin
b963085920 Fix style check in Block::sortColumns() (sigh) 2020-05-12 04:04:25 +03:00
Azat Khuzhin
4de7d7a84f Sort iterators to avoid extra std::string creation in Block::sortColumns()
Since std::string is pretty heavy.

Suggested-by: @alexey-milovidov
2020-05-12 03:53:08 +03:00
Azat Khuzhin
0e117abd2b Optimize Block::sortColumns()
Suggested-by: @alexey-milovidov
2020-05-12 03:45:50 +03:00
alexey-milovidov
3f46f35aa1
Merge pull request #10823 from ClickHouse/vitaly-stoyan-patch
Added a patch from Vitaly Stoyan for internal Arcadia repository
2020-05-12 03:43:31 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
b56e62ddf6 Better DNS exception message 2020-05-12 03:11:58 +03:00
Alexey Milovidov
f61576fdfa Fix logical error in convertFieldToType 2020-05-12 02:53:03 +03:00
Azat Khuzhin
ce26c09d02 Make order of columns strict in Block::sortColumns()
Before it depends on the buckets, since it uses plain unordered_set.
2020-05-12 02:50:42 +03:00
Azat Khuzhin
eb97afa9be Add a test for INSERT into Buffer() with different order of columns (via MV) 2020-05-12 02:50:42 +03:00
alexey-milovidov
5115ac26c7
Merge pull request #10821 from ClickHouse/fix-odbc-bridge-clickhouse
Fix the issue with ODBC bridge and identifier_quoting_style = None #7984
2020-05-12 00:32:22 +03:00
alexey-milovidov
46e41f8d86
Update FunctionFactory.h 2020-05-12 00:22:34 +03:00
alexey-milovidov
4a4961fb10
Update FunctionFactory.cpp 2020-05-12 00:21:40 +03:00
Alexey Milovidov
4a142a44a0 Added a patch from Vitaly Stoyan 2020-05-12 00:18:50 +03:00
Alexey Milovidov
25cf842491 Fix the issue with ODBC bridge and identifier_quoting_style = None #7984 2020-05-11 23:05:08 +03:00
alexey-milovidov
caced89773
Merge pull request #10794 from mnkonkova/grpc-cmake
grpc protobuf
2020-05-11 20:44:04 +03:00
alexey-milovidov
71fbc33cbc
Merge pull request #10820 from ClickHouse/split-build-smoke-test-fix
Fix test with obvious race condition
2020-05-11 20:39:45 +03:00
Alexey Milovidov
d9b1d49ed0 Fix test with obvious race condition 2020-05-11 20:32:26 +03:00
Alexey Milovidov
cb72b332e6 utils/generate-ya-make$ ./generate-ya-make.sh 2020-05-11 20:21:57 +03:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00