Alexey Milovidov
996cdd327c
Addition to prev. revision
2021-05-08 17:39:34 +03:00
Alexey Milovidov
e862580898
Added comment
2021-05-08 17:39:34 +03:00
Alexey Milovidov
f7830eb7b3
Unpoison data generated by JIT-ed functions for MSan
2021-05-08 17:39:34 +03:00
Alexey Milovidov
aa727e941d
Fix bad code (found by PVS-Studio)
2021-05-08 17:21:36 +03:00
alexey-milovidov
680860aae7
Merge pull request #23912 from azat/CU
...
Cleanup IDatabase.h from extra headers
2021-05-08 16:42:56 +03:00
Alexey Milovidov
47a4c101b9
Merge branch 'master' into normalize-bigint
2021-05-08 16:41:15 +03:00
Alexey Milovidov
c1bb5bfc2b
BloomFilterHash for UUID
2021-05-07 03:23:32 +03:00
kreuzerkrieg
e86d8950c2
Drop unnecessary ports where applicable
2021-05-06 20:30:24 +03:00
Azat Khuzhin
c757b532c6
Make DatabaseCatalog.cpp self compilable (missing AbstractConfiguration)
2021-05-06 09:07:58 +03:00
Alexey Milovidov
2c9ae14cb0
Add 256 bit integers in some places
2021-05-06 03:31:09 +03:00
pingyu
46f809d07f
Revert "Merge pull request #23334 from ClickHouse/revert-22609-datasketches-uniq"
...
This reverts commit af2499359b
, reversing
changes made to db82e9e3d5
.
2021-05-05 16:42:57 +08:00
Alexey Milovidov
54fb40c041
Fix OpenTelemetry
2021-05-05 01:42:14 +03:00
Alexey Milovidov
eea47a65d2
PVS-Studio
2021-05-04 15:13:47 +03:00
Alexey Milovidov
86169cc36e
Merge branch 'master' into normalize-bigint
2021-05-04 14:53:42 +03:00
Alexey Milovidov
aa9a367d45
Fix issue #7834
2021-05-04 02:27:05 +03:00
Alexey Milovidov
02ce9cc725
Untangle UUID
2021-05-04 01:46:51 +03:00
Alexey Milovidov
8ecd9d36e6
Add UInt128 conversion functions
2021-05-03 18:41:37 +03:00
Alexey Milovidov
9f74565948
PVS-Studio
2021-05-03 01:42:01 +03:00
Alexey Milovidov
1fda866881
Merge branch 'master' into normalize-bigint
2021-05-02 21:24:45 +03:00
Nikolai Kochetov
08f10dced0
Merge pull request #23743 from ClickHouse/refactor-join-step
...
Refactor join step
2021-05-02 21:17:23 +03:00
alexey-milovidov
f360e7c808
Merge pull request #23766 from kitaisreal/remove-unused-compilers
...
Remove unused compilers (fixed for the troublesome "unbundled" build)
2021-05-01 16:15:38 +03:00
Vladimir
3b7c68196b
Merge pull request #23429 from Jokser/disk-s3-restart-possibility
2021-05-01 15:28:14 +03:00
Alexey Milovidov
b879d05ec4
Fix build
2021-05-01 10:06:30 +03:00
Nikolai Kochetov
33fd7206c4
Revert "Try to remove useless code"
...
This reverts commit 10e3cbe63a
.
2021-04-30 16:07:22 +03:00
Nikolai Kochetov
10e3cbe63a
Try to remove useless code
2021-04-30 13:50:24 +03:00
Nikolai Kochetov
3d5b61d63f
Fix fuild.
2021-04-30 13:18:01 +03:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
Nikolai Kochetov
6b79403cb5
Rename and fix fuild.
2021-04-30 11:25:39 +03:00
Maksim Kita
8c84f3fc8b
Merge pull request #23771 from kitaisreal/poco-timespan-reference-fix
...
Poco::Timespan reference fix
2021-04-30 09:49:01 +03:00
Maksim Kita
d0c0054ff0
Merge pull request #23732 from kitaisreal/external-loader-repository-fix-arcadia
...
ExternalLoaderRepository fix arcadia
2021-04-30 01:26:04 +03:00
Pavel Kovalenko
0050dbb75b
Apply disk settings on config reload.
2021-04-29 23:32:19 +03:00
Nikolai Kochetov
2a9ffcf6d5
Fix build.
2021-04-29 20:57:18 +03:00
Maksim Kita
0d0a14a925
Poco::Timespan reference fix
2021-04-29 19:11:20 +03:00
Nikolai Kochetov
f11341af3d
Fix build.
2021-04-29 17:58:58 +03:00
Nikolai Kochetov
bc2375044b
Remove some code
2021-04-29 17:34:52 +03:00
Nikolai Kochetov
b500c420b9
Fix build and style.
2021-04-29 17:14:23 +03:00
Vladimir
1a8407e029
Merge pull request #23237 from vdimir/fix-join-lowcard-nullable
2021-04-29 13:18:04 +03:00
Nikolai Kochetov
1f5a0f8842
Merge branch 'master' into refactor-join-step
2021-04-29 12:23:36 +03:00
Nikolai Kochetov
25fe5f63ee
Fix other tests.
2021-04-29 12:08:49 +03:00
Nikolai Kochetov
69ddca1d73
Refactor join step, part 3
2021-04-28 20:32:12 +03:00
vdimir
fb88547a04
Call nestedToNullable without copying column in convertColumnToNullable for join
2021-04-28 20:18:03 +03:00
vdimir
6e4b37a45e
Merge branch 'master' into fix-join-lowcard-nullable
2021-04-28 20:06:49 +03:00
Nikolai Kochetov
c508868570
Merge pull request #23082 from ClickHouse/explain-output
...
JSON output for EXPLAIN
2021-04-28 15:39:06 +03:00
Maksim Kita
c7ff95fbd9
ExternalLoaderRepository fix arcadia
2021-04-28 14:40:35 +03:00
Maksim Kita
b544037f03
Merge pull request #23436 from kitaisreal/storage-dictionary-updated
...
Refactored StorageDictionary
2021-04-28 13:11:48 +03:00
alexey-milovidov
fdc5a44202
Merge pull request #23644 from nikitamikhaylov/delete-unit-tests
...
Move non gtest unit tests to /examples folder
2021-04-28 07:28:18 +03:00
Maksim Kita
3747a0c8e5
Fixed TRUNCATE TABLE for Dictionary storage
2021-04-27 22:13:21 +03:00
Maksim Kita
2e5f97c6ff
Fixed code review issues
2021-04-27 22:09:03 +03:00
Nikolai Kochetov
a51a380645
Refactor join step, part 1
2021-04-27 17:00:16 +03:00
Nikolai Kochetov
5570b56cc3
A little bit faster merge of aggregating states.
2021-04-27 12:01:58 +03:00
Amos Bird
8a3b5c1fab
Add _partition_value virtual column
2021-04-27 16:15:59 +08:00
Maksim Kita
8b5a049ca0
Merge pull request #23635 from kitaisreal/aggregate-functions-remove-unused-code
...
Aggregator remove unused code
2021-04-27 00:52:34 +03:00
Nikita Mikhaylov
223c6b4ac5
better
2021-04-26 21:26:55 +03:00
Maksim Kita
c93666e0de
Fixed code review issues
2021-04-26 13:52:41 +03:00
Maksim Kita
561b045991
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
64f49a981b
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
2e3e90b25b
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
6ba83eccd3
Added support for DETACH DICTIONARY PERMANENTLY
2021-04-26 13:52:41 +03:00
Maksim Kita
3cb4d1bdcb
Fixed style check
2021-04-26 13:52:41 +03:00
Maksim Kita
a9917a6540
Refactored StorageDictionary
2021-04-26 13:52:41 +03:00
Maksim Kita
5bb263f535
Fixed tests
2021-04-26 13:44:59 +03:00
Alexander Kuzmenkov
fed35445d9
Merge pull request #23546 from ClickHouse/aku/window-distributed
...
fix window functions for Distributed tables
2021-04-26 12:34:46 +03:00
Nikolai Kochetov
092ff0faeb
Merge pull request #23524 from kssenii/insert-union-select
...
Allow to insert default instead of Null in insert-select / insert-select-union-all
2021-04-26 12:25:49 +03:00
Maksim Kita
cac4a85286
Aggregator remove unused code
2021-04-26 01:17:24 +03:00
Alexey Milovidov
649550c5ab
Attempt to normalize big integers
2021-04-25 12:30:43 +03:00
Alexey Milovidov
60be962dca
Merging with master
2021-04-25 07:08:57 +03:00
Alexey Milovidov
8f01af62d9
Merge branch 'master' into normalize-bigint
2021-04-25 06:57:44 +03:00
alexey-milovidov
bcede10919
Merge pull request #23312 from vdimir/issue-23002
...
Correct sample_block in HashJoin for dict join with join_algorithm
2021-04-24 04:40:43 +03:00
alexey-milovidov
ca230224cf
Merge pull request #23549 from vdimir/issue-17718
...
Remove clashed columns from totals for StorageJoin
2021-04-24 03:19:00 +03:00
kssenii
3a9b11e141
Add check for columns sizes match
2021-04-23 19:09:09 +00:00
kssenii
d032651aba
Try fix
2021-04-23 17:29:22 +00:00
Alexander Kuzmenkov
ab75f86ee9
add a comment
2021-04-23 18:45:45 +03:00
Alexander Kuzmenkov
6982ab5324
fix extra distinct
2021-04-23 15:44:46 +03:00
kssenii
7c3b074891
Better
2021-04-23 12:40:34 +00:00
vdimir
9460989721
Remove clashed columns from totals for StorageJoin
2021-04-23 15:37:05 +03:00
kssenii
8f34199538
Fixes
2021-04-23 12:36:40 +00:00
Alexander Kuzmenkov
9d95ac3d66
remove debug
2021-04-23 14:00:17 +03:00
Alexander Kuzmenkov
54ad086753
fix for distributed
2021-04-23 13:59:21 +03:00
kssenii
54a7a6ef0d
Allow null to default convertion only if column has default
2021-04-23 09:55:57 +00:00
Alexander Kuzmenkov
7ea5bd4a3f
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-23 09:26:43 +03:00
kssenii
459612c895
Use a separate setting
2021-04-22 22:14:14 +00:00
kssenii
3176c24a8a
Add test
2021-04-22 21:46:49 +00:00
kssenii
28c4436246
Better
2021-04-22 21:30:31 +00:00
Alexander Kuzmenkov
06ca44a378
fix pvs warnings
2021-04-22 22:54:58 +03:00
kssenii
ac55183d2e
Null as default for insert select / with union
2021-04-22 18:11:36 +00:00
Maksim Kita
7357c35197
Fixed code review issues
2021-04-22 17:19:47 +03:00
Maksim Kita
8fde34fc52
Updated tests
2021-04-22 16:23:42 +03:00
Maksim Kita
86ffa9fcfa
JoinToSubqueriesVisitor ASTColumnsMatcher fix
2021-04-22 13:14:35 +03:00
mergify[bot]
71bca99bbf
Merge branch 'master' into explain-output
2021-04-22 07:02:47 +00:00
Nikita Mikhaylov
d4e8f9676b
Merge pull request #21304 from amosbird/indexhint
...
Resurrect indexHint function.
2021-04-21 16:14:43 +03:00
alexey-milovidov
9c649932bc
Merge pull request #23375 from ClickHouse/fix-read-in-order-with-collation
...
Fix read in order optimization of COLLATE is present #22379
2021-04-21 15:00:02 +03:00
Maksim Kita
02515ff0a4
Merge pull request #23191 from kitaisreal/use-local-shard-if-no-remote-connections
...
Updated QueryAliasVisitor to prefer alias for aliases like _subquery
2021-04-21 00:58:47 +03:00
Pavel Kovalenko
10cf881a08
Add SYSTEM RESTART DISK command.
2021-04-20 22:23:54 +03:00
Pavel Kovalenko
98f8cbbdb2
DiskRestartProxy refactoring.
2021-04-20 21:58:34 +03:00
Alexey Milovidov
9bc0706d2f
Fix read in order optimization of COLLATE is present #22379
2021-04-20 21:20:45 +03:00
tavplubix
738d8a757b
Merge pull request #23189 from ClickHouse/minor_fixes_in_attach_query
...
Minor fixes in ATTACH query
2021-04-20 20:04:26 +03:00
alexey-milovidov
632a5288fa
Merge pull request #23348 from azat/zero-streams
...
Fix LOGICAL_ERROR for max_distributed_connections=0
2021-04-20 19:48:21 +03:00
Nikolai Kochetov
6b264933b2
Fix style.
2021-04-20 17:51:48 +03:00
Nikolai Kochetov
942cd54f23
Fix copy paste thanks to PVS studio.
2021-04-20 16:41:37 +03:00
Anton Popov
8f57141fad
Merge pull request #23195 from CurtizJ/nested-update
...
Merging #22503
2021-04-20 14:57:47 +03:00
Amos Bird
32c84f77c3
Resurrect indexHint function.
2021-04-20 19:27:23 +08:00
Alexander Tokmakov
4108a235f5
make separate functions
2021-04-20 14:22:02 +03:00
Maksim Kita
457b75a196
Updated tests
2021-04-20 13:31:01 +03:00
Maksim Kita
cbc34afd55
Updated QueryAliasVisitor to set prefer_alias_to_column_name for aliases like _subquery
2021-04-20 13:16:29 +03:00
vdimir
3266bbb54c
TableJoin: forceHashJoin for dictionary_reader, add tests
2021-04-20 12:52:52 +03:00
Nikolai Kochetov
0c4e789900
Remove debug output
2021-04-20 10:08:35 +03:00
Azat Khuzhin
86069ffb40
Fix LOGICAL_ERROR for max_distributed_connections=0
2021-04-20 09:05:44 +03:00
Nikolai Kochetov
17f7631878
Fix build.
2021-04-20 08:55:20 +03:00
Anton Popov
0a0c510aa2
minor fixes
2021-04-20 05:51:07 +03:00
alexey-milovidov
62899436db
Revert "add uniqThetaSketch"
2021-04-20 03:34:21 +03:00
alexey-milovidov
5b66086bc9
Merge pull request #23219 from azat/optimize_skip_unused_shards_rewrite_in-fix
...
Add type conversion for optimize_skip_unused_shards_rewrite_in
2021-04-19 22:45:35 +03:00
vdimir
a95c4dcfff
Correct sample_block in HashJoin for dict join with join_algorithm = auto
2021-04-19 18:02:56 +03:00
Nikolai Kochetov
8c2d58333a
Merge branch 'master' into explain-output
2021-04-19 17:40:27 +03:00
Nikolai Kochetov
c59628846c
Merge pull request #22352 from ClickHouse/add-read-from-mt-step
...
Special query plan step for read from MergeTree
2021-04-19 17:38:40 +03:00
Alexander Kuzmenkov
2a4bcb6e3f
Merge pull request #23159 from ClickHouse/aku/merge-fusecount
...
merging sumCount fusion PR #21337
2021-04-19 16:47:13 +03:00
Kruglov Pavel
995973bf1f
Merge pull request #22609 from pingyu/datasketches-uniq
...
add uniqThetaSketch
2021-04-19 10:32:29 +03:00
Nikolai Kochetov
4d86f51eff
Merge branch 'master' into add-read-from-mt-step
2021-04-19 10:17:21 +03:00
Maksim Kita
ca93987ae9
Merge pull request #23182 from kitaisreal/system-query-reload-model
...
Added system query reload model
2021-04-19 00:39:31 +03:00
Azat Khuzhin
d476a4a9bd
Add type conversion for optimize_skip_unused_shards_rewrite_in
...
MSan reports [1]:
2021.04.17 15:20:06.665152 [ 56 ] {2336bf92-0269-4acd-8b3f-f09623223d18} <Debug> executeQuery: (from [::1]:44744, using production parser) SELECT * FROM dist_01757 WHERE dummy IN ('255', 0) FORMAT Null
...
0 0x305af885 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:50:28
...
Uninitialized value was created by an allocation of 'sharding_value' in the stack frame of function '_ZN12_GLOBAL__N_113shardContainsERKN2DB5FieldERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERKNS4_10shared_ptrINS0_17ExpressionActionsEEESC_RKNS0_7Cluster9ShardInfoERKNS4_6vectorImNS8_ImEEEE'
0 0x305ae260 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:42
[1]: https://clickhouse-test-reports.s3.yandex.net/23212/d02eb3f6b7a8dc07bbed5605e1afcf7634436b3a/fuzzer_msan/report.html#fail1
P.S. fuzzers are great!
2021-04-19 00:03:38 +03:00
Azat Khuzhin
3f156b83c9
Add some comments in OptimizeShardingKeyRewriteInVisitor
2021-04-18 09:07:51 +03:00
alexey-milovidov
7f3a40e1b0
Merge pull request #22237 from ClickHouse/protocol-compression-auto
...
Autodetect compression #22234
2021-04-18 03:13:54 +03:00
Alexander Tokmakov
0354312294
minor fixes in attach query
2021-04-17 22:43:02 +03:00
vdimir
826296c799
Convert columns to LC(Nullable(T)) in join
2021-04-17 22:03:32 +03:00
Maksim Kita
abf2a87ce7
Added system query reload model
2021-04-17 20:59:08 +03:00
Alexey Milovidov
77e64b3ebd
Merge branch 'master' into protocol-compression-auto
2021-04-17 16:46:51 +03:00
alexey-milovidov
138c6ae228
Merge pull request #23185 from ClickHouse/fix_22573
...
Fix data_type_default_nullable on ATTACH
2021-04-17 16:13:42 +03:00
Alexey Milovidov
ec473a90d2
Fixed missing semicolon in exception message
2021-04-17 02:14:48 +03:00
alexey-milovidov
74a0ac6917
Merge pull request #23160 from azat/logging-v2
...
[RFC] Change logging from trace to debug for messages with rows/bytes
2021-04-16 21:18:32 +03:00
Nikolai Kochetov
1bf420cbcf
Update json description for other steps.
2021-04-16 19:36:59 +03:00
Maksim Kita
d88e0b1b44
Use local shard if there are no remote connections
2021-04-16 16:01:53 +03:00
Nikolai Kochetov
8f969ec063
Revert "Ignore output format for explain query on client."
...
This reverts commit 3f7cee1149
.
2021-04-16 15:44:27 +03:00
Nikolai Kochetov
a5f8b0f269
Revert "Omit EXPLAIN FORMAT for old TCP clients."
...
This reverts commit 4c37d461de
.
2021-04-16 15:44:18 +03:00
Anton Popov
b14798af2a
Merge branch 'dev_nested_upadte' of git://github.com/hexiaoting/ClickHouse into nested-update
2021-04-16 14:41:19 +03:00
Nikolai Kochetov
23089a2fec
Add special setting to show indexes.
2021-04-16 14:11:45 +03:00
Alexander Kuzmenkov
5e0fb440a5
Update TreeRewriter.cpp
2021-04-16 13:35:02 +03:00
Alexander Tokmakov
ebf0a3119e
fix data_type_default_nullable on attach
2021-04-16 13:29:33 +03:00
tavplubix
ae3dc3dfc0
Merge pull request #23161 from ClickHouse/logs_for_debuging_test_failures
...
More verbose logs for debuging test failures with Replicated and Keeper
2021-04-16 12:01:58 +03:00
Alexander Tokmakov
0ad6205fa6
logs for debuging test failures with Replicated and Keeper
2021-04-15 21:34:53 +03:00
Azat Khuzhin
d2cf03ea41
Change logging from trace to debug for messages with rows/bytes
2021-04-15 21:00:16 +03:00
Alexander Kuzmenkov
2489b6af96
cleanup
2021-04-15 19:40:49 +03:00
Alexander Kuzmenkov
3b95b637a5
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-15 18:19:53 +03:00
alexey-milovidov
69eac517b6
Merge pull request #23086 from azat/memory-blocking
...
Block all memory tracking limits in dtors/SCOPE_EXIT_*SAFE/tryLogCurrentException
2021-04-15 14:36:10 +03:00
Vladimir
8c7ffda676
Merge pull request #22753 from ClickHouse/revert-19685-dev_joinon
2021-04-15 12:42:50 +03:00
alexey-milovidov
9b546f3b89
Merge pull request #22657 from amosbird/ctefix3
...
Fix CTE usage in view definition
2021-04-15 02:01:10 +03:00
Alexey Milovidov
17d04cbca9
Merge branch 'master' into protocol-compression-auto
2021-04-15 00:24:07 +03:00
tavplubix
2479c80fb7
Merge branch 'master' into fix_attach_mv
2021-04-15 00:07:48 +03:00
Azat Khuzhin
9b9e0a9bbc
Block all memory tracking limits in destructors
2021-04-14 23:38:42 +03:00
Nikolai Kochetov
4c37d461de
Omit EXPLAIN FORMAT for old TCP clients.
2021-04-14 18:59:08 +03:00
Nikolai Kochetov
3f7cee1149
Ignore output format for explain query on client.
2021-04-14 18:33:07 +03:00
Nikolai Kochetov
9b86c19836
Use JSONBuilder for explain json result.
2021-04-14 17:07:56 +03:00