Commit Graph

2019 Commits

Author SHA1 Message Date
Nikolai Kochetov
563fe4ea35 Fix DelayedSource. 2020-06-04 16:45:23 +03:00
alesapin
bba558d68e Merge branch 'custom-auth' of https://github.com/GrigoryPervakov/ClickHouse into merging_s3_auth 2020-06-04 16:19:04 +03:00
Nikolai Kochetov
b419d73880 Fix build. 2020-06-04 16:16:58 +03:00
alesapin
603917999b
Merge pull request #11431 from ClickHouse/fix_codecs_arguments_crash
Fix segfault with wrong codecs arguments
2020-06-04 16:15:42 +03:00
Vladimir Chebotarev
d62e85f875 Improved logging of globs in S3. 2020-06-04 16:12:08 +03:00
Vladimir Chebotarev
423db7e39a Added tests for improved S3 URL parsing. 2020-06-04 16:12:04 +03:00
Nikolai Kochetov
dcf9b9ef39 Fix build. 2020-06-04 16:08:09 +03:00
Alexander Tokmakov
4dae169216 fix gcc warnings 2020-06-04 16:03:06 +03:00
Nikita Mikhaylov
4e4218e10d
Merge pull request #11385 from ClickHouse/akz/bg-processing-pool-update1
Extended BackgroundProcessingPool::startTask() to control task execution concurrency
2020-06-04 16:19:29 +04:00
Nikolai Kochetov
f54f948162 Added DelayedSource. 2020-06-04 15:17:35 +03:00
Mikhail Filimonov
26d93fdfba Fix the test, adjust default for queued.min.messages 2020-06-04 14:14:24 +02:00
Alexander Kuzmenkov
30d7d41ebc
Merge pull request #11381 from ClickHouse/aku/fuzz-related
Fuzzing-related changes.
2020-06-04 15:06:11 +03:00
Alexander Kuzmenkov
0943ef3e4b Do not set global context twice in unit tests. 2020-06-04 15:04:05 +03:00
Alexander Kuzmenkov
dacbe8e445
Update src/Interpreters/DatabaseCatalog.cpp 2020-06-04 14:06:07 +03:00
Alexander Kuzmenkov
13762854c6
Update src/Interpreters/DatabaseCatalog.cpp 2020-06-04 14:05:34 +03:00
Anton Popov
4a3d3c6e54
Merge pull request #11419 from CurtizJ/polymorphic-parts-2
Return lost comments and default values
2020-06-04 13:32:38 +03:00
Artem Zuikov
6cdeb060fb
Fix JOIN over LC and Nullable in key (#11414) 2020-06-04 13:07:22 +03:00
alesapin
7fac00ae15 Fix segfault with wrong codecs arguments 2020-06-04 11:55:56 +03:00
exprmntr
dcec02c983
Update ya.make.in 2020-06-04 11:38:25 +03:00
exprmntr
fccf282829
Update ya.make 2020-06-04 11:36:38 +03:00
alesapin
0a453f5c83
Merge pull request #11420 from ClickHouse/fix-msan-failure
Fix MSan failure in MergeTree background task
2020-06-04 10:59:44 +03:00
Tagir Kuskarov
61bfe0b738 Style fix 2020-06-04 07:09:26 +04:00
Tagir Kuskarov
088394a61f Style fix 2020-06-04 06:54:53 +04:00
Tagir Kuskarov
af9e1c7d86 Merge from master 2020-06-04 05:56:30 +04:00
Tagir Kuskarov
bccf2ef39f UTF8 length used 2020-06-04 05:42:32 +04:00
Tagir Kuskarov
fed90652c9 Move files 2020-06-04 05:04:57 +04:00
Alexey Ilyukhov
1daf1146e1 Fix pointInPolygon with nan 2020-06-04 03:59:07 +03:00
Azat Khuzhin
86c5465bf8 Rewrite StorageSystemDistributionQueue interfaces 2020-06-04 03:04:32 +03:00
Azat Khuzhin
aa13bd9530 Fix possible SIGSEGV in StorageSystemDistributionQueue
Refs: #11348
2020-06-04 03:04:28 +03:00
Azat Khuzhin
f0050adc51 Make system.distribution_queue metrics non racy 2020-06-04 02:36:16 +03:00
Azat Khuzhin
09c3ca9c6c Add last_exception into system.distribution_queue 2020-06-04 02:36:16 +03:00
Azat Khuzhin
389f78ceee Add system.distribution_queue
system.distribution_queue contains the following columns:
- database
- table
- data_path
- is_blocked
- error_count
- data_files
- data_compressed_bytes
2020-06-04 02:36:16 +03:00
Azat Khuzhin
60d10f1bac Fix typo in StorageDistributed 2020-06-04 02:36:16 +03:00
alexey-milovidov
acf7773942
Merge pull request #11403 from Enmk/geohashesInBox-fix
Fixed geohashesInBox argument range
2020-06-04 01:44:37 +03:00
Alexey Milovidov
484d269c22 Fix typo 2020-06-04 01:15:13 +03:00
Alexey Milovidov
a0fd9b021a Fix MSan failure in MergeTree 2020-06-04 01:11:06 +03:00
Alexander Tokmakov
64c013610a fix 2020-06-04 01:03:49 +03:00
Anton Popov
5348e5a746
Fix build 2020-06-04 00:58:51 +03:00
Anton Popov
1980d58ba6 add lost comments and default values 2020-06-04 00:30:45 +03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +03:00
Nikolai Kochetov
83b6467308 Added RemoteSource. 2020-06-03 22:50:11 +03:00
Azat Khuzhin
71d0e60dcb ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SEND}
It is pretty logical to have ON CLUSTER for managing Distributed tables.
2020-06-03 21:51:52 +03:00
Mikhail Filimonov
eef914cbdf Remove debug print 2020-06-03 20:34:22 +02:00
Mikhail Filimonov
ea6545a175 Return output_format_pretty_max_value_width after rebase 2020-06-03 20:28:28 +02:00
Mikhail Filimonov
94261b9786 Fix issues detected by clang tidy, fix issue with flush timeout 2020-06-03 19:02:24 +02:00
Mikhail Filimonov
95f4c46aa4 Better control of context copies, some cosmetic changes, client.software.name and client.software.version now initialized 2020-06-03 19:01:45 +02:00
Mikhail Filimonov
4956ade67d Support for all format settings in Kafka, expose some setting on table level, better defaults. 2020-06-03 19:01:41 +02:00
Alexander Kuzmenkov
1c33918f07 style 2020-06-03 17:17:41 +03:00
Alexander Kuzmenkov
60920c3077 let's be optimistic, it will build eventually 2020-06-03 16:44:36 +03:00
Alexander Kuzmenkov
1ab3201454 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-03 16:36:22 +03:00
Alexander Kuzmenkov
91b1d381bb fixup 2020-06-03 16:34:36 +03:00
Alexander Kuzmenkov
07e4bb7050 Remove assorted synonyms of LOGICAL_ERROR.
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
2020-06-03 16:18:42 +03:00
Alexander Tokmakov
e3aa20708a Merge branch 'master' into merging_external_source_cassandra 2020-06-03 14:55:02 +03:00
Alexander Tokmakov
73926b2cf9 support loading from multiple partitions with complex key 2020-06-03 14:54:26 +03:00
Alexander Kuzmenkov
3bf9cec63b Merge remote-tracking branch 'origin/master' into HEAD 2020-06-03 14:49:49 +03:00
Nikolai Kochetov
29dd7fa0df
Merge pull request #11386 from ClickHouse/refactor-RemoteBlockInputStream
Refactor RemoteBlockInputStream.
2020-06-03 14:42:51 +03:00
Alexander Kuzmenkov
eca69d1a56 please build already 2020-06-03 14:25:56 +03:00
Artem Zuikov
1b91dd8ea0
better error for USING key (#11404) 2020-06-03 13:50:15 +03:00
Vasily Nemkov
97a1cc1b52 Fixed geohashesInBox argument range 2020-06-03 13:38:44 +03:00
Ruslan
7757c9ec57
Remove arithmetic operations from aggregation functions (#10047) 2020-06-03 13:28:30 +03:00
Alexander Kuzmenkov
c7d9094a7a
Merge pull request #11259 from ClickHouse/consistent_metadata3
More consistent metadata for secondary indices
2020-06-03 12:23:21 +03:00
Alexander Kuzmenkov
8bf8b44510
Merge pull request #11366 from ClickHouse/fix-SortingTransform-bug
Fix sorting transform bug
2020-06-03 12:11:57 +03:00
Alexander Kuzmenkov
f7bb6d57a4 build 2020-06-03 11:50:27 +03:00
Alexander Kuzmenkov
9ae46722cb build 2020-06-03 11:48:26 +03:00
Alexander Kazakov
f999021ee1 Submit to clang10's demands of syntactic purity 2020-06-03 11:12:56 +03:00
Guillaume Tassery
58d87d07f5 cosmetic 2020-06-03 14:13:50 +07:00
Guillaume Tassery
0cb8649426 take into account special character for netloc 2020-06-03 13:57:18 +07:00
Ilya Yatsishin
4b2e92bb40
Merge pull request #11389 from 4ertus2/bugs
Fix logical error in joinGet()
2020-06-03 07:49:03 +03:00
Guillaume Tassery
7e8d56ebae shorten code 2020-06-03 10:51:18 +07:00
Guillaume Tassery
7ea765544e add on ya.make 2020-06-03 10:08:46 +07:00
alexey-milovidov
66eb56631c
Merge pull request #11355 from ClickHouse/fix_some_integration_tests
Fix several flaky integration tests
2020-06-03 02:35:33 +03:00
Alexander Kazakov
0cd4e6e5ba Trying to fix clang10 build 2020-06-03 00:52:29 +03:00
alexey-milovidov
6864016e22
Merge pull request #11324 from ClickHouse/improve-performance-of-client-interactive-mode
Add setting "output_format_pretty_max_value_width".
2020-06-03 00:17:29 +03:00
Dmitry
5391d26703 better logging 2020-06-02 23:38:10 +03:00
Artem Zuikov
7e7aea0ddb better errors for joinGet() 2020-06-02 23:26:41 +03:00
Alexander Kazakov
9d025337f5 Fixed minor inconsistency with master branch 2020-06-02 21:56:36 +03:00
alesapin
6253e9b97b Revert disabled tests 2020-06-02 21:41:29 +03:00
Nikolai Kochetov
cba05a0dd7 Fix style. 2020-06-02 21:10:42 +03:00
Pervakov Grigorii
bc9381406f Add default credentials and custom headers for s3 table functions. 2020-06-02 20:48:49 +03:00
Alexander Kuzmenkov
a859afa174 macos build fix 2020-06-02 19:57:19 +03:00
Alexander Kuzmenkov
609780c153 build fix 2020-06-02 19:52:50 +03:00
Nikolai Kochetov
9b4db3edb0 Fix totals for remote. 2020-06-02 19:37:30 +03:00
Nikolai Kochetov
5f8c2c4dd5 Fix build. 2020-06-02 19:30:50 +03:00
Nikolai Kochetov
f1cccf31b2 Fix build. 2020-06-02 19:29:29 +03:00
Nikolai Kochetov
b1d1034111 Refactor RemoteBlockInputStream. 2020-06-02 19:27:05 +03:00
Nikolai Kochetov
13c5ec5b54 Refactor RemoteBlockInputStream. 2020-06-02 18:59:57 +03:00
Alexander Kazakov
8986983392 insignificant typo 2020-06-02 18:22:05 +03:00
Alexander Kazakov
9fbd72ab34 Renamed method 2020-06-02 18:18:36 +03:00
Alexander Kazakov
013dc2d7c2 Updated startTask() method + reworked some of the worker loop 2020-06-02 17:37:10 +03:00
Alexander Kuzmenkov
42debdfbb2 build fixes 2020-06-02 17:09:51 +03:00
alexey-milovidov
ff7262968a
Merge pull request #11354 from ClickHouse/get_rid_of_lock_during_send
Remove structure lock on parts send
2020-06-02 17:05:24 +03:00
Alexander Kuzmenkov
0a5cc96b67 Fuzzing-related changes.
* More LOGICAL_ERROR
* Proper cloning of some Asts
* Field::safeGet for user-supplied values
2020-06-02 16:56:10 +03:00
Alexey Milovidov
6fea843d88 Fix Mac OS build 2020-06-02 16:56:03 +03:00
Alexey Milovidov
933644b8e4 Fix clang-tidy 2020-06-02 16:53:34 +03:00
alexey-milovidov
d47d0d7108
Merge pull request #11346 from ClickHouse/optimize-final-should-force-merge-2
OPTIMIZE FINAL should force merge even if concurrent merges are performed (experimental, try 2)
2020-06-02 16:40:20 +03:00
alexey-milovidov
9b07989954
Merge pull request #11348 from ClickHouse/lazy-database-segfault-2
Fix potential segfault when using Lazy database.
2020-06-02 16:37:23 +03:00
Nikolai Kochetov
9a283de670
Merge pull request #11339 from ClickHouse/remove-experimantal-use-processors-flag-5
Remove some streams.
2020-06-02 14:46:02 +03:00
Nikolai Kochetov
ecdbd888cf Clase all inputs in SortingTransform. 2020-06-02 13:50:27 +03:00
Alexander Kuzmenkov
d9f00a8f48 fix build 2020-06-02 12:58:48 +03:00
Alexander Kuzmenkov
dc24d69566 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-02 12:56:02 +03:00
Alexander Kuzmenkov
bd84c3be18
Merge branch 'master' into fuzz_data 2020-06-02 12:49:43 +03:00
Andrei Nekrashevich
5a0e3c91be ya.make 2020-06-02 12:46:43 +03:00
Guillaume Tassery
d2c1535fd6 change extract value variable 2020-06-02 16:10:10 +07:00
Guillaume Tassery
500a8d22fa create netloc function 2020-06-02 15:34:08 +07:00
alesapin
42b6370b67 Remove structure lock on parts send 2020-06-02 11:10:21 +03:00
alesapin
e5eb6071a4 Merge with master 2020-06-02 10:46:58 +03:00
alesapin
1ab3047201 Merge branch 'master' into consistent_metadata3 2020-06-02 10:37:12 +03:00
Ilya Yatsishin
a101b17df7
Merge pull request #11335 from ClickHouse/stop_merges_before_alter
Stop merges before taking exclusive lock :(
2020-06-02 09:34:05 +03:00
Ilya Yatsishin
b719c81856
Merge pull request #11345 from ClickHouse/fix-unit-test-ubsan
Fix unit test with UBSan
2020-06-02 09:12:12 +03:00
Nikolai Kochetov
45a1db7a80 Try fix tets. 2020-06-02 08:16:45 +03:00
Alexey Milovidov
cd07d61ce7 Updated tests 2020-06-02 05:39:21 +03:00
Alexey Milovidov
a6bf4b5d70 Fix error with Lazy database 2020-06-02 05:06:16 +03:00
Alexey Milovidov
bdfa552844 Fix nullptr dereference in SYSTEM query and Lazy database 2020-06-02 04:53:32 +03:00
Alexey Milovidov
d34b1a8791 Merge branch 'master' into improve-performance-of-client-interactive-mode 2020-06-02 04:24:17 +03:00
Alexey Milovidov
3019ca3408 Added comments 2020-06-02 04:20:44 +03:00
alexey-milovidov
92ac608447
Merge pull request #11330 from ClickHouse/fix-10241
More parallel MV processing.
2020-06-02 04:06:39 +03:00
alexey-milovidov
da85e1b451
Update PushingToViewsBlockOutputStream.cpp 2020-06-02 04:06:19 +03:00
alexey-milovidov
c82edcb397
Update PushingToViewsBlockOutputStream.cpp 2020-06-02 04:05:11 +03:00
Alexey Milovidov
78d966f4e5 Better code 2020-06-02 03:41:52 +03:00
Alexey Milovidov
f1ee4b85f0 Fix unit test with UBSan 2020-06-02 02:54:17 +03:00
alexey-milovidov
8e5d672563
Merge pull request #11340 from 4ertus2/bugs
Fix crash in select from StorageJoin
2020-06-02 02:46:08 +03:00
alexey-milovidov
68e2f88635
Merge pull request #11337 from ClickHouse/fix-quantile-arguments
Fix quantile arguments
2020-06-02 02:14:13 +03:00
alexey-milovidov
7c83679a37
Merge pull request #11341 from ClickHouse/config-reloader-better-log
Better log messages in ConfigReloader
2020-06-01 23:17:02 +03:00
alesapin
ad6447398f Fix indices calculation during merge 2020-06-01 22:58:30 +03:00
Artem Zuikov
b7958d4f06 make clang-10 happy 2020-06-01 22:38:51 +03:00
Alexey Milovidov
5bc5459628 Better log messages in ConfigReloader 2020-06-01 20:58:25 +03:00
Alexander Tokmakov
aade00130c add raii wrappers 2020-06-01 20:37:32 +03:00
Artem Zuikov
bfa59adbfe fix select from StorageJoin 2020-06-01 20:27:22 +03:00
Alexander Kuzmenkov
9a2474ba84 move settings to a more suitable location 2020-06-01 20:17:31 +03:00
Nikolai Kochetov
d64bc7072f Fix tests. 2020-06-01 20:15:54 +03:00
Alexander Kuzmenkov
03d8bf9242 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-01 20:15:25 +03:00
Alexander Kuzmenkov
aa1f552a8f build fixes 2020-06-01 20:13:54 +03:00
Alexey Milovidov
7fcfcf201d Fix unit tests under MSan 2020-06-01 20:07:27 +03:00
Nikolai Kochetov
53d12f5ab8 Try fix build. 2020-06-01 20:06:21 +03:00
Nikolai Kochetov
d25326e75c Try fix build. 2020-06-01 20:03:57 +03:00
Nikolai Kochetov
325393d340 Try fix build. 2020-06-01 19:58:36 +03:00
Nikolai Kochetov
8b1b96bfd8 Fix build. 2020-06-01 19:32:56 +03:00
Nikolai Kochetov
3a0acb00c1 Remove some streams. 2020-06-01 19:31:06 +03:00
alesapin
ce6db6927b
boop CI 2020-06-01 19:22:33 +03:00
Nikolai Kochetov
35190e3f56 Fix arguments for AggregateFunctionQuantile/ 2020-06-01 19:12:15 +03:00
alesapin
f287a28fc5 Stop merges before taking exclusive lock :( 2020-06-01 18:16:10 +03:00
alexey-milovidov
19c6e0e5ae
Merge pull request #11307 from ClickHouse/remove-system-tables-lazy-load
Remove "system_tables_lazy_load" option
2020-06-01 16:26:23 +03:00
alesapin
e0e77194f4 Remove redundant parts from MergeTree 2020-06-01 15:39:20 +03:00
alesapin
b49be4c7f2 Better names 2020-06-01 15:11:23 +03:00
alesapin
254d55f2ab Better method name 2020-06-01 15:02:36 +03:00
Alexander Tokmakov
62761eddcc Merge branch 'master' into merging_external_source_cassandra 2020-06-01 14:44:46 +03:00
alesapin
663e92b1c5 Rename to methods 2020-06-01 14:29:11 +03:00
alesapin
d9a817f578 Less virtual methods in IStorage 2020-06-01 14:17:18 +03:00
Alexander Kuzmenkov
ca3fb27b09 Report dictionary name on dictionary load errors. 2020-06-01 14:08:14 +03:00
alesapin
69a9c856a6 Better variable name 2020-06-01 13:54:31 +03:00