Commit Graph

27074 Commits

Author SHA1 Message Date
Alexander Tokmakov
e291f93326 fix DDLGuard lock order in RESTART REPLICAS 2020-03-31 03:08:53 +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
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
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
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
Azat Khuzhin
419150d81b Basic system.settings/merge_tree_settings coverage 2020-03-28 18:12:43 +03:00
alexey-milovidov
f0a17ee726
Merge pull request #9907 from ClickHouse/remove-useless-code-locks
Remove useless code around locks
2020-03-28 16:23:25 +03:00
alexey-milovidov
654ed29f6c
Update arrayReduceInRanges.cpp 2020-03-28 16:18:20 +03:00
alexey-milovidov
5cd9c764a9
Update arrayReduceInRanges.cpp 2020-03-28 16:13:26 +03:00
Azat Khuzhin
2090925270 Add type column into system.settings/merge_tree_settings
This can be useful for various drivers to know the type.
2020-03-28 15:38:54 +03:00
Alexey Milovidov
fbe951e03d Removed garbage 2020-03-28 13:26:23 +03:00
hcz
b634228947 Use tuples in arrayReduceInRanges 2020-03-28 18:07:54 +08:00
hcz
421d45f04d Add performance tests for arrayReduce* functions 2020-03-28 18:02:11 +08:00
hcz
d856313b15 Fix 2020-03-28 18:02:11 +08:00
hcz
3e418f8af9 Add tests for array_reduce_in_ranges 2020-03-28 18:02:11 +08:00
hcz
40207b072d Add function arrayReduceInRanges 2020-03-28 18:02:11 +08:00
hcz
6c4147501b Register function arrayReduceInRanges 2020-03-28 18:00:29 +08:00
hcz
003671ee39 Cleanup arrayReduce.cpp 2020-03-28 17:55:34 +08:00
alesapin
219b39187d Fix build 2020-03-28 12:40:06 +03:00
Alexey Milovidov
01ed894b65 Whitespaces 2020-03-28 06:02:26 +03:00
Alexey Milovidov
4ec30b01b1 Remove some of the garbage from code 2020-03-28 05:26:48 +03:00