Commit Graph

27158 Commits

Author SHA1 Message Date
Azat Khuzhin
3a5ea0e443 Cover group_by_two_level_threshold/distributed_aggregation_memory_efficient 2020-03-30 21:29:22 +03:00
Azat Khuzhin
fe3b068d22 More test cases for Distibuted-on-Distributed (LEFT JOIN/RIGHT JOIN) 2020-03-30 21:29:22 +03:00
Azat Khuzhin
63e86bcfc4 Allow to use Distributed on Distributed 2020-03-30 21:29:22 +03:00
Azat Khuzhin
29adda97be Cover Distributed-on-Distributed 2020-03-30 21:29:22 +03:00
alesapin
c03d48bd39 Less debug logs 2020-03-30 20:04:10 +03:00
alesapin
6808160cf1 Remove debug logs 2020-03-30 19:43:47 +03:00
alesapin
b67947cbae Test for replicated MT 2020-03-30 19:35:24 +03:00
alesapin
eec7ae2873 Less debug output 2020-03-30 19:28:24 +03:00
alesapin
6261ab0ef1 Alter only metadata works 2020-03-30 19:03:08 +03:00
alesapin
a9b675297e Better 2020-03-30 17:40:43 +03:00
Vitaliy Zakaznikov
b22060b30d Fixing 00964_live_view_watch_events_heartbeat.py test to avoid
potential race condition.
2020-03-30 15:55:10 +02:00
alesapin
8f91892d7b Add simple validation for renames 2020-03-30 16:34:19 +03:00
alexey-milovidov
3d42a5a874
Merge branch 'master' into nv/getStructureOfRemoteTable-try-all-shards 2020-03-30 16:33:36 +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
alesapin
de0754ef0d First working version 2020-03-30 15:51:05 +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
philip.han
210024cd3a Fix a corner case of windowFunnel with 'strict_order' 2020-03-30 19:35:54 +09:00
philip.han
d8ff25d364 Fix a bug that windowFunnel() returns null. 2020-03-30 19:29:13 +09:00
alesapin
8d19f9f7d7 Add hard timeouts to alter tests 2020-03-30 13:21:08 +03:00
alesapin
6812b1df5f Merge branch 'master' into alter_rename_column 2020-03-30 12:27:33 +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
Gagan Arneja
1d1070af71 Fix a race between DDLWorker and DDLWorkerClnr during startup that causes DDLWorker to exit because of ZooKeeper NONODE error 2020-03-29 18:12:29 -07: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
Alexey Milovidov
1ea236c91d Remove useless code around locks 2020-03-28 05:09:29 +03:00
Alexey Milovidov
f27a95da0d Fixed typo 2020-03-28 04:59:06 +03:00
Alexey Milovidov
097fcbcadf Removed useless method 2020-03-28 04:53:59 +03:00
alexey-milovidov
e75cf7b6af
Merge pull request #9901 from ClickHouse/fix_optimize_drop_race
Fix race condition between optimize and drop
2020-03-28 04:32:38 +03:00
alexey-milovidov
aa9ab6bae0
Merge pull request #9808 from azat/optimize_skip_unused_shards-DISTINCT
Fix DISTINCT for Distributed and optimize_skip_unused_shards
2020-03-28 04:31:50 +03:00
alexey-milovidov
676aff9ba8
Update StorageDistributed.cpp 2020-03-28 04:31:03 +03:00
alexey-milovidov
c63ff92ec2
Update IStorage.h 2020-03-28 04:30:21 +03:00
alexey-milovidov
4b2edd16ec
Merge pull request #9888 from ClickHouse/better-check-instructions
Better check for available CPU instructions.
2020-03-28 04:28:30 +03:00
alexey-milovidov
47c48111f3
Update SystemLog.cpp 2020-03-28 04:20:18 +03:00
alexey-milovidov
8d40a711f1
Merge pull request #9196 from Avogar/regexp_format
Add new input format: RegexpRowInputFormat.
2020-03-28 04:18:03 +03:00
alexey-milovidov
8b87aea35e
Update RegexpRowInputFormat.h 2020-03-28 04:17:49 +03:00
alexey-milovidov
49865294d2
Update RegexpRowInputFormat.cpp 2020-03-28 04:15:09 +03:00
alexey-milovidov
315cd96543
Merge pull request #9740 from CurtizJ/tuple-literal
Parse Tuple as literal if possible
2020-03-28 04:10:21 +03:00
alexey-milovidov
6dd4f1c9c3
Merge pull request #9904 from amosbird/it
Fix scalar optimization in ALTER mutations
2020-03-28 02:17:52 +03:00
Nikita Mikhaylov
0fc7205ea3 fix build after clang-tidy 2020-03-28 01:44:13 +03:00
Artem Zuikov
b1bd11f962
Rename column names in local distributed_product_mode (#9891) 2020-03-27 23:12:14 +03:00
Avogar
318d7f45f0 Fix errors 2020-03-27 23:10:03 +03:00
Nikita Mikhaylov
7fc9de01f2
Merge pull request #9075 from nikitamikhaylov/clickhouse-copier
clickhouse copier
2020-03-27 23:25:44 +04:00
Anton Popov
77fe0b7f06 turn on polymorphic parts for log tables 2020-03-27 18:23:11 +03:00
Amos Bird
c0e3564ff5
Fix scalar optimization in ALTER 2020-03-27 23:12:48 +08:00
alesapin
4003dcd12e Better storage def in flaky test 2020-03-27 17:51:14 +03:00
alesapin
655ce5b6a7
Merge pull request #9886 from ClickHouse/add_sort_check_to_mutations
Remove order by from mutations interpreter and add check
2020-03-27 16:23:33 +03:00
alexey-milovidov
75eab25da0
Merge pull request #9890 from ClickHouse/like-fixed-string
Implement operator LIKE for FixedString at left hand side.
2020-03-27 15:18:09 +03:00
alesapin
96203d4391 Review fixes 2020-03-27 14:22:08 +03:00
alesapin
d3e8335a8d Fix race condition between optimize and drop 2020-03-27 13:53:04 +03:00
alesapin
3e17cf3a9b
Update main.cpp 2020-03-27 11:14:20 +03:00
Vitaly Baranov
75735f1e94 Add test 2020-03-27 03:28:12 +03:00
Vitaly Baranov
34984d4a9a INSERT now clamps settings from initiator to shard's constraints. 2020-03-27 03:28:12 +03:00
alexey-milovidov
6f87f7ba68
Merge pull request #9884 from filimonov/kafka_commit_retry
Kafka retry commits on failure
2020-03-26 22:48:49 +03:00
Alexey Milovidov
03f6d5f77e Added comment 2020-03-26 22:45:04 +03:00
Alexey Milovidov
8cceb8980e Added another test 2020-03-26 22:44:33 +03:00
Alexey Milovidov
105cb5580c Added a test 2020-03-26 22:42:31 +03:00