alexey-milovidov
16f0e3a467
Merge pull request #11493 from ClickHouse/kuskarov-fix_history_bugs
...
Merging #11453 (save history in clickhouse-client after every query)
2020-06-08 02:13:20 +03:00
Alexey Milovidov
834f8426e0
Fix memory leak
2020-06-08 01:46:58 +03:00
Vitaliy Zakaznikov
75c97ca82a
Adding support for PREWHERE in live view tables.
2020-06-08 00:19:23 +02:00
Alexey Milovidov
f2cfb7d132
Whitespaces
2020-06-08 00:05:36 +03:00
potya
80496628e3
Add better code
2020-06-07 23:02:57 +03:00
Alexey Milovidov
df19db1509
Added a test for history in clickhouse-client
2020-06-07 20:29:34 +03:00
tavplubix
686c0539db
Merge pull request #11487 from ClickHouse/improve_dns_cache
...
Use DNSResolver to check if user is allowed to connect from an address
2020-06-07 19:55:03 +03:00
tavplubix
103f0d3ead
Update DNSResolver.cpp
2020-06-07 18:17:23 +03:00
alexey-milovidov
f804321cba
Update DNSResolver.cpp
2020-06-07 03:18:54 +03:00
alexey-milovidov
3d2254bc99
Merge pull request #11471 from Enmk/Codec_test_fixes
...
Fixed using nullptr source and dest buffers in codecs, fixed test
2020-06-07 02:46:09 +03:00
alexey-milovidov
e3c528e661
Merge pull request #11174 from excitoon-favorites/s3tests
...
Added tests for improved S3 URL parsing
2020-06-07 02:44:40 +03:00
Ivan
d2178cbacd
Merge pull request #11388 from filimonov/kafka_better_settings
...
Better settings for Kafka
2020-06-07 01:26:21 +03:00
Alexander Tokmakov
f620d97f9f
fix
2020-06-07 00:48:38 +03:00
alexey-milovidov
5ff63d9ad5
Merge pull request #11486 from ClickHouse/speed-up-build
...
Speed up build by removing old example programs
2020-06-07 00:22:03 +03:00
Alexander Tokmakov
0cf8015f4a
use DNSResolver to check if user is allowed to connect
2020-06-07 00:02:29 +03:00
Ivan
657ce426d3
Fix build
...
Checked locally - no PR
2020-06-06 22:27:48 +03:00
BayoNet
e9b7919e12
DOCS-271: Updated the MergeTree() ORDER BY description ( #11433 )
...
* CLICKHOUSEDOCS-271: Updated the MergeTree() ORDER BY description.
* CLICKHOUSEDOCS-271: Fixes grammar.
* CLICKHOUSEDOCS-271: Updated by comments.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-06 20:44:48 +03:00
Ivan
058821fa02
Merge branch 'master' into kafka_better_settings
2020-06-06 19:50:38 +03:00
Alexey Milovidov
4313a52970
Merge branch 'master' into kuskarov-add_syntax_highlighting
2020-06-06 19:35:47 +03:00
Alexey Milovidov
c37627dabf
Merge branch 'master' into Enmk-Codec_test_fixes
2020-06-06 19:21:28 +03:00
Alexey Milovidov
d3d02a67f4
Speed up build by removing old example programs
2020-06-06 19:19:16 +03:00
alexey-milovidov
3e84b17cf8
Merge pull request #11394 from azat/system.distribution_queue
...
Add system.distribution_queue table
2020-06-06 18:59:59 +03:00
Alexander Kuzmenkov
5851d61bb2
Merge pull request #11485 from ClickHouse/aku/fix-master
...
Remove some LOGICAL_ERROR to fix the tests
2020-06-06 18:59:31 +03:00
alexey-milovidov
82e849e6a1
Update StorageDistributed.cpp
2020-06-06 18:57:52 +03:00
Alexander Kuzmenkov
57cdbaad81
Remove some LOGICAL_ERROR to fix the tests
2020-06-06 16:05:50 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
...
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
Vasily Nemkov
8996f47124
Revived Alexey Milovidov's fixes
2020-06-06 12:52:56 +03:00
alexey-milovidov
42534959e3
Merge pull request #11421 from livace/fix_point_in_polygon_with_nan
...
Fix pointInPolygon with nan
2020-06-06 12:37:19 +03:00
alexey-milovidov
050ef9eb54
Merge pull request #11455 from azat/INSERT-SELECT-FINAL-pipeline-stuck
...
Fix Pipeline stuck for INSERT SELECT FINAL
2020-06-06 12:36:07 +03:00
alexey-milovidov
e8a7fab81c
Merge pull request #11480 from 4ertus2/some
...
Refactoring: remove TableWithColumnNames
2020-06-06 12:33:16 +03:00
alexey-milovidov
937dd79880
Merge pull request #11477 from ClickHouse/aku/generate-random
...
generateRandom: check that all arguments are literals
2020-06-06 12:08:24 +03:00
Alexey Milovidov
a73b360c80
Update comment
2020-06-06 11:45:54 +03:00
Alexey Milovidov
cbf71d66e6
Fix undefined behaviour of DoubleDelta
2020-06-06 11:43:51 +03:00
Alexander Kuzmenkov
fafa953ee4
fixup
2020-06-06 04:23:21 +03:00
Artem Zuikov
1ee09a9f89
disable ColumnMatch::ColumnName logic
2020-06-06 02:14:18 +03:00
alexey-milovidov
5f99d887cc
Merge pull request #11443 from 4ertus2/strange
...
Rename setting
2020-06-06 01:45:21 +03:00
alexey-milovidov
f984cb750e
Update gtest_compressionCodec.cpp
2020-06-06 01:06:45 +03:00
Artem Zuikov
fdba90dd12
Merge branch 'master' into some
2020-06-06 00:50:42 +03:00
Artem Zuikov
0f37304521
hotfix: save tmp container
2020-06-06 00:28:44 +03:00
Artem Zuikov
c58f9bd43d
refactoring: remove TableWithColumnNames
2020-06-06 00:17:00 +03:00
Alexander Kuzmenkov
3fd40098c4
fix same error in values() as well
2020-06-05 23:45:15 +03:00
Alexander Kuzmenkov
cd9b75db53
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-05 23:43:24 +03:00
Alexander Kuzmenkov
d17a435fb6
Merge pull request #11226 from ClickHouse/aku/merge-perf-events
...
Merge Perf events metrics #9545
2020-06-05 23:10:54 +03:00
Vitaly Baranov
92ae3e11fa
Merge pull request #11356 from PerformanceVision/netloc_function
...
Create a netloc function for extracting network location
2020-06-05 22:13:38 +03:00
Vasily Nemkov
05ae8c405b
Fixed using nullptr source and dest buffers in codecs, fixed test
2020-06-05 22:08:52 +03:00
Alexander Kuzmenkov
fc69811c7f
generateRandom: check that all arguments are literals
2020-06-05 21:45:48 +03:00
alesapin
abaf47f0cd
Make metadata single structure
2020-06-05 20:29:40 +03:00
Nikolai Kochetov
108575c8ad
Added IQueryPlanStep.
2020-06-05 18:38:03 +03:00
Alexander Kuzmenkov
5523444d91
cleanup
2020-06-05 15:53:47 +03:00
alesapin
2b23d1aa33
Fix reference
2020-06-05 15:13:24 +03:00
alesapin
5bc7f67e61
Better metadata for select query and renames
2020-06-05 14:54:54 +03:00
Artem Zuikov
ecca78d855
fix trivial count with join ( #11454 )
2020-06-05 13:28:52 +03:00
Artem Zuikov
9717f3cfe5
make clang tidy happy
2020-06-05 13:27:54 +03:00
Alexander Kuzmenkov
7db8edf402
Merge pull request #11446 from ClickHouse/aku/better-error-messages
...
Improve error messages
2020-06-05 13:11:02 +03:00
Alexander Kuzmenkov
eaaf005a03
Merge pull request #11410 from ClickHouse/aku/logical-error-synonyms
...
Remove assorted synonyms of LOGICAL_ERROR
2020-06-05 13:10:40 +03:00
Nikolai Kochetov
f2350d3aec
Merge pull request #11415 from azat/SYSTEM-FLUSH-DISTRIBUTED-ON-CLUSTER
...
ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SENDS}
2020-06-05 12:59:38 +03:00
Nikolai Kochetov
5fea34d0e1
Use Resize instead of Concat in InterpreterInsertQuery.
2020-06-05 12:30:16 +03:00
hexiaoting
d2052dd1d4
show clusters
2020-06-05 17:13:13 +08:00
alexey-milovidov
0d30d1005f
Merge pull request #11448 from ClickHouse/fix-codecs-compression-size
...
Try fix return compressed size for codecs.
2020-06-05 04:43:58 +03:00
Alexey Milovidov
c9a883f2c4
Remove unneeded files
2020-06-05 02:07:13 +03:00
Alexey Milovidov
02e77e3406
Adjust some colors: minimum safe variant
2020-06-05 02:05:37 +03:00
Alexey Milovidov
275075b6f7
Revert all changes but save commit history from @kuskarov
2020-06-05 01:44:29 +03:00
Alexey Milovidov
fcd7fd8e7c
Updates for #11422
2020-06-05 01:31:19 +03:00
Azat Khuzhin
1887e343ec
Fix Pipeline stuck for INSERT SELECT FINAL
...
INSERT SELECT FINAL where SELECT (max_threads>1) has multiple streams
but INSERT has only one (max_insert_threads==0) will add ConcatProcessor
that will stuck the pipeline in this case.
2020-06-05 01:14:30 +03:00
Artem Zuikov
ab86ca2fb6
rename v2
2020-06-05 01:10:52 +03:00
Artem Zuikov
b66ad25841
IColumn::getDataType() ( #11438 )
2020-06-05 01:02:59 +03:00
Artem Zuikov
6d211bec19
fix trivial count with join
2020-06-05 01:01:40 +03:00
Alexey Milovidov
348d2098a4
Merge branch 'add_syntax_highlighting' of https://github.com/kuskarov/ClickHouse into kuskarov-add_syntax_highlighting
2020-06-04 23:57:20 +03:00
alexey-milovidov
1fd94de4b4
Update CompressionCodecGorilla.cpp
2020-06-04 23:51:07 +03:00
alexey-milovidov
f24a1f5210
Update CompressionCodecDoubleDelta.cpp
2020-06-04 23:50:31 +03:00
Nikolai Kochetov
d87b474665
Remove debug output.
2020-06-04 23:42:59 +03:00
Nikolai Kochetov
31ad5d7e5d
Remove debug output.
2020-06-04 23:42:03 +03:00
Alexey Milovidov
f7398a9c09
Fix clang-tidy
2020-06-04 23:39:26 +03:00
Nikolai Kochetov
133037c410
Try fix return compressed size for codecs.
2020-06-04 20:56:53 +03:00
Alexey Milovidov
18999e4e7c
Temporarily disable gtest_compressionCodec
2020-06-04 20:56:15 +03:00
Alexander Kuzmenkov
435f53e05a
Improve error messages
...
Also support fmt for exception messages, the same way we use it in
logging macros.
2020-06-04 20:50:29 +03:00
Azat Khuzhin
ff85125326
Fix readability-qualified-auto
2020-06-04 20:23:46 +03:00
Azat Khuzhin
0f368c804d
Fix SYSTEM START/STOP DISTRIBUTED SENDS w/o table name
2020-06-04 20:22:29 +03:00
Albert Kidrachev
60b86f524f
add perf-test and fix
2020-06-04 20:10:52 +03:00
Alexander Kuzmenkov
377da4656d
cleanup
2020-06-04 18:51:34 +03:00
Artem Zuikov
24ee7346a9
rename setting
2020-06-04 17:31:57 +03:00
Alexander Kuzmenkov
029005be7c
clang-tidy
2020-06-04 17:26:16 +03:00
Alexander Tokmakov
1c982d00e3
try fix sync
2020-06-04 16:59:12 +03:00
alesapin
22235c1951
Tiny fixes for storage s3
2020-06-04 16:48:20 +03:00
Nikolai Kochetov
18516ba09f
Fix DelayedSource.
2020-06-04 16:46:27 +03:00
alesapin
b163052d1b
Merge pull request #11134 from GrigoryPervakov/custom-auth
...
Add default credentials and custom headers for s3 storage.
2020-06-04 16:46:01 +03:00
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
Albert Kidrachev
be95da34b3
fix
2020-06-04 09:39:08 +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
Albert Kidrachev
ae7bad368b
run optimization for limit >= 1500 and hint for comparing ColumnString
2020-06-04 01:50:58 +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
46493b9878
Fix PartialSortingTransform.
2020-06-02 14:56:58 +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
Nikolai Kochetov
cc3abb12d3
Disable filtration for PartialSortingTransform
2020-06-02 11:28:57 +03:00
alesapin
42b6370b67
Remove structure lock on parts send
2020-06-02 11:10:21 +03:00
Nikolai Kochetov
fded020cdc
Fix build.
2020-06-02 10:53:55 +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
Albert Kidrachev
d717919c0c
some improvements of vectorization compare
2020-06-02 03:23:41 +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
9f8c156fd2
Remove debug output
2020-06-02 02:35:44 +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
6eb6d8f3fd
Get rid of annoying trailing whitespaces in CREATE query
2020-06-02 00:11:08 +03:00
Alexey Milovidov
7943d22e19
Merge branch 'master' into avoid-trailing-whitespaces-in-some-cases
2020-06-01 23:21:30 +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
Albert Kidrachev
02611de051
merge
2020-06-01 15:11:36 +03:00
alesapin
b49be4c7f2
Better names
2020-06-01 15:11:23 +03:00
Albert Kidrachev
fe170508bd
devirtualize compareAt calls
2020-06-01 15:10:32 +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
alesapin
72c17a8e3a
Slightly more comments
2020-06-01 13:48:52 +03:00
alesapin
3847ea892d
Merge branch 'master' into consistent_metadata3
2020-06-01 13:17:59 +03:00
Artem Zuikov
9028a25f3c
more types in ASOF JOIN ( #11301 )
2020-06-01 12:38:46 +03:00
alesapin
c22e8f6b9b
Merge pull request #11283 from filimonov/kafka_virtual_column_headers
...
Virtual columns for Kafka headers
2020-06-01 12:06:00 +03:00
alesapin
364ebe9246
Merge pull request #11260 from filimonov/kafka_virtual_column_timestamp_ms
...
Add _timestamp_ms virtual columns to Kafka engine
2020-06-01 12:04:17 +03:00
Nikolai Kochetov
e6bbc2763d
Parallel processing for PushingToViewsBlockOutputStream::writeSuffix
2020-06-01 11:36:48 +03:00
alexey-milovidov
166b267dcf
Merge pull request #11323 from ClickHouse/improve-performance-of-client-interactive-mode-2
...
Improve performance of client interactive mode
2020-06-01 04:21:23 +03:00
Andrei Nekrashevich
1cd888f505
fix
2020-06-01 02:40:38 +03:00
Alexey Milovidov
57df571e60
Remove trailing whitespaces from formatted queries in some cases
2020-06-01 01:40:41 +03:00
Alexey Milovidov
7fa1366a4a
Fix build after merge #11230
2020-06-01 01:25:37 +03:00
alexey-milovidov
256f84ddc2
Merge pull request #11230 from Jokser/s3-poco-http-client
...
S3 Poco Http Client
2020-06-01 01:20:21 +03:00
Alexey Milovidov
c901a657f8
Improvement
2020-06-01 01:17:40 +03:00
Alexey Milovidov
a76bd99e84
Added setting "output_format_pretty_max_value_width"
2020-06-01 01:12:13 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
...
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
4c2950b438
Merge branch 'improve-performance-of-client-interactive-mode-2' into improve-performance-of-client-interactive-mode
2020-05-31 23:03:21 +03:00
Alexey Milovidov
eb0e28b26d
Added a function "computeBytesBeforeWidth"
2020-05-31 23:03:11 +03:00
Alexey Milovidov
ad14025b5e
Further improvement
2020-05-31 22:47:39 +03:00
Alexey Milovidov
2895cfb480
Limit value width in Pretty formats
2020-05-31 22:22:59 +03:00
Alexey Milovidov
463d2cf836
Improve performance of UTF8::computeWidth
2020-05-31 22:22:31 +03:00
Alexey Milovidov
07c14e12dd
Fix build after merge of #11162 with master
2020-05-31 19:53:30 +03:00
alexey-milovidov
8accde79b5
Merge pull request #11162 from azat/data-skip-index-merging-params-fix
...
[RFC] Fix data skipping indexes for columns with additional actions during merge
2020-05-31 19:10:53 +03:00
alexey-milovidov
9416e82b75
Update MergeTreeDataMergerMutator.cpp
2020-05-31 19:06:59 +03:00
alexey-milovidov
a8f5b10f15
Merge pull request #10621 from azat/enable_optimize_predicate_expression-order
...
Fix predicates optimization for distributed queries with HAVING
2020-05-31 18:55:35 +03:00
alexey-milovidov
9a362eb02e
Merge pull request #11252 from filimonov/kafka-clientid
...
Kafka clientid (finishing #11073 )
2020-05-31 18:37:30 +03:00
Alexey Milovidov
87cf123ef8
Merge branch 'master' into remove-system-tables-lazy-load
2020-05-31 18:06:08 +03:00
Alexey Milovidov
e1202759c5
Fix style #11318
2020-05-31 18:01:59 +03:00
alexey-milovidov
5b2b3739b9
Merge pull request #11318 from devwout/master
...
Fix visitParamExtractRaw for strings with unbalanced { or [.
2020-05-31 17:52:00 +03:00
Alexey Milovidov
85537d7b94
Miscellaneous changes for SystemLogs
2020-05-31 17:38:02 +03:00
alexey-milovidov
1a8c19741e
Merge pull request #11311 from ClickHouse/fix-uninitialized-memory-in-cast
...
Fix uninitialized memory in conversion
2020-05-31 17:33:06 +03:00
Alexey Milovidov
f47320cb96
Added clarification #10678
2020-05-31 17:28:44 +03:00
Alexey Milovidov
de2f7a0a9d
Regenerate ya.make after #10678
2020-05-31 17:26:00 +03:00
alexey-milovidov
bebc6f82fc
Merge pull request #10678 from livace/add_geo_types
...
Add geo data types Point and Polygon
2020-05-31 17:25:15 +03:00
Alexey Milovidov
26395709a1
Regenerate ya.make to prepare for #10678
2020-05-31 17:24:11 +03:00
MovElb
fd5b1741a6
build fix
2020-05-31 17:05:41 +03:00
alexey-milovidov
195635d1cb
Merge pull request #11316 from ClickHouse/better-not-enough-memory-message
...
Better exception message in case when there is shortage of memory mappings
2020-05-31 16:59:34 +03:00
alexey-milovidov
1df5c28dbc
Merge pull request #11314 from ClickHouse/fix-race-condition-thread-pool
...
Fix very rare race condition in ThreadPool
2020-05-31 16:58:50 +03:00
alexey-milovidov
97d9f218af
Merge pull request #11296 from ClickHouse/fix-false-too-slow
...
Fix bug with Throttler and query speed estimation
2020-05-31 14:18:29 +03:00
Ewout
70eaae38f2
Fix visitParamExtractRaw for strings with unbalanced { or [.
...
Closes #11254 .
2020-05-31 00:58:30 +02:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
alexey-milovidov
383962e47c
Update trap.cpp
2020-05-30 23:45:30 +03:00
Alexey Ilyukhov
1b0c9fae6c
Fix style
2020-05-30 23:15:35 +03:00
Alexey Milovidov
b95b6ec0ee
Tested with "trap" function
2020-05-30 23:02:44 +03:00
MovElb
142c63e487
done rebase
2020-05-30 23:02:11 +03:00
Alexey Milovidov
9a41eb14a6
Fix build
2020-05-30 22:40:23 +03:00
Alexey Milovidov
09d2f19287
Better exception in case when there is shortage of memory mappings
2020-05-30 22:38:25 +03:00
Alexey Milovidov
43c2a46672
Fix very rare race condition in ThreadPool
2020-05-30 21:57:02 +03:00
Alexey Ilyukhov
853872b404
Fix style
2020-05-30 21:37:32 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
...
Remove some code.
2020-05-30 21:05:14 +03:00
alexey-milovidov
a5770fe041
Update PullingPipelineExecutor.cpp
2020-05-30 21:05:05 +03:00
MovElb
b4b5c90343
squash
2020-05-30 20:05:05 +03:00
Alexey Milovidov
421a62e978
Merge branch 'master' into fix-false-too-slow
2020-05-30 19:36:55 +03:00
Alexey Milovidov
41bfa8a275
Addition to prev. revision
2020-05-30 19:35:59 +03:00
Alexey Milovidov
326d2f9af8
Fix uninitialized memory in conversion
2020-05-30 19:21:14 +03:00
Alexey Milovidov
6468d7af8c
Regenerate ya.make
2020-05-30 19:20:19 +03:00
Alexey Ilyukhov
3b78b010e5
Add empty line
2020-05-30 18:30:09 +03:00
Alexey Ilyukhov
b84c8fcbd8
Add allow_experimental_geo_types; add test
2020-05-30 18:26:19 +03:00
alexey-milovidov
1dbaf80a5d
Merge pull request #11303 from ClickHouse/fix-index-analysis-empty-array
...
Fix issue #11286 ; add a test
2020-05-30 17:28:00 +03:00
Alexey Milovidov
496fed5ed3
Remove "system_tables_lazy_load" option
2020-05-30 17:24:09 +03:00
Nikolai Kochetov
22cba267e3
Merge pull request #11295 from ClickHouse/abb-back-experimental_use_processors-setting
...
Revert setting.
2020-05-30 10:04:07 +03:00
Alexey Milovidov
ffdec23d08
Remove wrong code #8441
2020-05-30 01:43:25 +03:00
Alexey Milovidov
b78c48310b
Whitespaces
2020-05-30 01:37:44 +03:00
Alexey Milovidov
8c8821475c
Fix issue #11286 ; add a test
2020-05-30 00:32:35 +03:00
Alexey Milovidov
e4a329a47f
Checking max execution speed on all nodes #5732
2020-05-29 23:37:37 +03:00
Alexey Milovidov
9768743d09
Whitespace
2020-05-29 23:17:38 +03:00
Ilya Yatsishin
393db8ff6c
Merge pull request #11261 from filimonov/kafka_log_with_prefix_and_facility
...
Add prefix & facility to librdkafka logs
2020-05-29 23:02:42 +03:00
Alexey Milovidov
fb5e1a8e8d
Whitespaces
2020-05-29 22:54:59 +03:00
Alexey Milovidov
0eb2f4dee9
Change default value of "timeout_before_checking_execution_speed" to make it reasonable
2020-05-29 21:51:51 +03:00
Alexey Milovidov
9d39fc6dcb
Fix bug with Throttler and query speed estimation
2020-05-29 21:23:45 +03:00
Nikolai Kochetov
36b1a37927
Revert setting.
2020-05-29 21:23:11 +03:00
tavplubix
a4e40fb5f2
Merge pull request #11269 from ClickHouse/add_context_to_idatabase_methods
...
Add context to IDatabase methods
2020-05-29 21:15:35 +03:00
alexey-milovidov
1abaca5174
Merge pull request #11276 from ClickHouse/fix-constraints-and-insert-performance
...
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks.
2020-05-29 20:04:59 +03:00
Anton Popov
e6a9a33010
Merge pull request #11183 from ClickHouse/consistent_metadata2
...
Refactor TTLs metadata (move them to IStorage).
2020-05-29 20:00:11 +03:00
Nikolai Kochetov
f7e0e87c7d
Try fix tests.
2020-05-29 19:35:09 +03:00
Alexander Tokmakov
8921041706
Merge branch 'master' into merging_external_source_cassandra
2020-05-29 18:20:39 +03:00
Albert Kidrachev
43c0499e87
merging
2020-05-29 17:53:33 +03:00
alexey-milovidov
58c1d96582
Merge pull request #11208 from ClickHouse/escape-sequences-php-mysql-style
...
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-29 17:19:00 +03:00
alesapin
a429760641
Fix debug build
2020-05-29 17:10:09 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
...
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
alexey-milovidov
9a4fd5cf56
Merge pull request #11272 from ClickHouse/fix-usage-of-fmtlib
...
Fix potential incorrect usage of fmtlib
2020-05-29 16:22:52 +03:00
Alexander Kuzmenkov
6e3bbf83e3
thread-local perf events
2020-05-29 16:04:32 +03:00
Nikolai Kochetov
bd814d83de
Try fix tests.
2020-05-29 16:04:03 +03:00
Nikita Mikhaylov
9233997b24
Merge pull request #11233 from nikitamikhaylov/cache-getstring-bugfix
...
Cache-dictionary getString() bugfix
2020-05-29 16:32:35 +04:00
alesapin
748e8fbfc3
Merge with master
2020-05-29 14:03:11 +03:00
alesapin
2ff7bbb511
Better names
2020-05-29 13:56:04 +03:00
Dmitry
adcb88a1d5
turn OFF by default
2020-05-29 13:54:13 +03:00
alesapin
0170250c5e
Merge branch 'master' into consistent_metadata2
2020-05-29 13:48:09 +03:00
Nikolai Kochetov
cf08299e43
Merge pull request #11249 from ClickHouse/fix-memory-tracked-description-race
...
Fix race for description in MemoryTracker.
2020-05-29 13:42:07 +03:00
Nikolai Kochetov
bbb57b7789
Try fix tests.
2020-05-29 13:31:19 +03:00
Alexander Kazakov
3f53b5b335
Fixed improper logging of failures in destructors of certain metrics ( #11264 )
2020-05-29 12:45:55 +03:00
Mikhail Filimonov
b885337454
Virtual columns for accessing kafka message headers
2020-05-29 10:44:10 +02:00
alesapin
9a34310ead
Merge pull request #11262 from ClickHouse/fix_unit_broken_tests
...
Fix unit broken tests
2020-05-29 11:18:46 +03:00
Vitaly Baranov
2d12b4d3ac
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 09:54:27 +03:00
Alexey Milovidov
9120495c48
Increase chunk size for parallel parsing just in case
2020-05-29 05:31:45 +03:00
Alexey Milovidov
23d7947549
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks
2020-05-29 05:08:48 +03:00
Andrei Nekrashevich
af469c0da5
fix issues
2020-05-29 05:06:21 +03:00
Albert Kidrachev
c91ca6fd4b
fix optimization, add comments and performance test
2020-05-29 04:50:02 +03:00
alexey-milovidov
04bdffd9d7
Merge pull request #11255 from zlobober/proper_versions_in_arcadia
...
Use proper versions in Arcadia build.
2020-05-29 03:58:49 +03:00
Alexey Milovidov
e8f52337aa
Fix incorrect usage of fmtlib
2020-05-29 03:09:12 +03:00
Alexander Tokmakov
c071e0a473
add context to DatabaseCatalog methods
2020-05-29 02:01:18 +03:00
alexey-milovidov
fb4d272f5b
Merge pull request #11258 from vitlibar/protobuf-fix-handling-bad-data
...
Fix handling bad data while reading in Protobuf format.
2020-05-28 23:26:20 +03:00
Alexander Tokmakov
3cff070f89
add context to IDatabase methods
2020-05-28 23:10:45 +03:00
Nikolai Kochetov
a9c6fa1ca7
Try fix tests.
2020-05-28 23:05:07 +03:00
alesapin
db72f39594
Remove error code
2020-05-28 22:07:20 +03:00
alesapin
026244b07f
Better
2020-05-28 21:57:09 +03:00
alesapin
e9c1e1a7e4
Remove redundant header
2020-05-28 21:54:42 +03:00
alesapin
93801a1a9d
Fix unit tests
2020-05-28 21:52:08 +03:00
Mikhail Filimonov
7211af9404
Fixing style
2020-05-28 20:19:10 +02:00
Mikhail Filimonov
b97ff8136b
Make function static
2020-05-28 20:10:54 +02:00
alesapin
a95469020a
Better error codes
2020-05-28 21:02:41 +03:00
Nikolai Kochetov
87b0ea26d3
Try fix tests.
2020-05-28 20:59:09 +03:00
Mikhail Filimonov
16de65a6f0
Add prefix & facility to librdkafka logs
2020-05-28 19:52:59 +02:00
Mikhail Filimonov
e39c4cdf71
Add _timestamp_ms virtual columns to Kafka engine
2020-05-28 19:41:57 +02:00
alesapin
eb5a8dccfa
Fix ya.make
2020-05-28 20:32:22 +03:00
Dmitry
871539e4cc
test and ya.make
2020-05-28 20:30:21 +03:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
...
Show authentication type in system.users table
2020-05-28 20:20:41 +03:00
alesapin
66ccb30299
Fix style check
2020-05-28 20:17:05 +03:00
alesapin
860dc2c814
Merge with consistent_metadata2
2020-05-28 19:45:51 +03:00
alesapin
c5fe87e123
Less includes
2020-05-28 19:32:35 +03:00
alesapin
acc3e6b15a
Better structure
2020-05-28 19:31:27 +03:00
Pavel Kovalenko
51be859b16
S3 Poco HTTP Client WIP (timeouts + proxy support).
2020-05-28 19:11:27 +03:00
Nikolai Kochetov
534e55f5b5
try fix tests.
2020-05-28 19:01:12 +03:00
Vitaly Baranov
a452d037ef
Fix handling bad data while reading in Protobuf format.
2020-05-28 18:41:20 +03:00
alesapin
c6f82590ad
Add missed files
2020-05-28 18:34:33 +03:00
alesapin
61aff798d3
Compileable code
2020-05-28 18:33:44 +03:00
Nikolai Kochetov
ea3f638b30
Try fix tests.
2020-05-28 17:11:36 +03:00
Nikolai Kochetov
28cc6d9c6b
Try fix tests.
2020-05-28 17:03:32 +03:00
alesapin
099bfc4657
Fix bug with empty column
2020-05-28 17:03:21 +03:00
Alexey Milovidov
71b7bb9c3a
Merge branch 'master' into escape-sequences-php-mysql-style
2020-05-28 16:58:23 +03:00
Nikolai Kochetov
030aa6eac4
Fix build.
2020-05-28 16:57:01 +03:00
Mikhail Filimonov
4de1d6d421
Fixing style
2020-05-28 15:53:27 +02:00
Maxim Akhmedov
f5b1ab8e4a
Use proper versions in Arcadia build.
2020-05-28 16:46:56 +03:00
alesapin
5f8b69547b
More readable code
2020-05-28 16:45:08 +03:00
Mikhail Filimonov
6b694d54b4
Better kafka client.id
2020-05-28 15:39:55 +02:00
alesapin
f5e5290c0a
Better naming
2020-05-28 16:09:03 +03:00
alesapin
5b5f749592
Split files
2020-05-28 16:03:18 +03:00
alesapin
26a9829e04
Indices description as vector
2020-05-28 15:47:17 +03:00
alesapin
52ca6b2051
I'm able to build it
2020-05-28 15:37:05 +03:00
Nikolai Kochetov
b71d520a3f
Fix race for description in MemoryTracker.
2020-05-28 15:30:42 +03:00
alexey-milovidov
545c9e5bac
Merge pull request #11236 from abyss7/CLICKHOUSE-4856
...
Build universal ClickHouse binary with ya.make
2020-05-28 15:28:49 +03:00
Nikolai Kochetov
235fdc831b
Merged with master.
2020-05-28 15:23:23 +03:00
Nikolai Kochetov
557e531ff3
Fix tests.
2020-05-28 15:06:31 +03:00
tavplubix
801c1c1240
Merge pull request #11205 from ClickHouse/fix-view-totals
...
Fix totals and extremes header for view.
2020-05-28 15:05:34 +03:00
Alexander Kuzmenkov
40b704fb61
remove some C
2020-05-28 15:03:22 +03:00
Nikolai Kochetov
2a9bcfbcd1
Fix build.
2020-05-28 14:00:12 +03:00
Nikolai Kochetov
da0052858d
Fix build.
2020-05-28 13:57:04 +03:00
Alexander Kuzmenkov
3c18344b06
account for counter multiplexing
2020-05-28 13:48:34 +03:00
Nikolai Kochetov
6efa4d1d4f
Fix style.
2020-05-28 13:41:59 +03:00
Pavel Kovalenko
29a5804342
S3 Poco HTTP Client WIP (rewind buffer).
2020-05-28 12:46:31 +03:00
Nikolai Kochetov
2a217e64e0
Merge pull request #11171 from Provet/master
...
Optimized partial sort transformer
2020-05-28 12:28:50 +03:00
Nikolai Kochetov
5572f6c276
Fix style.
2020-05-28 12:07:40 +03:00
Albert Kidrachev
c38caafe93
fix tests
2020-05-28 11:55:20 +03:00
Albert Kidrachev
fedf1f5dd2
more relaxation
2020-05-28 11:55:20 +03:00
Albert Kidrachev
c301471c53
fix
2020-05-28 11:55:20 +03:00
Albert Kidrachev
e24e6257c7
fix
2020-05-28 11:55:20 +03:00
Albert Kidrachev
5f013a3650
fix
2020-05-28 11:55:20 +03:00
Albert Kidrachev
e51e828d5c
init
2020-05-28 11:55:20 +03:00
Nikolai Kochetov
1fa795988f
Remove some code.
2020-05-28 11:24:59 +03:00
Alexander Kuzmenkov
a697560738
Merge pull request #11224 from ClickHouse/aku/merge-arrow-stream
...
Merge ArrowStream format #11088
2020-05-28 09:37:40 +03:00
madianjun
e3c7ab2ca7
Add Kafka client.id
2020-05-28 08:32:51 +02:00
Vitaly Baranov
98172deffc
Show authentication type in table system.users and while executing SHOW CREATE USER query.
2020-05-28 08:34:10 +03:00
Nikolai Kochetov
242ba74872
Merge pull request #11148 from ClickHouse/remove-experimental-use-processors-flag-3
...
Insert select with QueryPipeline
2020-05-28 07:47:59 +03:00
Andrei Nekrashevich
3c68ecacfe
Added function fuzzBits
2020-05-28 05:51:37 +03:00
alexey-milovidov
69d5fd0edb
Merge pull request #11220 from ClickHouse/keep-metric-distributed-queue-on-exception
...
Keep the value of DistributedFilesToInsert metric on exceptions
2020-05-28 01:23:11 +03:00
Ivan Lezhankin
2432ea2c4b
Build universal binary using ya make
2020-05-28 00:58:46 +03:00
Alexander Tokmakov
905bce4aeb
fix
2020-05-27 23:53:35 +03:00
Nikita Mikhaylov
ec479839d9
fixed
2020-05-27 22:44:22 +03:00
Pavel Kovalenko
677cb56a06
S3 Poco HTTP Client WIP.
2020-05-27 22:41:49 +03:00
alesapin
380c60a33f
Intermediate stage (doesn't compile)
2020-05-27 21:38:34 +03:00
alexey-milovidov
dffeec8637
Merge pull request #10537 from expl0si0nn/ttl_expr_data_rollup
...
Support of WHERE and GROUP BY in TTL expressions
2020-05-27 21:35:55 +03:00
Nikolai Kochetov
2dcee3db5c
Merge branch 'master' into remove-experimental-use-processors-flag-3
2020-05-27 21:25:34 +03:00
Nikolai Kochetov
e93882c977
Insert select using PipelineExecutor.
2020-05-27 21:20:26 +03:00
Alexander Kuzmenkov
640df68e05
Merge pull request #11184 from ClickHouse/enable-log-queries
...
Enable log_queries by default
2020-05-27 20:55:31 +03:00
Ivan
5b858de374
Split programs/server into actual program and library ( #11186 )
...
* Split programs/server into actual program and library
2020-05-27 20:52:52 +03:00
Pavel Kovalenko
a2dccc778c
S3 Poco HTTP Client WIP (redirect support).
2020-05-27 19:56:17 +03:00
Albert Kidrachev
4c5324600b
fix tests
2020-05-27 18:38:29 +03:00
Alexander Kuzmenkov
1658705f7c
Add URL/port.cpp to ya.make (a follow-up for #11120 )
2020-05-27 18:29:22 +03:00
Pavel Kovalenko
2b07f69e57
S3 Poco HTTP Client WIP.
2020-05-27 18:02:25 +03:00
Alexander Kuzmenkov
4e566c3570
support new logging functions
2020-05-27 17:16:34 +03:00
Alexander Tokmakov
f099ce19a7
fix
2020-05-27 16:54:39 +03:00
alesapin
18656841a3
Implement methods for index struct
2020-05-27 16:34:23 +03:00
Alexander Kuzmenkov
db84f0e892
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-27 16:30:13 +03:00
Albert Kidrachev
a727e1fb1b
more relaxation
2020-05-27 15:57:14 +03:00
Alexander Kuzmenkov
ac263f921e
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-27 15:51:03 +03:00
Alexander Kuzmenkov
ad93644254
make single if
2020-05-27 15:50:12 +03:00
Alexander Kuzmenkov
c1cfc68cd6
revert accidental changes
2020-05-27 15:46:49 +03:00
Alexander Kuzmenkov
f54c892b49
Update src/Processors/Formats/Impl/ArrowBlockInputFormat.h
2020-05-27 15:41:59 +03:00
Alexander Kuzmenkov
61f833efc1
Update src/Processors/Formats/Impl/ArrowBlockInputFormat.h
2020-05-27 15:41:52 +03:00
Alexander Kuzmenkov
81a5af1938
Update src/Processors/Formats/Impl/ArrowBlockInputFormat.h
2020-05-27 15:41:45 +03:00
potya
df13694a03
Fix style errors
2020-05-27 15:32:39 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
...
Add port() function
2020-05-27 15:27:06 +03:00
potya
d5840688a1
Fix style errors
2020-05-27 15:22:12 +03:00
potya
3ee757df86
Fix style errors
2020-05-27 15:13:35 +03:00
Albert Kidrachev
a0f99fde70
fix
2020-05-27 14:56:01 +03:00
Albert Kidrachev
d24286d5da
fix
2020-05-27 14:52:45 +03:00
alesapin
c4b2f72fe6
Add common struct for skip indices
2020-05-27 14:25:02 +03:00
Nikolai Sorokin
57555dbabf
Fix after rebase
2020-05-27 14:00:17 +03:00
alexey-milovidov
992f0dfec5
Merge pull request #11149 from filimonov/kafka_reschedule
...
Fixed reschedule issue in Kafka
2020-05-27 13:26:55 +03:00
Alexey Milovidov
146370934a
Keep the value of DistributedFilesToInsert metric on exceptions
2020-05-27 13:07:38 +03:00
Anton Popov
f62adfd588
Fix Arcadia build
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
e182d4df2e
Fix context usage
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
141ed88751
Allow functions in group by keys; Add default aggregate function; Add more tests
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
7d937b43c7
Init with correct value
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
6585571ee2
Fix bug
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad
Up test id; Fix clang build
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
1f02ba9692
Add eof
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
66496dc7e3
Fix trailing spaces
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
eeaf608aa9
Refactor code; support prefix of PK as GROUP BY key
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
61974e0047
TTL Expressions WHERE and GROUP BY draft
2020-05-27 12:53:15 +03:00
alesapin
c7cda399c7
Merge branch 'master' into consistent_metadata2
2020-05-27 12:51:56 +03:00
alesapin
3399e573d1
Merge pull request #11199 from ClickHouse/fix_primary_key_method_call
...
Fix primary key check
2020-05-27 11:55:12 +03:00
Alexander Kuzmenkov
0db71f52a3
Merge pull request #10947 from ClickHouse/aku/inline-memory
...
Assert that allocator & container are consistent wrt. inline memory
2020-05-27 10:58:59 +03:00
Mikhail Filimonov
efc0b97707
Fix Kafka performance issue related to reschedules based on limits, which were always applied.
2020-05-27 07:39:06 +02:00
Dmitry
41d1cd1c9b
fix bad merge
2020-05-27 01:17:32 +03:00
alexey-milovidov
4a48003905
Merge pull request #11207 from zlobober/adding_nested_storages
...
Make possible adding nested storages to MultipleAccessStorage in run-time
2020-05-27 01:02:50 +03:00
Alexey Milovidov
fb4089ab8e
Fix error
2020-05-27 00:48:29 +03:00
Alexander Tokmakov
940132adc4
Merge branch 'master' into merging_external_source_cassandra
2020-05-27 00:13:57 +03:00
potya
2919f6710c
Add some multiword data types
2020-05-26 23:58:51 +03:00
Alexander Tokmakov
310d522528
minimal implementation
2020-05-26 22:21:18 +03:00
Dmitry
112e86b134
small fix
2020-05-26 22:20:02 +03:00
Nikolai Kochetov
361b92f083
Merge pull request #11200 from ClickHouse/fix-strict-resize-finishing
...
Fix StrictResize
2020-05-26 21:31:44 +03:00
Dmitry
38c585f867
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-26 21:27:50 +03:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +03:00
Alexey Milovidov
b2057159c1
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-26 17:24:20 +03:00
alesapin
9d0c28d96c
Add missing methods
2020-05-26 17:14:08 +03:00
Maxim Akhmedov
e09bcb4290
Make possible adding nested storages to MultipleAccessStorage in run-time.
2020-05-26 17:05:06 +03:00
alesapin
8614487a5a
Fix primary key check
2020-05-26 16:46:19 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Nikolai Kochetov
12384551da
Fix totals and extremes header for views.
2020-05-26 16:19:24 +03:00
Nikolai Kochetov
e9d348ebf9
Merge pull request #11198 from ClickHouse/fix-step-by-step-pipeline-execution
...
Fix PipelineExecutor::executeStepImpl
2020-05-26 15:27:56 +03:00
alesapin
6626ef08e8
Fix PVS studio errors
2020-05-26 15:14:50 +03:00
Vitaly Baranov
2c8a355f19
Merge pull request #11081 from vitlibar/fix-no-password-mode
...
Fix settings NO_PASSWORD authentication mode in users.xml.
2020-05-26 14:20:34 +03:00
Vitaly Baranov
e27ded8798
Merge pull request #11172 from vitlibar/grpc-improve-build-scripts
...
Improve build scripts for protobuf & gRPC
2020-05-26 13:27:54 +03:00
Nikolai Kochetov
709f705886
Fix PipelineExecutor::executeStepImpl
2020-05-26 13:26:38 +03:00
Nikolai Kochetov
54f50745ec
Fix StrictResizeProcessor.
2020-05-26 13:19:56 +03:00
alesapin
5780240e88
Fix primry key check
2020-05-26 12:46:04 +03:00
alesapin
7bbb064b34
Fix metadata update
2020-05-26 11:58:32 +03:00
Nikolai Kochetov
1f9e4996c7
Fix PipelineExecutor::executeStepImpl
2020-05-26 10:51:53 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
...
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Alexander Kuzmenkov
4b1bb43543
Merge pull request #11076 from ClickHouse/aku/join-error-messages
...
Better error messages about joins
2020-05-26 09:09:59 +03:00
Alexander Kuzmenkov
9d25ae22b5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 09:07:01 +03:00
Alexander Kuzmenkov
bf941755f2
fixup
2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Alexey Milovidov
c858f4d89c
Clarifications
2020-05-26 02:47:21 +03:00
alexey-milovidov
d4acd1af3a
Merge pull request #11179 from excitoon-favorites/s3globfix
...
Fixed S3 globbing which could fail in case of more than 1000 keys and some backends
2020-05-26 02:45:42 +03:00
Alexey Milovidov
55a02c391d
Style
2020-05-26 01:06:02 +03:00
Alexey Milovidov
4bb3381bc9
Fix build after merge
2020-05-26 00:53:29 +03:00
Nikita Mikhaylov
507d98b24b
Merge pull request #11006 from nikitamikhaylov/MorozovVasily-UpdatePermutation
...
Merging IColumn::updatePermutation
2020-05-26 01:42:41 +04:00
filimonov
73a0ef6c0e
Fix for the hang during deletion of engine=Kafka (one more time) ( #11145 )
...
* Added flag for safer rdkafka destruction, but more testing detected another hang case, which has no straigt solutions and can be workarounded currenly only by draining the consumer queue, so destructor is back
* After review fixes
* After review fixes2
* After review fixes3
2020-05-26 00:13:10 +03:00
Nikolai Kochetov
a01b6496b6
Fix types for function Capture.
2020-05-25 22:21:42 +03:00
alesapin
355fbadb31
Fix style
2020-05-25 22:18:01 +03:00
potya
1fbcdbb58a
Fix error
2020-05-25 22:09:14 +03:00