Commit Graph

25321 Commits

Author SHA1 Message Date
Pavel Kovalenko
baa3c8e55b Formatting issues. 2020-01-28 16:05:37 +03:00
Pavel Kovalenko
3eb59d1ed3 Formatting issues. 2020-01-28 16:01:08 +03:00
Nikolai Kochetov
5a8a367228 Add processlist to PipelineExecutor. Throw exception if query was killed. 2020-01-28 15:59:34 +03:00
Pavel Kovalenko
d4707ca911 Seek reworking. 2020-01-28 15:48:01 +03:00
Pavel Kovalenko
861ddbcadd DiskS3 Metadata refactoring. 2020-01-28 15:46:39 +03:00
Maxim Akhmedov
65356ea893 And one more fix. 2020-01-28 15:33:25 +03:00
Maxim Akhmedov
ead37dc294 Fix comparison between decimal field and null. 2020-01-28 15:31:17 +03:00
Ivan Lezhankin
eb5e577f14 Use memory tracker on query level. 2020-01-28 15:31:10 +03:00
Andrei Chulkov
d2e4f4e778 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into polygon-dict-basic-interface-improvements 2020-01-28 15:06:36 +03:00
Ivan Lezhankin
27986b6658 Revert "Merge pull request #8831 from ClickHouse/revert-8820-issue-6964"
This reverts commit a21d3712eb, reversing
changes made to 667e9ed6d4.
2020-01-28 15:01:45 +03:00
Ivan Lezhankin
a592049ca3 Merge remote-tracking branch 'upstream/master' into issue-6964 2020-01-28 15:01:33 +03:00
Ivan Lezhankin
06f5a274ec Fix initialization of QueryProfiler with regard to query context. 2020-01-28 14:59:06 +03:00
Nikolai Kochetov
a19c8b3d37 Update LimitTransform. 2020-01-28 14:50:22 +03:00
alesapin
e27a3170bc Less flaps in tests 2020-01-28 13:58:37 +03:00
alexey-milovidov
1f90d2f078
Merge pull request #8866 from achulkov2/issue-8865_unnamed_tuples_should_not_be_flattened
Issue 8865 unnamed tuples should not be flattened
2020-01-28 12:32:58 +03:00
alexey-milovidov
45dce57a8c
Merge pull request #8830 from zlobober/storage_properties
Explicitly specify storage features
2020-01-28 01:49:53 +03:00
alexey-milovidov
74786e3584
Merge pull request #8858 from ClickHouse/Akazz-clickhouse-test-patch-1
In clickhouse-test: Updated check for hung queries
2020-01-28 01:45:32 +03:00
alexey-milovidov
acc5fad41a
Merge pull request #8848 from ClickHouse/fix-pipeline-dump
Do not dump pipeline in exception message.
2020-01-28 01:44:23 +03:00
alexey-milovidov
7795c9c889
Merge pull request #8861 from ClickHouse/fix-storage-file-too-many-open-files
Fix StorageFile too many open files error
2020-01-28 01:35:39 +03:00
Vladimir Chebotarev
f98de4e098 Added tests for _file and _path in S3 storage. 2020-01-28 01:09:21 +03:00
Vladimir Chebotarev
11a5cab7bd Added some tests. 2020-01-28 00:44:18 +03:00
Andrei Chulkov
7395c0eadc Rename columns to avoid ambiguity with sql 2020-01-28 00:09:38 +03:00
Andrei Chulkov
d8f7383fd7 Add test 2020-01-28 00:04:46 +03:00
Andrei Chulkov
33339e6347 tmp 2020-01-27 23:28:20 +03:00
achulkov2
b7c9075e53 Stop flattening unnamed nested tuples 2020-01-27 23:26:39 +03:00
Vladimir Chebotarev
533011a5f5 Minor review and style fixes. 2020-01-27 23:08:43 +03:00
Pavel Kovalenko
cb3693f071 Formatting issues. 2020-01-27 22:51:48 +03:00
alexey-milovidov
75ebebde4f
Merge pull request #8845 from ClickHouse/client-vertical-fix
Fixed ugly error with vertical format in Client
2020-01-27 22:36:12 +03:00
Pavel Kovalenko
699a031c7f Code style issues. 2020-01-27 22:27:52 +03:00
Pavel Kovalenko
47e7c8d474 Formatting issues. 2020-01-27 22:17:22 +03:00
Pavel Kovalenko
0df5f89a47 Minor formatting. 2020-01-27 22:01:18 +03:00
Pavel Kovalenko
6501ca735b Minor formatting. 2020-01-27 21:59:52 +03:00
Pavel Kovalenko
07755ec8f7 Merge branch 'master' into idisk-seekable-readbuffer
# Conflicts:
#	dbms/programs/server/config.xml
2020-01-27 21:45:53 +03:00
Pavel Kovalenko
abfacdaadc SeekableReadBuffer refactoring.
Store size and multiple references for S3 metadata file.
Log engine support for S3.
2020-01-27 21:44:30 +03:00
Maxim Akhmedov
2e9538f768 Another fix for tests. Better handling of MV. 2020-01-27 21:28:37 +03:00
Alexey Milovidov
390745cc81 Fixed the issue with too many open files when using StorageFile with globs 2020-01-27 21:26:58 +03:00
Alexey Milovidov
1ce32211cf Fixed the issue with too many open files when using StorageFile with globs 2020-01-27 21:25:54 +03:00
Alexey Milovidov
59ef3c8034 Fixed the issue with too many open files when using StorageFile with globs 2020-01-27 21:13:02 +03:00
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
achulkov2
e30956d05a Rewrite some code and try new input methods 1.0 2020-01-27 20:08:29 +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
proller
936c357e05 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-27 17:54:43 +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
18804407aa Properly added _file and _path columns. 2020-01-27 13:22:49 +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
581b20748e
Trigger CI 2020-01-26 21:55:12 +03:00
Alexey Milovidov
47178f1413 Update test 2020-01-26 21:53:24 +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
Vladimir Chebotarev
a7d05211c5 Added _file and _path columns. 2020-01-26 17:05:51 +03:00
Alexey Milovidov
4d13f020cd Removed obsolete setting from test 2020-01-26 16:36:37 +03:00
Vladimir Chebotarev
61e80e4872 Attempt to add S3 globbing to StorageS3::read. 2020-01-26 16:12:15 +03:00
Vladimir Chebotarev
d2ccbcfb32 Attempt to add S3 globbing function. 2020-01-26 16:03:47 +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
940804ee6d Don't allow strange expressions in ALTER ... PARTITION query 2020-01-26 03:22:34 +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
CurtizJ
c1624f0d9d strict field casts while making sets 2020-01-25 00:36:28 +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
Mikhail Korotov
aeb9557edf tests added 2020-01-24 20:04:42 +03:00
Nikolai Kochetov
be0bf9e6f6 Added more comments. 2020-01-24 20:04:41 +03:00
Mikhail Korotov
9e5a88ec89 Merge branch 'Prohibition_secondary_index_with_old_format_merge_tree' of https://github.com/millb/ClickHouse into Prohibition_secondary_index_with_old_format_merge_tree 2020-01-24 19:48:17 +03:00
millb
3299db778b changes applied 2020-01-24 19:47:05 +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
Ivan Lezhankin
09b39b78e4 Remove obsolete pointer for trace collector in context. 2020-01-24 18:40:08 +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
CurtizJ
d8331d9dcb fix in operator with constant arrays 2020-01-24 03:48:40 +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
5162ece940 Merge branch 'function_result_with_operator_in' of https://github.com/Enmk/ClickHouse into merging-in-arrays 2020-01-23 16:24:43 +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
Ivan Lezhankin
a982309cff Fix client hanging on quit 2020-01-23 12:42:58 +03:00
alesapin
e6958c0e49 Disable some flappy tests 2020-01-23 12:01:55 +03:00
Nikolai Kochetov
0e906b29e1
Merge pull request #8783 from ClickHouse/loop-math-perf
Math perftest.
2020-01-23 11:53:30 +03:00
Ivan
b80e3dcd46
Refactoring of replxx (#8748) 2020-01-23 11:18:19 +03:00
alexey-milovidov
2e849490bc
Merge pull request #8770 from millb/query_log
Created column exception_code in query_log table
2020-01-23 06:01:48 +03:00
Alexey Milovidov
64baafd245 Updated Avro test 2020-01-23 05:51:49 +03:00
Alexey Milovidov
d853cffe61 Returned back DateTime64 2020-01-23 05:44:22 +03:00
Alexey Milovidov
9a8211cbff Added Avro roundtrip test 2020-01-23 05:39:58 +03:00
Alexey Milovidov
fb89ffdbb3 Added comments 2020-01-23 05:12:11 +03:00
Alexey Milovidov
35726ac2dd Fixed error in Avro format 2020-01-23 05:03:53 +03:00
Alexey Milovidov
a75ce4477b Fixed error in Avro format 2020-01-23 05:01:58 +03:00
Alexey Milovidov
9f0230d4ba Addition to prev. revision 2020-01-23 04:09:17 +03:00
Alexey Milovidov
fde33ddc47 Addition to prev. revision 2020-01-23 04:06:53 +03:00
Alexey Milovidov
39565eb0b0 Addition to prev. revision 2020-01-23 04:03:32 +03:00
Alexey Milovidov
0c18bcf415 Addition to prev. revision 2020-01-23 03:41:37 +03:00
Alexey Milovidov
b213f08f1c Added type conversions in AvroInputFormat 2020-01-23 03:04:50 +03:00
Alexey Milovidov
ef93eb47a6 Removed old garbage 2020-01-23 02:50:57 +03:00
Alexey Milovidov
12bd78ecf8 Merge branch 'master' into oandrew-avro 2020-01-23 02:10:38 +03:00
Vitaliy Zakaznikov
76af9dedc5 Going back to NameOrDefault mode in ConvertingBlockInputStream
as the other approach caused test regressions. This time we just
erase the columns that need to be set to the default value or expression.
2020-01-22 22:26:08 +01:00
Mikhail Korotov
d7cd319ee0
Update 01071_http_header_exception_code.sh 2020-01-23 00:19:42 +03:00
tavplubix
8cfe9a4d66
Update ParsedTemplateFormatString.cpp 2020-01-22 23:09:23 +03:00
proller
f4c23c2f4f Merge remote-tracking branch 'upstream/master' into fix27 2020-01-22 22:30:47 +03:00
tavplubix
c00636bfa7
Update ParsedTemplateFormatString.cpp 2020-01-22 22:23:59 +03:00
Mikhail Korotov
7a96702a21 tests are added 2020-01-22 21:42:06 +03:00
Alexander Kuzmenkov
55be790199 Do not crash if the row template file is empty. 2020-01-22 21:27:09 +03:00
Denis Glazachev
b6fe187e59 Fix test/check failures 2020-01-22 22:52:04 +05:30
Nikolai Kochetov
f0b7422dcb Loop queries for math perftest. 2020-01-22 19:56:49 +03:00
millb
7c6312fcb2 first attempt 2020-01-22 19:32:18 +03:00
Pavel Kovalenko
dce424fe11 SeekableReadBuffer initial implementation. IDisk readFile should return SeekableBuffer. 2020-01-22 19:17:25 +03:00
Alexander Kuzmenkov
8bf260454e MemorySanitizer should work now 2020-01-22 19:08:46 +03:00
millb
eadb9022c8 Tests are changed 2020-01-22 18:32:38 +03:00
Ivan Lezhankin
7706e0a35c Some renames 2020-01-22 18:20:19 +03:00
Vitaliy Zakaznikov
54c8234379 Reworking fix for missing columns. 2020-01-22 16:15:42 +01:00
Mikhail Korotov
d68f8d1f8e
Update QueryLog.h 2020-01-22 16:58:36 +03:00
alexey-milovidov
c683c77633
Merge pull request #8768 from ClickHouse/processors-default
Enable Processors
2020-01-22 16:55:52 +03:00
millb
6fc7a827f6 Fixed bug with empty exception 2020-01-22 16:52:26 +03:00
Vitaliy Zakaznikov
78ab3127ce Trying to fix issue with calculating default expressions. (Not working yet) 2020-01-22 14:34:00 +01:00
millb
6cd6b4d3b2 exception_code is changed 2020-01-22 15:29:30 +03:00
chertus
d0b29b17fd minor change 2020-01-22 15:23:33 +03:00
millb
4eacd514ec Style is fixed 2020-01-22 15:10:38 +03:00
Artem Zuikov
289f16978f
Merge pull request #8764 from 4ertus2/bugs
Fix toDecimalOrNull() with exception inside
2020-01-22 14:18:34 +03:00
alesapin
0d484be01a
Merge pull request #8767 from ClickHouse/aku/null-format
Fix sending no data to client with Null format.
2020-01-22 13:06:16 +03:00
Nikolai Kochetov
47ffa40f99
Merge pull request #8766 from vzakaznikov/issue_7878
Fix issue #7878
2020-01-22 12:54:59 +03:00
chertus
d0a8faef5b better InflatingExpressionTransform 2020-01-22 10:46:14 +03:00
Denis Glazachev
d414131c3c Update callback type and name 2020-01-22 05:03:57 +05:30
Yuriy
f916e7d079 enabled MySQL wire protocol by default on port 9004 2020-01-22 01:38:20 +03:00
alexey-milovidov
2d599cb1cb
Update HTTPHandler.cpp 2020-01-21 23:28:35 +03:00
Mikhail Korotov
3b7fdaa534 changes made 2020-01-21 23:00:43 +03:00
millb
4cffb62b41 Created exception_code column in query_log table 2020-01-21 22:49:42 +03:00
chertus
cc61fb9408 Merge branch 'master' into joins 2020-01-21 22:23:58 +03:00
chertus
97517075c2 fix pmj with processors 2020-01-21 22:20:15 +03:00
Alexey Milovidov
5d33bedf80 Whitespace 2020-01-21 22:18:40 +03:00
alexey-milovidov
5e7f80c664
Merge pull request #8760 from kreuzerkrieg/GCCSuggestOverride
Add GCC warning to suggest virtual function override
2020-01-21 22:12:26 +03:00
Denis Glazachev
79085bf629 Set X-ClickHouse-Format HTTP response header to the format name 2020-01-22 00:33:33 +05:30
Mikhail Korotov
584826424a Merge branch 'suffix_in_settings_value' of github.com:millb/ClickHouse into suffix_in_settings_value 2020-01-21 21:32:54 +03:00
Alexey Milovidov
de5da5db2e Enable Processors 2020-01-21 21:12:45 +03:00
chertus
69fee6812b variant without catch 2020-01-21 21:04:22 +03:00
Alexander Kuzmenkov
c7b94c70e8 Fix sending no data to client with Null format.
Looks like before it could only work accidentally due to some mighty
NRVO.
2020-01-21 20:48:08 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Ivan Lezhankin
2899fbfb52 Remove unused diff 2020-01-21 19:43:42 +03:00
Ivan Lezhankin
d444bc7a11 Remove unused diff 2020-01-21 19:39:52 +03:00
Ivan Lezhankin
008faaa760 Add settings for soft limit raising. 2020-01-21 19:39:52 +03:00
Ivan Lezhankin
1934706ca9 [WIP] 2020-01-21 19:39:52 +03:00
Ivan Lezhankin
c566f406c5 Add new trace type to system.trace_log table 2020-01-21 19:39:52 +03:00
Vitaliy Zakaznikov
507609b611 Fixing styling issues. 2020-01-21 11:18:41 -05:00
Vitaliy Zakaznikov
b2bfa6f938 Removing code used for debugging. 2020-01-21 17:11:21 +01:00
Vitaliy Zakaznikov
1b5f6e37cb First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878 2020-01-21 17:02:40 +01:00
kreuzerkrieg
4225ca4eec Add GCC warning to suggest virtual function override 2020-01-21 17:34:55 +02:00
chertus
cc5fc0a825 fix toDecimalOrNull with exception inside 2020-01-21 16:24:54 +03:00
Alexander Tokmakov
cdfc17e9b1 check path in constructor 2020-01-21 14:11:11 +03:00
kreuzerkrieg
a256741cf9 Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
proller
4ea13e1ca1 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-21 14:06:06 +03:00
chertus
414de57b99 fix hash join with processors 2020-01-21 13:11:30 +03:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
Processors 5.12
2020-01-21 11:51:07 +03:00
Nikolai Kochetov
d9738bb88e Disable processors by default. 2020-01-21 11:50:43 +03:00
alexey-milovidov
2a1fb20c27
Merge pull request #8720 from ClickHouse/GrigoryPervakov-vfs-s3
Merging DiskS3
2020-01-21 02:06:41 +03:00
proller
d84fb03b75 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-21 00:49:26 +03:00
alexey-milovidov
c4e2d71b48
Merge pull request #8749 from ikopylov/function-bitCount-Int16-Int8-perf
bitCount performance: special handling for Int16 and Int8
2020-01-21 00:12:34 +03:00
Alexander Tokmakov
05c4405b65 fix 2020-01-20 23:08:47 +03:00
Alexey Milovidov
e4ff88a604 Added a test from Zlobober #5610 2020-01-20 22:43:57 +03:00
alexey-milovidov
9f550fc97f
Merge pull request #8744 from filimonov/test_for_incremental_filling_with_feedback
Test for incremental filling with feedback
2020-01-20 22:03:29 +03:00
proller
a5eb48de7b Fix H3_INCLUDE_DIR find 2020-01-20 20:48:06 +03:00
proller
4bb2d513f3 Fix H3_INCLUDE_DIR find 2020-01-20 20:41:58 +03:00
Nikolai Kochetov
ccb124ebdf Update SortingTransform. 2020-01-20 19:48:15 +03:00
chertus
6e304d5aef Merge branch 'master' into joins 2020-01-20 19:39:55 +03:00
chertus
b26c9a1f67 add test for pmj with consts and nullables 2020-01-20 19:36:21 +03:00
ikopylov
f5f36f0199
bitCount performance: special handling for Int16 and Int8 2020-01-20 19:36:03 +03:00
Alexey Milovidov
856962b290 Fixed test 2020-01-20 19:33:43 +03:00
Alexey Milovidov
24a8bfe096 Minor improvements 2020-01-20 18:57:13 +03:00
chertus
0669eff031 version with processors 2020-01-20 17:17:55 +03:00
Mikhail Filimonov
bfb448b209 Test for incremental filling from 2 sources with feedback 2020-01-20 14:04:16 +01:00
Alexey Milovidov
d547c23300 Minor modification 2020-01-20 15:58:55 +03:00
Alexey Milovidov
09f3890b20 Merge branch 'master' into GrigoryPervakov-vfs-s3 2020-01-20 15:39:15 +03:00
Nikolai Kochetov
76171c7afc Do not add resize transform for SystemNumbers. 2020-01-20 10:24:28 +03:00
Nikolai Kochetov
cd369bea4e Do not add resize transform for SystemNumbers. 2020-01-19 23:05:01 +03:00
Alexey Milovidov
d159570309 Added a test for fun 2020-01-19 22:09:03 +03:00
Alexey Milovidov
40e35c36e7 Minor modifications 2020-01-19 20:02:29 +03:00
alexey-milovidov
9e1ab408f6
Merge pull request #8728 from Akazz/fixing_ternary_logic_for_batches
A followup to #8718: Simpler and faster code in logical functions
2020-01-19 16:22:30 +03:00
alexey-milovidov
c2e95c008e
Merge pull request #8724 from yurriy/less-mysql-logging
Proper logging levels in MySQL compatibility server
2020-01-19 16:19:30 +03:00
Alexey Milovidov
41263dc3f9 Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-19 15:27:11 +03:00
Alexey Milovidov
98d393c957 Fixed LineReader 2020-01-19 15:26:49 +03:00
alexey-milovidov
9fa877341b
Merge pull request #8719 from ClickHouse/bitCount-improve-performance
Reasonable performance for function bitCount
2020-01-19 15:23:32 +03:00
Azat Khuzhin
cbebb94f25 Fix ryu_test compilation (missing <cstring> for memcpy) with libstdc++
libc++ has <cstring> in <string> while libstdc++ does not:

  $ fgrep -r '#include <cstring>' /usr/include/c++/v1/
  /usr/bin/../include/c++/v1/vector:#include <cstring>
  /usr/bin/../include/c++/v1/ext/__hash:#include <cstring>
  /usr/bin/../include/c++/v1/memory:#include <cstring>
  /usr/bin/../include/c++/v1/algorithm:#include <cstring>
  /usr/bin/../include/c++/v1/string:#include <cstring>
  /usr/bin/../include/c++/v1/utility:#include <cstring>

  $ fgrep -r '#include <cstring>' /usr/include/c++/9.2.0/
  /usr/include/c++/9.2.0/experimental/buffer:#include <cstring>
  /usr/include/c++/9.2.0/regex:#include <cstring>
  /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:#include <cstring>
  /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/32/bits/stdc++.h:#include <cstring>

  $ clang++ -stdlib=libc++ -o /dev/null -c /tmp/test.cpp
  /tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
          return memcpy(0, 0, 0);
                        ~      ^
  /tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
          return memcpy(0, 0, 0);
                           ~   ^
  2 warnings generated.

  $ clang++ -o /dev/null -c /tmp/test.cpp
  /tmp/test.cpp:7:16: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
          return memcpy(0, 0, 0);
                 ^~~~~~
                 wmemcpy
  /usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
  extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
                  ^
  1 error generated.
2020-01-19 14:14:41 +03:00
Nikolai Kochetov
4523f9b2f9
Update ResizeProcessor.cpp
remove comment
2020-01-19 10:11:21 +03:00
Alexander Kazakov
bffd66fcba More effective code + some cleanup 2020-01-19 09:22:01 +03:00
Alexander Kazakov
3b6499cce9 Made code in OperationApplier more generic 2020-01-19 09:07:30 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
alexey-milovidov
36a7a40a08
Merge pull request #8718 from Akazz/fixing_ternary_logic_for_batches
Fixed ternary logic (OR/AND/XOR) calculation in multiple batches
2020-01-19 04:49:04 +03:00
Alexey Milovidov
b5ff5341d5 Support more types for output 2020-01-19 04:22:27 +03:00
Yuriy
6f4431b79f proper logging levels 2020-01-19 01:19:06 +00:00
Alexey Milovidov
4fdfb02b2f Fixed build 2020-01-19 03:43:59 +03:00
alexey-milovidov
901009d9b0
Merge branch 'master' into oandrew-avro 2020-01-19 03:37:29 +03:00
Alexey Milovidov
db1bb630e0 Fixed configuration of replxx 2020-01-19 03:23:35 +03:00
Alexey Milovidov
47f6156ad8 Correct configuration of replxx 2020-01-19 03:01:49 +03:00
Alexey Milovidov
6eef7de47f Removed questionable code 2020-01-19 02:42:46 +03:00
Alexey Milovidov
2d39e5ad8c Merging DiskS3 2020-01-19 02:18:23 +03:00
Alexey Milovidov
4da00994d1 Merging DiskS3 2020-01-19 01:17:48 +03:00
Alexey Milovidov
ae7b9a652b Merge branch 'vfs-s3' of https://github.com/GrigoryPervakov/ClickHouse into GrigoryPervakov-vfs-s3 2020-01-19 01:12:05 +03:00
alexey-milovidov
530e7e381a
Update DiskMemory.cpp 2020-01-19 01:07:03 +03:00
alexey-milovidov
feabcf53cb
Update DiskMemory.cpp 2020-01-19 01:05:37 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl 2020-01-19 01:03:25 +03:00
Alexey Milovidov
28ad3b46da Reasonable performance for function bitCount 2020-01-19 00:59:07 +03:00
Alexey Milovidov
ae185a24d2 Disable AvroConfluent 2020-01-19 00:45:16 +03:00
Alexey Milovidov
d732f854b7 Added timeouts for schema request 2020-01-19 00:42:51 +03:00
alexey-milovidov
93887371f3
Merge pull request #8716 from ClickHouse/bitCount-perf-test
Added performance test for bitCount function
2020-01-19 00:05:57 +03:00
Alexander Kazakov
be091a5133 Tiny optimization 2020-01-19 00:03:45 +03:00
Alexander Kazakov
f29db2ed68 Fixed problem with calculating ternary logic OPs in multiple batches 2020-01-19 00:02:43 +03:00
Alexander Kazakov
b2fd151dd0 More stable XorImpl code for XOR 2020-01-18 23:49:12 +03:00
Alexander Kazakov
0f22b5ec85 Fixed "newlines" 2020-01-18 23:45:41 +03:00
Alexey Milovidov
3c7df7ca31 Minor modifications 2020-01-18 23:42:50 +03:00
Alexander Kazakov
5fb75b3b9e Added tests for batched logical OPs 2020-01-18 23:35:12 +03:00
Alexey Milovidov
457c50c7d7 Code cleanups around 2020-01-18 23:19:10 +03:00
Alexey Milovidov
216b39a30d Minor changes for consistency 2020-01-18 23:15:49 +03:00
Alexey Milovidov
ac46498f60 Minor modification 2020-01-18 23:12:58 +03:00
Alexey Milovidov
f0b4fcee1f Minor modifications 2020-01-18 23:10:32 +03:00
Alexey Milovidov
85f2e86e5b Added performance test for Avro format 2020-01-18 23:10:11 +03:00
Alexey Milovidov
e6b407a961 Added TODO 2020-01-18 22:34:09 +03:00
Alexey Milovidov
997ea7ed53 Fixed error 2020-01-18 22:29:53 +03:00
Alexey Milovidov
f9e1f25189 Added comment to DiskMemory 2020-01-18 22:15:21 +03:00
Alexey Milovidov
76e04b9843 Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro 2020-01-18 21:23:55 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections 2020-01-18 20:58:24 +03:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
alexey-milovidov
3f3a9e69b0
Merge pull request #8672 from excitoon/patch-7
Fixed `MergeTreeData::areBackgroundMovesNeeded` according to move TTL feature
2020-01-18 20:20:00 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
157e6539de Added performance test for bitCount function 2020-01-18 18:50:18 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
c0a5c664a9 Replace readline to replxx: docs and corrections 2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7 Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx 2020-01-18 17:00:59 +03:00
Alexey Milovidov
eeea89e0a4 Added test 2020-01-18 16:06:19 +03:00
Alexey Milovidov
71763c9ab6 Fixed error 2020-01-18 16:06:02 +03:00
Nikolai Kochetov
0fcb36ac7c Drop outputs in StrictResizeProcessor. 2020-01-18 14:39:48 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3e680b59ee
Merge pull request #8709 from ClickHouse/client-clusters-in-suggest
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 14:36:43 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
b93309f1e2
Merge pull request #8712 from ClickHouse/benchmark-dont-interpolate-quantiles
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 14:33:03 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
alexey-milovidov
e78a08cbaf
Merge pull request #8705 from ClickHouse/array-zip-mixed-const-fix
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-18 14:17:53 +03:00
kreuzerkrieg
0bf3ea4247 Enable -Wmissing-include-dirs for GCC 2020-01-18 10:46:27 +02:00
Alexey Milovidov
c152df4ed5 Added a test from Bindu Madhavi 2020-01-18 05:47:55 +03:00
Alexey Milovidov
9b5121d92e Do not interpolate quantiles in clickhouse-benchmark 2020-01-18 05:28:07 +03:00
Alexey Milovidov
9983835c8e Speedup "exception while insert" test 2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282 Added function ifNotFinite 2020-01-18 04:07:11 +03:00
Alexey Milovidov
d270fb69b5 Added cluster names to suggestions in interactive mode in clickhouse-client 2020-01-18 03:32:16 +03:00
alexey-milovidov
90faa6ed5f
Update bitCount.cpp 2020-01-18 01:05:27 +03:00
alexey-milovidov
ec46c68a32
Update bitCount.cpp 2020-01-18 01:05:09 +03:00
Alexey Milovidov
8af3dda0bb Added comments 2020-01-17 23:00:46 +03:00
Alexey Milovidov
da1b51a496 Added function bitCount #8702 2020-01-17 22:57:03 +03:00
Alexander Kuzmenkov
8de0f4fc34 Avoid stale log files.
When the logging configuration changes, the logging-related data
structures on the server are not properly updated. This leads to a bug
where logs are written to old files, and it is impossible to fix without
restarting the server. The log file grows indefinitely and eventually
makes the server run out of disk space (see #8696). To avoid
catastrophic consequences, require that the server is restarted to apply
logging configuration changes, until the proper fix is developed.
2020-01-17 22:27:41 +03:00
Alexey Milovidov
3dec67ca6d Fixed the case of mixed-constness of arguments of function arrayZip 2020-01-17 22:16:02 +03:00
Nikolai Kochetov
61594edcee Fix StrictResize processor. 2020-01-17 20:04:37 +03:00
Vladimir Chebotarev
e7fb7d1288 Improved areBackgroundMovesNeeded() method. 2020-01-17 16:30:54 +03:00
Vladimir Chebotarev
0ba869a1ca Fixed MergeTreeData::areBackgroundMovesNeeded according to move TTL feature. 2020-01-17 16:24:44 +03:00
Vladimir Chebotarev
cb416b0bfd Minor review fixes. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
87ac7c59df Added concurrent test for ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
4f1f9e7e42 Fixed concurrency problems in ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b Fixed test_ttl_move::test_ttls_do_not_work_after_alter a little bit. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
585e0453a6 Added clearing of old DELETE expression during ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
17dfea217b Fixed errors with ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
614c45df16 Improved test_ttl_move::test_ttls_do_not_work_after_alter test (so that it does not pass anymore). 2020-01-17 16:17:17 +03:00
chertus
d9835979eb rename setting 2020-01-17 14:45:43 +03:00
Pervakov Grigory
36e5322320 Fix remove in memory disk, fix style, change s3 object naming 2020-01-17 14:44:16 +03:00
Pervakov Grigory
b0b3842b57 Add remove to IDisk interface, fix issues 2020-01-17 14:34:39 +03:00
Pervakov Grigory
70e50ecf10 Base implementation of IDisk interafce for S3 2020-01-17 14:34:39 +03:00
Vladimir Chebotarev
451c8174c5 Added test for bug with double move which corrupt original part. 2020-01-17 12:46:44 +03:00
Alexander Kuzmenkov
7ae38a3400 [wip] performance comparison test 2020-01-16 22:39:07 +03:00
Nikolai Kochetov
7803e518c6 Remove query pipeline later. 2020-01-16 19:20:22 +03:00
Nikolai Kochetov
61e69c06d2 Fix MergingSortedTransform 2020-01-16 18:52:52 +03:00
Alexander Kuzmenkov
f81aa1c9f0 [wip] performance comparison test 2020-01-16 17:29:53 +03:00
Nikolai Kochetov
f6b9d320a9 Updates in AggregatingTransform 2020-01-16 15:50:04 +03:00
chertus
61a7e84cae Merge branch 'master' into joins 2020-01-16 15:14:19 +03:00
Vladimir Chebotarev
48855d9ba9 Added comment to cloned_part->renameTo(). 2020-01-16 14:52:43 +03:00
Nikolai Kochetov
5aa503beb3 Updates in AggregatingTransform and MergingSortedTransform. 2020-01-16 13:45:34 +03:00
alexey-milovidov
e409051304
Merge pull request #8663 from nikvas0/fix_lazy_db
Fix "DROP TABLE IF EXISTS" for lazy database
2020-01-16 13:24:37 +03:00
alexey-milovidov
f4dee9a76e
Merge pull request #8666 from ClickHouse/filimonov-typo-fix
typo fix
2020-01-16 13:24:00 +03:00
alexey-milovidov
1526a626ae
Merge pull request #8671 from excitoon-favorites/fixedmultiplediskstests
Fixed deduplication issues in more `test_multiple_disks` tests
2020-01-16 13:23:30 +03:00
Vladimir Chebotarev
3e5a6aa83d Fixed a bug with double move which corrupt original part. 2020-01-16 10:11:55 +03:00
chertus
e06b9da71d pm join with splitted blocks (working) 2020-01-16 00:33:21 +03:00
chertus
39f2653663 rewrite with cursor position 2020-01-15 23:33:29 +03:00
Nikolai Kochetov
4b86ef22b5 Fix PipelineExecutor. 2020-01-15 21:32:19 +03:00
Nikolai Kochetov
5f5753941c Fix ports updating in PipelineExecutor. 2020-01-15 21:30:08 +03:00
Alexey Milovidov
06269e572f Added test 2020-01-15 21:19:46 +03:00
Alexey Milovidov
7ba06ccb82 Added method createColumn for DataTypeSet 2020-01-15 21:18:50 +03:00
achulkov2
56b696e899 Remove forgotten unused code 2020-01-15 19:00:32 +03:00
achulkov2
2590eaa782 Improved some error messages 2020-01-15 18:54:45 +03:00
Andrei Chulkov
1d68725814 Delete old inefficient code, add some more checks upon dictionary creation 2020-01-15 18:47:41 +03:00
Vladimir Chebotarev
f758b1f6c6 Fixed deduplication issues in more test_multiple_disks tests. 2020-01-15 18:25:23 +03:00
achulkov2
a4fefc7a45 Add some comments 2020-01-15 17:04:19 +03:00
filimonov
5ae7a0337c
Update Settings.h 2020-01-15 14:51:06 +01:00
achulkov2
2ed7378b69 Fix style error 2020-01-15 16:50:03 +03:00
filimonov
ba4db6a71b
Update Settings.h 2020-01-15 14:38:05 +01:00
filimonov
681f5df66f
typo fix 2020-01-15 14:30:21 +01:00
Andrei Chulkov
45d3537b99 Slight modifications for simple algorithm, improved test 2020-01-15 16:28:18 +03:00
Nikita Vasilev
54e7115ead test 2020-01-15 15:52:23 +03:00
Nikita Vasilev
a8e62788cd test 2020-01-15 15:49:38 +03:00
Alexander Tokmakov
5e2badd9b8 Merge branch 'master' into table_name_in_istorage 2020-01-15 14:55:20 +03:00
Nikita Vasilev
acf11000c6 fix bug 2020-01-15 14:52:30 +03:00
Andrey Chulkov
bf83e66905 Fix clang compilation error 2020-01-15 13:45:04 +03:00
Nikolai Kochetov
ee3e7c1d5f Update PipelineExecutor. 2020-01-15 12:25:38 +03:00
Olga Khvostikova
53ae368d9c
Add virtual columns to hdfs and file table functions (#8489)
* Add virtual column _path to hdfs and file table functions with test

* Fix const of headers

* Add column _file with tests

* Add docs

* Fix improper resolve conflicts

* Fix links in docs

* Better condition for virtual columns proccessing in StorageFile

* better condition for virtual columns processing in StorageHDFS
2020-01-15 10:52:45 +03:00
alexey-milovidov
b6f41e4465
Merge pull request #8647 from qMBQx8GH/fix_max_depth
Initial commit to fix IParser::Pos.max_depth issue
2020-01-15 01:00:17 +03:00
alexey-milovidov
27f867061d
Merge pull request #8652 from ClickHouse/linear-regression-intel
Integrate patch for stochasticLinearRegression
2020-01-15 00:59:51 +03:00
alexey-milovidov
9c5c544f49
Merge pull request #8653 from ClickHouse/fix_system_metadata_path
Fix metadata path for system database
2020-01-15 00:59:24 +03:00
achulkov2
510ddf21ab Implementing faster parsing of polygons 6.0 2020-01-14 23:26:56 +03:00
chertus
3bdc81f3fd Merge branch 'master' into joins 2020-01-14 22:30:07 +03:00
Alexey Milovidov
0a5fbdc01b Merge branch 'master' of github.com:yandex/ClickHouse 2020-01-14 22:24:03 +03:00
Nikolai Kochetov
eadf388cb0 Update ISimpleTransform. 2020-01-14 22:14:10 +03:00
achulkov2
f2a942200a Implementing faster parsing of polygons 5.0 2020-01-14 22:08:17 +03:00
chertus
f0023dc4b1 split in progress 2020-01-14 22:02:22 +03:00
Alexander Tokmakov
d51c3df7b6 fix 2020-01-14 22:01:56 +03:00
Alexey Milovidov
cf3e3b44bd Query profiler is production ready and enabled by default 2020-01-14 21:52:40 +03:00
achulkov2
e852d818e4 Implementing faster parsing of polygons 4.0 2020-01-14 21:48:31 +03:00
achulkov2
32d4798872 Implementing faster parsing of polygons 3.0 2020-01-14 21:46:37 +03:00
alexey-milovidov
c9a781b099
Merge pull request #8648 from CurtizJ/rename-tests
Rename tests to be consistent with clickhouse-test options.
2020-01-14 21:37:43 +03:00
achulkov2
4da1fffc06 Implementing faster parsing of polygons 2.0 2020-01-14 21:36:25 +03:00
achulkov2
c3ddbf8ab9 Implementing faster parsing of polygons 1.0 2020-01-14 21:32:47 +03:00
Nikita Mikhaylov
0e0dd80abf
Merge pull request #6168 from PerformanceVision/move_partition
Alter command for move a specific partition from MergeTree table
2020-01-14 22:32:10 +04:00
Alexey Milovidov
ba905e19bf Removed bunch of other solved tasks 2020-01-14 21:26:46 +03:00
alexey-milovidov
f460095319
Merge pull request #8651 from qoega/qoega/update-easy-tasks-1
Delete fixed tasks from easy tasks list
2020-01-14 21:18:32 +03:00
Nikolai Kochetov
77e04daaca Update ISimpleTransform. 2020-01-14 20:21:59 +03:00
chertus
203410b383 Merge branch 'master' into joins 2020-01-14 20:19:49 +03:00
Alexey Milovidov
975ae4c396 Integrate patch from Intel 2020-01-14 20:17:56 +03:00
Alexander Tokmakov
9521b0ebe5 remove proxystorage 2020-01-14 20:10:19 +03:00
Alexander Tokmakov
ff1b7e1386 get rid of StorageWeakPtr 2020-01-14 19:54:25 +03:00
Yatsishin Ilya
1e501da101 fixed add brotli #4388 2020-01-14 19:50:46 +03:00
Yatsishin Ilya
a1b1c5cd56 fixed static computable limits 2020-01-14 19:48:14 +03:00