Nikolai Kochetov
d34cf8a5bb
Fix build.
2020-01-27 21:12:27 +03:00
Avogar
e8dc8bc0ec
Allow data in square brackets in JSONEachRowFormat.
2020-01-27 21:09:36 +03:00
Nikolai Kochetov
f94eb7a0ff
Update ISource.
2020-01-27 21:09:20 +03:00
Alexander Kazakov
6b355aa273
Moved around some logic of hung_check detector
2020-01-27 21:04:12 +03:00
Alexander Kazakov
c6c3c4347b
Keep stderr when collecting stacktraces
2020-01-27 20:47:05 +03:00
Nikolai Kochetov
733df795a3
Fix IBlockInputStream
2020-01-27 20:12:55 +03:00
Alexey Milovidov
a1f05d3a56
Fixed the issue with too many open files when using StorageFile with globs
2020-01-27 20:06:32 +03:00
Nikolai Kochetov
43455d79b4
Add time limit to SourceWithProgress.
2020-01-27 19:58:25 +03:00
Alexander Kazakov
0106040a2f
In clickhouse-test: Updated check for hung queries
2020-01-27 19:51:48 +03:00
Nikolai Kochetov
45741eb03a
Add cancell to SourceFromInputStream.
2020-01-27 19:16:06 +03:00
Nikolai Kochetov
6a656e8ee8
Add cancell to SourceFromInputStream.
2020-01-27 19:03:55 +03:00
Nikolai Kochetov
902b977d9d
Add cancell to SourceFromInputStream.
2020-01-27 17:39:14 +03:00
Nikolai Kochetov
73ee23c1d8
Add cancell to SourceFromInputStream.
2020-01-27 17:31:40 +03:00
Maxim Akhmedov
af7e66f0da
Make NULLs comparable to everything.
2020-01-27 17:28:57 +03:00
Maxim Akhmedov
675d0f549f
Add replication and deduplication properties.
2020-01-27 17:14:49 +03:00
Maxim Akhmedov
419f2c2c2b
Fix segmentation fault.
2020-01-27 16:04:01 +03:00
Nikolai Kochetov
ef268d7016
Fix TablesBlockSource.
2020-01-27 16:00:18 +03:00
Alexey Milovidov
205c0f7fbb
Added comment
2020-01-27 15:43:28 +03:00
alexey-milovidov
4613615b4a
Merge pull request #8850 from excitoon-favorites/fixcolumns
...
Fixed `StorageInput::StorageInput` a little bit
2020-01-27 15:26:10 +03:00
Nikolai Kochetov
a9c09b88c3
Update ISource
2020-01-27 13:59:54 +03:00
chertus
0886bfb9bc
fix test
2020-01-27 13:57:31 +03:00
Vladimir Chebotarev
3d0d31f62a
Fixed StorageInput::StorageInput
a little bit.
2020-01-27 13:19:14 +03:00
Nikolai Kochetov
2c025a8bd1
Add progress.
2020-01-27 13:05:57 +03:00
Nikolai Kochetov
77cefbbd42
Do not dump pipeline in exception message.
2020-01-27 12:14:01 +03:00
alexey-milovidov
9ba383cf46
Merge pull request #8843 from ClickHouse/remove-useless-files
...
Remove useless files
2020-01-26 22:06:27 +03:00
alexey-milovidov
2787960ba2
Merge pull request #8793 from ClickHouse/fix-null-format-for-processors
...
Update ConvertingAggregatedToChunksTransform.
2020-01-26 21:51:00 +03:00
alexey-milovidov
994192080d
Merge pull request #8837 from ClickHouse/query-profiler-workaround-google-cloud-runner
...
Added workaround for Google Cloud Run
2020-01-26 21:46:16 +03:00
Alexey Milovidov
87ee9ac099
Fixed ugly error in Client
2020-01-26 21:43:44 +03:00
Alexey Milovidov
5d52261266
Remove useless files
2020-01-26 18:25:58 +03:00
Alexey Milovidov
4d13f020cd
Removed obsolete setting from test
2020-01-26 16:36:37 +03:00
alexey-milovidov
056aba49ff
Update QueryProfiler.cpp
2020-01-26 14:27:12 +03:00
alexey-milovidov
9602e67050
Update QueryProfiler.cpp
2020-01-26 14:25:28 +03:00
Alexey Milovidov
2acb71337f
Added workaround for Google Cloud Runner
2020-01-26 14:19:04 +03:00
Nikolai Kochetov
679e38e336
Added comments.
2020-01-26 10:52:34 +03:00
alexey-milovidov
066b4e745c
Merge pull request #8402 from excitoon-favorites/atomicdelete
...
"Atomically" remove parts on destroy.
2020-01-26 04:08:13 +03:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
...
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
alexey-milovidov
2df93a6d21
Merge pull request #8756 from azat/distributed_storage_configuration
...
Multiple disks/volumes for storing data for send in Distributed engine
2020-01-26 02:19:28 +03:00
Maxim Akhmedov
382eed249f
Fix style issue.
2020-01-26 00:33:32 +03:00
Vladimir Chebotarev
ca2d381743
Prettier removal of part data on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
b35a6d1ce3
Got rid of ugly relative paths while deleting on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
fdef1d6935
Increased some timeouts in test_multiple_disks
and test_ttl_move
.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
2d749630b7
Fixed temporary path for part being erased.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
3f11569d94
"Atomically" remove parts on destroy.
2020-01-26 00:27:46 +03:00
alexey-milovidov
49c77c65f2
Update Settings.h
2020-01-26 00:04:34 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins
2020-01-26 00:03:56 +03:00
alexey-milovidov
9814831c8f
Merge pull request #8827 from zlobober/disable_mmap
...
Allow disabling mmapping
2020-01-25 23:42:04 +03:00
Maxim Akhmedov
338bd3e919
Remove commented line.
2020-01-25 23:39:53 +03:00
alexey-milovidov
9f3bbea6eb
Merge pull request #8806 from ClickHouse/vzakaznikov-issue_7878_3
...
Reworking fix for issue 7878 (version 4)
2020-01-25 23:39:49 +03:00
alexey-milovidov
aff87dbd82
Update AggregatingTransform.cpp
2020-01-25 23:36:25 +03:00
alexey-milovidov
328dc523c5
Update AggregatingTransform.cpp
2020-01-25 23:36:12 +03:00
alexey-milovidov
ab172eb0bd
Revert "Initialize query profiler for all threads in a group"
2020-01-25 23:34:22 +03:00
Maxim Akhmedov
d6f72dc2ce
Specify supported features for each storage engine, expose them via system.table_engines table, properly check feature support in storage factory.
2020-01-25 22:44:52 +03:00
Maxim Akhmedov
2f12866bc2
Introduce macro for disabling allocator mmapping.
2020-01-25 22:17:18 +03:00
Alexey Milovidov
667e9ed6d4
Added example to config.xml and fixed formatting after previous committers #8794
2020-01-25 21:47:02 +03:00
alexey-milovidov
1bf614b3a2
Trigger tests.
2020-01-25 21:39:50 +03:00
alexey-milovidov
1630e88c81
Merge pull request #8820 from abyss7/issue-6964
...
Initialize query profiler for all threads in a group
2020-01-25 21:33:46 +03:00
Azat Khuzhin
5c641b7485
Cover storage_configuration for Distributed engine
2020-01-25 20:52:31 +03:00
Azat Khuzhin
e5a43d2751
Add ability to use multiple disks/volumes for Distributed engine
...
Now Distributed() has gain the 5-th argument -- policy name (for storing
data to send):
CREATE TABLE foo (key Int) Engine=Distributed(test_shard_localhost, currentDatabase(), some_table, key%2, 'default');
2020-01-25 20:52:31 +03:00
alexey-milovidov
dc90d42e1e
Merge pull request #8305 from ClickHouse/Vxider-parallel-insert
...
Vxider parallel insert
2020-01-25 20:30:50 +03:00
alexey-milovidov
2a6b628db9
Merge pull request #8794 from zlobober/custom_query_log_engine
...
Make system log engine customizable via config.
2020-01-25 17:38:50 +03:00
alexey-milovidov
df4f0c7379
Merge pull request #8805 from azat/force_optimize_skip_unused_shards
...
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-25 17:37:59 +03:00
alexey-milovidov
cf2cd05906
Merge pull request #8824 from ClickHouse/fix_loading_live_view
...
Fix LiveView dependencies
2020-01-25 17:37:29 +03:00
alexey-milovidov
43230c9e5a
Merge pull request #8809 from azat/text_log.level
...
Add text_log.level to limit entries that goes to system.text_log table
2020-01-25 17:28:35 +03:00
Alexey Milovidov
bf59e09901
Fixed style check
2020-01-25 16:18:17 +03:00
Azat Khuzhin
3c6ce640b0
Cover text_log.level
2020-01-25 14:04:56 +03:00
Azat Khuzhin
6a73cf2381
Add text_log.level to limit entries that goes to system.text_log table
...
v2: use INT_MAX as default (since 0 is none)
2020-01-25 14:04:49 +03:00
alexey-milovidov
2627e34ddf
Merge pull request #8808 from zlobober/weak_check_stack_size
...
Make checkStackSize symbol weak.
2020-01-25 03:10:41 +03:00
alexey-milovidov
8bde8e5e14
Update checkStackSize.cpp
2020-01-25 03:10:09 +03:00
alexey-milovidov
095f666677
Update checkStackSize.cpp
2020-01-25 03:06:13 +03:00
alexey-milovidov
eeeaa3243e
Update Defines.h
2020-01-25 03:05:43 +03:00
alexey-milovidov
85237ad27d
Merge pull request #8819 from ClickHouse/add_test_for_constraints
...
Add test for constraints
2020-01-25 02:56:47 +03:00
Alexander Tokmakov
f9cfc6be3a
fix LiveView dependencies
2020-01-25 01:51:23 +03:00
Alexey Milovidov
43be567512
Added two internal testing scripts [#CLICKHOUSE-4774]
2020-01-24 23:17:34 +03:00
Nikolai Kochetov
302d6b55ca
Fix build.
2020-01-24 21:33:47 +03:00
Nikolai Kochetov
7385d3f643
Processors for StorageSystemTables.
2020-01-24 21:25:21 +03:00
Nikolai Kochetov
d53aa80d83
Processors for StorageSystemStoragePolicies.
2020-01-24 21:17:02 +03:00
Azat Khuzhin
6939ffeabf
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-24 21:15:40 +03:00
Azat Khuzhin
c0ba5ed06b
Update link to the poco logging levels
2020-01-24 21:13:28 +03:00
Nikolai Kochetov
16106a03c6
Processors for StorageSystemReplicas.
2020-01-24 21:13:17 +03:00
Nikolai Kochetov
0e6362ef7f
Processors for StorageSystemPartsBase.
2020-01-24 21:01:21 +03:00
Nikolai Kochetov
9a223a05a5
Processors for StorageSystemOne.
2020-01-24 20:57:27 +03:00
Nikolai Kochetov
ffa3b3c665
Processors for StorageSystemDisks and StorageSystemDetachedParts.
2020-01-24 20:49:14 +03:00
Nikolai Kochetov
f8bf32e99a
Added more comments.
2020-01-24 20:35:17 +03:00
Nikolai Kochetov
be0bf9e6f6
Added more comments.
2020-01-24 20:04:41 +03:00
Nikolai Kochetov
c3d0c26659
Processors for SystemColumns.
2020-01-24 19:13:46 +03:00
Nikolai Kochetov
dc49635ed4
Processors for IStorageSystemOneBlock.
2020-01-24 18:42:31 +03:00
Nikolai Kochetov
61154da744
Processors for IStorageSystemOneBlock.
2020-01-24 18:32:17 +03:00
chertus
a9d0d74720
remove bad MergeJoin optimization
2020-01-24 18:28:40 +03:00
Nikolai Kochetov
cab636cb62
Merged with master.
2020-01-24 18:10:24 +03:00
Ivan Lezhankin
9d30f3c876
Initialize query profiler for all threads in a group
2020-01-24 17:47:38 +03:00
alesapin
47f8679810
Add test for constraints
2020-01-24 17:28:10 +03:00
alexey-milovidov
b3d34da57b
Merge pull request #8072 from millb/suffix_in_settings_value
...
Parsing suffix for settings values
2020-01-24 17:15:25 +03:00
Mikhail Korotov
474e16fadb
Update 01071_http_header_exception_code.sh
2020-01-24 17:11:13 +03:00
Mikhail Korotov
b9b1dd5cdd
tests fixed
2020-01-24 17:08:56 +03:00
Mikhail Korotov
800f8adfee
Update 01071_http_header_exception_code.sh
2020-01-24 14:29:03 +03:00
Mikhail Korotov
79fe132f58
Update 01071_http_header_exception_code.sh
2020-01-24 14:23:49 +03:00
chertus
dbb42e07d8
rename function
2020-01-24 14:19:34 +03:00
Mikhail Korotov
046717fd3f
Update ReadHelpers.h
2020-01-24 13:56:27 +03:00
millb
4480ed5b14
Comments fixed
2020-01-24 13:54:24 +03:00
Anton Popov
9fe94ca5f7
fix confusing logic (addition to #8800 )
2020-01-24 13:47:19 +03:00
alesapin
95fbef59c9
Fix prometheus test
2020-01-24 12:16:34 +03:00
Nikolai Kochetov
0bfc267f4b
Try to fix tests.
2020-01-24 12:09:47 +03:00
alesapin
32783b3cea
Fix integration test
2020-01-24 11:55:36 +03:00
Nikolai Kochetov
0b43bd53a4
fix 01019_materialized_view_select_extra_columns
2020-01-24 10:48:22 +03:00
Nikolai Kochetov
d161799b57
Merge branch 'master' into fix-null-format-for-processors
2020-01-24 10:38:19 +03:00
Nikolai Kochetov
b55ae23bb9
Merge pull request #8797 from ClickHouse/fix-null-format-for-processors-2
...
Skip blocks for Null format with processors.
2020-01-24 10:34:13 +03:00
Alexey Milovidov
b1fcea78b8
Merge branch 'fix-paren'
2020-01-24 07:05:32 +03:00
Alexey Milovidov
3a5c7370b2
Addition to prev. revision #8811
2020-01-24 07:05:15 +03:00
alexey-milovidov
2105c02e85
Merge pull request #8811 from ClickHouse/fix-paren
...
Fixed bug with parentheses
2020-01-24 07:04:13 +03:00
alexey-milovidov
de32863f73
Merge pull request #8791 from excitoon-favorites/fixdestructeddatapart
...
Fixed bug with `MergeTreeReadPool`
2020-01-24 06:37:18 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
...
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
alexey-milovidov
528d231a6b
Merge pull request #8750 from azat/temporary_data_configuration
...
Multiple paths (disks/volumes) for storing temporary data support
2020-01-24 06:21:52 +03:00
alexey-milovidov
5c9393df97
Merge pull request #8717 from ClickHouse/oandrew-avro
...
Merging Avro format.
2020-01-24 06:14:09 +03:00
Alexey Milovidov
12d980259e
Fixed bug with parentheses
2020-01-24 05:38:03 +03:00
alexey-milovidov
ab162170d2
Merge pull request #8799 from millb/query_log
...
Fixed 01070_exception_code_in_query_log_table test
2020-01-24 02:30:53 +03:00
Maxim Akhmedov
af54c378ce
Make checkStackSize symbol weak.
2020-01-23 23:30:40 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
...
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
alexey-milovidov
761a3e56a5
Update SystemLog.cpp
2020-01-23 22:21:57 +03:00
Alexey Milovidov
680da3d7ed
Merge remote-tracking branch 'origin/master' into oandrew-avro
2020-01-23 22:08:08 +03:00
chertus
d38bf7b4b2
add test
2020-01-23 21:32:16 +03:00
alexey-milovidov
119c7a9670
Update SystemLog.cpp
2020-01-23 21:28:37 +03:00
Nikolai Kochetov
5a8932488d
Romve commented code.
2020-01-23 21:02:13 +03:00
Nikolai Kochetov
50f66433e0
Update PushingToViewsBlockOutputStream
2020-01-23 20:51:43 +03:00
Azat Khuzhin
c9cc1ef516
Cover tmp_policy
2020-01-23 20:31:19 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Nikolai Kochetov
9635c8d5c5
Update PushingToViewsBlockOutputStream
2020-01-23 20:11:49 +03:00
Nikolai Kochetov
7d4d063f38
Try to remove some code.
2020-01-23 18:53:58 +03:00
chertus
3571cdb4b5
correct row limit for many right blocks case
2020-01-23 18:47:49 +03:00
Nikolai Kochetov
25ea3d83e2
Merge branch 'issue_7878_2' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-issue_7878_2
2020-01-23 18:45:24 +03:00
Nikolai Kochetov
4a4de82648
Merged with master
2020-01-23 18:44:26 +03:00
alexey-milovidov
f563d7f4b3
Merge pull request #8801 from vitlibar/fix-race-system-reload-all-dictionaries
...
Fix race when executing SYSTEM RELOAD ALL DICTIONARIES.
2020-01-23 18:10:17 +03:00
Nikolai Kochetov
405f9f0696
Fix LazyOutput.
2020-01-23 17:58:50 +03:00
alesapin
1fa6adacbe
Merge pull request #8790 from ClickHouse/disable_flappy_tests
...
Disable some flappy tests
2020-01-23 17:41:17 +03:00
Mikhail Korotov
c05652067e
Update HTTPHandler.cpp
2020-01-23 16:40:16 +03:00
Mikhail Korotov
276d1c233e
Update 01071_http_header_exception_code.sh
2020-01-23 16:38:55 +03:00
Vitaly Baranov
6a6ec36d63
Fix race when executing SYSTEM RELOAD ALL DICTIONARIES.
2020-01-23 16:35:12 +03:00
CurtizJ
1764ba5219
test for alter with ttl
2020-01-23 16:11:06 +03:00
CurtizJ
b5d8baee71
fix alters if ttl is set
2020-01-23 16:04:06 +03:00
Nikolai Kochetov
b3e33b8330
Enable block skip for null format in processors pipeline.
2020-01-23 15:59:01 +03:00
Nikolai Kochetov
f85e7ca36d
Enable block skip for null format in processors pipeline.
2020-01-23 15:53:32 +03:00
millb
c441c2fc9c
tests fixed
2020-01-23 15:47:13 +03:00
alexey-milovidov
39e34e0339
Merge pull request #8795 from abyss7/replxx
...
Restore support for \G suffix
2020-01-23 15:37:04 +03:00
Nikolai Kochetov
b6a819c5d8
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:45:12 +03:00
Nikolai Kochetov
bceb084512
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:44:43 +03:00
Vitaliy Zakaznikov
024dce32d8
Fixing NameOrDefault mode in ConvertingBlockInputStream.
2020-01-23 12:40:27 +01:00
Nikolai Kochetov
8839defb63
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:39:42 +03:00
Maxim Akhmedov
86a7f1d97b
Make system log engine customizable via config.
2020-01-23 14:22:06 +03:00
Ivan Lezhankin
bfdab88efb
Restore \G suffix support
2020-01-23 14:18:47 +03:00
Vladimir Chebotarev
a362664cc1
Better handling of per_part_columns_lock
.
2020-01-23 13:08:35 +03:00
Nikolai Kochetov
f431b10e38
Update TCPHandler.
2020-01-23 13:04:18 +03:00