Commit Graph

37874 Commits

Author SHA1 Message Date
Vitaly Baranov
5cd7b58499 Fix reusing connection after changing user's default settings via ALTER USER or ALTER SETTINGS PROFILE.
This fixes integration test "test_settings_constraints_distributed".
2020-03-31 18:08:01 +03:00
Ivan Blinkov
23c34f8b5e
fix mistype 2020-03-31 10:18:18 +03:00
Ivan Blinkov
1a7cdfb18b
Try to get rid from httpd context manager (#9952)
* Try to get rid from httpd context manager

* Update build.py
2020-03-31 10:01:12 +03:00
Ivan Blinkov
2f40335390
Extra logging at build.py + rearrange ifs 2020-03-30 22:33:33 +03:00
Ivan Blinkov
7c2c8e2d1b
Update security_changelog.md 2020-03-30 22:13:03 +03:00
alexey-milovidov
621bcaf2eb
Merge pull request #9922 from ClickHouse/every_function_in_own_file_12
Every function in its own file, part 12
2020-03-30 16:22:15 +03:00
Alexey Milovidov
4a74e9c112 Fixed style 2020-03-30 16:21:54 +03:00
Ivan Blinkov
8820f8c7fa
Update tips.md 2020-03-30 16:20:50 +03:00
Ivan Blinkov
ebac76884f
Update roadmap.md 2020-03-30 16:19:58 +03:00
imgbot[bot]
64fa567007
[ImgBot] Optimize images (#9943)
/website/images/flags/fr.svg -- 0.24kb -> 0.20kb (16.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 16:16:29 +03:00
Ivan Blinkov
61cf32f8ac
Update build.py 2020-03-30 16:07:08 +03:00
Ivan Blinkov
5ad4e0a7c8
Add try-finally block 2020-03-30 16:05:47 +03:00
Alexander Kuzmenkov
be331e3e9c Make table names in some stateless tests unique.
Hoping this fixes strange failures we've been seeing under MemorySanitizer.
2020-03-30 15:59:01 +03:00
Ivan Blinkov
197033dceb
[docs] draft of fr version (#9942) 2020-03-30 15:48:55 +03:00
Ivan Blinkov
700c27a99d
Refactor docs print/pdf (#9934) 2020-03-30 14:39:26 +03:00
alexey-milovidov
9436a136b6
Merge pull request #9919 from azat/system.tables
system.tables improvements (total_rows/total_bytes/storage_policy)
2020-03-30 14:21:49 +03:00
Vitaly Baranov
cf8c722c91
Add test_random_inserts/__init__.py 2020-03-30 14:07:56 +03:00
alesapin
49a0b99c51 Add missed file 2020-03-30 13:40:23 +03:00
imgbot[bot]
8087751453
[ImgBot] Optimize images (#9930)
/website/images/flags/es.svg -- 58.45kb -> 57.89kb (0.95%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 12:37:06 +03:00
Ivan Blinkov
99979a29df
Update README.md 2020-03-30 11:36:24 +03:00
Ivan Blinkov
2cb1939dce
Update es.svg 2020-03-30 11:33:19 +03:00
imgbot[bot]
eab2829812
[ImgBot] Optimize images (#9929)
*Total -- 128.15kb -> 127.56kb (0.45%)

/website/images/flags/es.svg -- 119.33kb -> 118.77kb (0.48%)
/website/images/mkdocs/single.svg -- 0.63kb -> 0.63kb (0.46%)
/website/images/mkdocs/search.svg -- 0.96kb -> 0.95kb (0.31%)
/website/images/mkdocs/edit.svg -- 0.97kb -> 0.96kb (0.3%)
/website/images/mkdocs/pdf.svg -- 1.79kb -> 1.78kb (0.16%)
/website/images/mkdocs/multi.svg -- 3.05kb -> 3.05kb (0.1%)
/website/images/index/github.svg -- 1.42kb -> 1.42kb (0.07%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 11:31:35 +03:00
Ivan Blinkov
cc60f0edaf
Custom mkdocs theme (#9874) 2020-03-30 11:25:29 +03:00
Vitaly Baranov
119b16a2a5
Merge pull request #9924 from vitlibar/fix-multiple-hosts-in-create-user
Fix parsing multiple hosts in CREATE USER command.
2020-03-30 05:40:10 +03:00
Vitaly Baranov
d2edeb7be4 Fix parsing multiple hosts in CREATE USER command. 2020-03-30 02:22:06 +03:00
Azat Khuzhin
3d3a82543a Fix optimize_trivial_count_query for queries with GROUP BY
Fixes: 00341_squashing_insert_select2
2020-03-30 00:37:54 +03:00
Azat Khuzhin
85df027651 Update 00693_max_block_size_system_tables_columns for total_rows/total_bytes 2020-03-30 00:37:54 +03:00
Azat Khuzhin
40f0acfd52 Update 00753_system_columns_and_system_tables for total_bytes 2020-03-30 00:37:54 +03:00
Azat Khuzhin
997c4682aa Add total_bytes to the system.tables 2020-03-30 00:37:54 +03:00
Azat Khuzhin
fe9a638540 Implement totalBytes() for StorageNull 2020-03-30 00:37:54 +03:00
Azat Khuzhin
ee89dfc92b Implement totalBytes() for StorageBuffer 2020-03-30 00:37:54 +03:00
Azat Khuzhin
bc32865e22 Implement totalBytes() for StorageMemory 2020-03-30 00:37:54 +03:00
Azat Khuzhin
08d5872d90 Implement totalBytes() for MergeTree/ReplicatedMergeTree 2020-03-30 00:37:54 +03:00
Azat Khuzhin
4a7ee947b2 Add IStorage::totalBytes() interface 2020-03-30 00:37:54 +03:00
Azat Khuzhin
c2fbba7b9c Update 00753_system_columns_and_system_tables for storage_policy/total_rows 2020-03-30 00:37:54 +03:00
Azat Khuzhin
2489481a46 Add total_rows to the system.tables 2020-03-30 00:37:54 +03:00
Azat Khuzhin
b66f2efc9e Implement totalRows() for StorageNull 2020-03-29 23:28:49 +03:00
Azat Khuzhin
611f565f21 Implement totalRows() for StorageMemory 2020-03-29 23:28:49 +03:00
Azat Khuzhin
83f1fcaf37 Implement totalRows() for StorageBuffer 2020-03-29 23:28:49 +03:00
alexey-milovidov
c6e98ea46f
Merge pull request #9920 from amosbird/jg3
Fix StorageJoin truncate reset overwrite flag
2020-03-29 23:13:04 +03:00
Alexey Milovidov
5c21dee05c Every function in its own file, part 12 2020-03-29 20:04:16 +03:00
Vitaly Baranov
fd3d9ed28f
Merge pull request #9921 from vitlibar/add-test-for-http-and-readonly
Add test for http and readonly
2020-03-29 18:15:15 +03:00
Azat Khuzhin
fbf72aee8d Install storage_policy for Distributed tables (follow-up for #8756) 2020-03-29 17:56:21 +03:00
Azat Khuzhin
0e9ddb9131 Add comments for columns of temporary tables in StorageSystemTables 2020-03-29 17:56:21 +03:00
Vitaly Baranov
5def95f05b Add test for HTTP GET provides readonly access. 2020-03-29 16:21:26 +03:00
Amos Bird
93b7b0bd3a
Fix StorageJoin truncate reset overwrite flag 2020-03-29 18:07:51 +08:00
alexey-milovidov
70a962f1a7
Merge pull request #9905 from CurtizJ/polymorphic-parts
Turn on polymorphic parts for log tables
2020-03-29 04:39:55 +03:00
alexey-milovidov
fdc00fd63a
Merge pull request #9916 from CurtizJ/fix-marks-count
Fix marks count for non-adaptive parts
2020-03-29 04:39:43 +03:00
Anton Popov
ab63bc5bf5 fix marks count for non-adaptive parts 2020-03-29 03:20:38 +03:00
alexey-milovidov
bcbaa1f440
Merge pull request #9909 from azat/system.settings-type
Add type column into system.settings/merge_tree_settings
2020-03-28 20:03:30 +03:00