Anton Popov
9878cae3e8
allow to execute hash function with arguments of type Array(Tuple(..))
2022-04-29 18:50:42 +00:00
Alexey Milovidov
6c75b63953
Merge pull request #35914 from DevTeamBK/FIPS_compliance
...
ClickHouse's boringssl module updated to the official version of the FIPS compliant.
2022-04-29 21:08:51 +03:00
Yakov Olkhovskiy
822dba21e5
Merge pull request #36510 from ClickHouse/followup_password_hash_salt
...
Followup on #36172 password hash salt feature
2022-04-29 14:08:05 -04:00
Anton Popov
243315b826
fix insert to Object columns
2022-04-29 17:26:05 +00:00
Kseniia Sumarokova
7191d3d75b
Update CachedReadBufferFromRemoteFS.cpp
2022-04-29 19:13:35 +02:00
Nikolai Kochetov
5807ca47b0
Merge pull request #36425 from ClickHouse/pool-size-hot-reload
...
Allow to increase number of threads and tasks for background executors
2022-04-29 17:24:12 +02:00
Anton Popov
cef462f83d
fix creation of tables with flatten_nested = 0
2022-04-29 14:53:08 +00:00
HeenaBansal2009
631b0154c0
Reverted change from ReadBufferFromRemoteFSGather.cpp
2022-04-29 07:21:35 -07:00
Azat Khuzhin
7a092e2a8c
Remove unused AggregatedArenasChunkInfo
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Azat Khuzhin
16b1d2bee4
Remove outdated comment from ThreadStatusExt
...
Refs: https://github.com/ClickHouse/ClickHouse/pull/16121#discussion_r511500850
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Azat Khuzhin
20e467397d
ProjectionsDescription: pass through min_block_size_bytes for SquashingChunksTransform
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Azat Khuzhin
b7b7d91bd1
Remove memory reservation for SquashingTransform
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Azat Khuzhin
8845fb0883
Fix outdated comment in buildPushingToViewsChain
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Anton Popov
19428353e7
Merge pull request #35797 from azat/nested-columns-fixes
...
RFC: Fix ALTER DROP COLUMN of nested column with compact parts
2022-04-29 15:09:05 +02:00
Anton Popov
57c9f8f9c0
Merge pull request #36077 from CurtizJ/dynamic-columns-9
...
Fix insertion of complex JSONs with nested arrays to columns of type `Object`.
2022-04-29 13:12:46 +02:00
Vladimir C
e1e7a67670
Merge pull request #36201 from vdimir/join_dup_columns_issue36199
2022-04-29 12:57:10 +02:00
Kseniia Sumarokova
ca994e0861
Merge pull request #36660 from kssenii/fix-stress-test
...
Fix stress test after 36639
2022-04-29 12:56:25 +02:00
alesapin
c72596bae6
Merge pull request #36763 from kssenii/fix-async-reads
...
Fix some issues with low cardinality and async reads from remote fs
2022-04-29 12:18:19 +02:00
alesapin
61dfbd4a83
Merge pull request #36758 from ClickHouse/warn_user_if_setting_is_strange
...
Add small script for keeper check
2022-04-29 12:10:36 +02:00
lgbo-ustc
5021cb707c
update
2022-04-29 17:41:26 +08:00
vdimir
81c24fc521
Fix assertion in join
2022-04-29 09:15:00 +00:00
Maksim Kita
5b9bb36f80
Merge pull request #36753 from kitaisreal/added-user-defined-path-config-setting
...
Added user_defined_path config setting
2022-04-29 11:10:51 +02:00
Maksim Kita
0b3f27b991
Merge pull request #36744 from kitaisreal/clickhouse-dictionary-context-copy
...
ClickHouseDictionarySource context copy
2022-04-29 11:07:45 +02:00
avogar
04846a39a1
Better exception messages while socket timeouts
2022-04-29 09:04:24 +00:00
Alexey Milovidov
b81da324de
Merge pull request #36765 from ClickHouse/fix_flaky_test_non_leader_replica
...
Fix flaky test `test_ddl_worker_non_leader`
2022-04-29 11:18:49 +03:00
mergify[bot]
288b68c86e
Merge branch 'master' into followup_password_hash_salt
2022-04-29 08:17:05 +00:00
Jakub Kuklis
a1f2dd6d34
Adding two settings in place of one, improvements to the test clarity
2022-04-29 10:01:51 +02:00
Jakub Kuklis
e73fa271a2
Minor improvements
2022-04-29 10:01:51 +02:00
Jakub Kuklis
5ca095c779
Pass the setting to buildFieldSerializer to fix undeclared
2022-04-29 10:01:51 +02:00
Jakub Kuklis
e705425374
Minor improvements
2022-04-29 10:01:51 +02:00
Jakub Kuklis
5c34585a00
Improve the test clarity
2022-04-29 10:01:51 +02:00
Jakub Kuklis
f19e473482
Remove local change
2022-04-29 10:01:51 +02:00
Jakub Kuklis
507ba1042c
Adding a setting to enable Google wrappers special treatment
2022-04-29 10:01:51 +02:00
Jakub Kuklis
6d5c1e2fc0
Adding a setting to enable special treatment of google wrappers
2022-04-29 10:01:50 +02:00
Jakub Kuklis
b7a8acc302
Alternative design for output, mory messy, but the default value inside Google wrapper is not serialized
2022-04-29 10:01:50 +02:00
Jakub Kuklis
53e2454800
Corrected the behaviour for Proto Nullable output
2022-04-29 10:01:50 +02:00
Jakub Kuklis
10425c17b2
Write empty values for Google wrappers
2022-04-29 10:01:50 +02:00
Jakub Kuklis
ff49fad1f1
Another const keyword corrections for debug build
2022-04-29 10:01:50 +02:00
Jakub Kuklis
08ee7470f0
const keyword corrections for debug build
2022-04-29 10:01:50 +02:00
Jakub Kuklis
c0acc4dfa0
Fixing assert
2022-04-29 10:01:50 +02:00
Jakub Kuklis
7a78197746
Style corrections
2022-04-29 10:01:50 +02:00
Jakub Kuklis
ae1194bf9c
Nullables detection in protobuf using Google wrappers
2022-04-29 10:01:50 +02:00
Amos Bird
20f63a6fa4
Fix style check
2022-04-29 15:32:53 +08:00
Alexey Milovidov
9fb1d92ff5
Merge pull request #36707 from CurtizJ/fix-vertical-merges
...
Fix vertical merges in wide parts
2022-04-29 10:09:50 +03:00
Amos Bird
9d30be2c59
Fix build again
2022-04-29 14:45:27 +08:00
Azat Khuzhin
bf312c2a5b
Fix ALTER DROP COLUMN of nested column with compact parts
...
ALTER DROP COLUMN of nested column did not requires mutation before, and
so it leaves nested column as-is, and in case of compact parts
subsequent alter, that requires mutation, will trigger READ_COLUMN of
that nested column (because it exists in part), but it will fail because
there is no such column in the table already.
Here is example of such a failure on CI - [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/35459/52099b23a1cb9a7ff036c5c60aa037c999b333ef/stateless_tests__thread__actions__[1/3].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 07:12:34 +03:00
Azat Khuzhin
73ddc25e1e
Require mutations for DROP COLUMN by root column name for nested columns
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 07:09:34 +03:00
Azat Khuzhin
0ce44f3021
Optimize optimize_aggregation_in_order with a prefix key
...
Before it does lots of extra work, now, it will be significantly more
optimal (thousands of rows -> 1-2 million of rows).
v2: s/executeOnBlockSimple/executeOnBlockSmall/
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:58:28 +03:00
Azat Khuzhin
190ce217bb
Disable GROUP BY statistics for optimize_aggregation_in_order
...
This statistics significantly decrease performance of
optimize_aggregation_in_order with a prefix key.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:58:27 +03:00
Azat Khuzhin
3931dbd848
Implement partial GROUP BY key for optimize_aggregation_in_order
...
Suppose you have a table with lots of rows, like:
create table data_02233 (parent_key Int, child_key Int, value Int) engine=MergeTree() order by parent_key
And you want to do GROUP BY (parent_key, child_key) with optimize_aggregation_in_order:
select parent_key, child_key, count() from data_02233 group by parent_key, child_key with totals order by parent_key, child_key
Right now, it is not possible, because optimize_aggregation_in_order
supports only w/o key aggregation, i.e. GROUP BY cannot be done inside
unique parent_key region.
v2: rebase on top SortDescriptionWithPositions
v3: disable two-level aggregation
v4: fix merging of aggregates
v5: improve tests coverage (add a test with multiple parts, to add merge processor)
v6: add a test for compiled aggregate functions (sum()) explicitly
v7: add missing sortBlock()
v8: remove group_by_description_optimized
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:58:07 +03:00
Azat Khuzhin
767acd53fb
Add ability to pass range of rows to Aggregator
...
v2: fix compiled aggregate functions (seek result to row_start)
v3: fix compiled aggregate functions (seek args to row_start)
v4: change signatures for JIT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:57:55 +03:00
Azat Khuzhin
599a255741
AggregatingInOrderTransform: correctly invalidate variants
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:56:32 +03:00
Amos Bird
50a00b64fd
Fix build
2022-04-29 10:26:38 +08:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Amos Bird
e81929a8b5
Saturate date/datetime to zero (part 2)
...
For partial hours/minutes timezones.
2022-04-29 10:24:18 +08:00
lgbo-ustc
5a6b802aa8
update
2022-04-29 09:29:04 +08:00
Kseniia Sumarokova
4102502717
Merge pull request #36619 from ClickHouse/parallel-url-performance-issue
...
ParallelReadBuffer small improvements
2022-04-29 02:55:30 +02:00
Kseniia Sumarokova
ace3fe253d
Merge pull request #36737 from KinderRiven/fix_bug_for_local_cache
...
fix bug for local cache
2022-04-29 02:54:33 +02:00
mergify[bot]
41aa85fd4c
Merge branch 'master' into fix-stress-test
2022-04-29 00:54:09 +00:00
zhangyifan27
2257e57aa5
fix groupBitmapAndState on distributed table
2022-04-29 08:09:00 +08:00
kssenii
1cbf672237
Another fix
2022-04-28 22:51:57 +02:00
Maksim Kita
04429d85db
Added user_defined_path config setting
2022-04-28 22:13:33 +02:00
Maksim Kita
55994afe0c
Fix evaluateConstantExpression for subqueries
2022-04-28 22:09:29 +02:00
Alexander Tokmakov
6797e7dc76
fix flaky test
2022-04-28 21:39:45 +02:00
Anton Popov
1fc51e09ff
fix insertion to column of type Object from multiple files via table function
2022-04-28 18:51:13 +00:00
mergify[bot]
99279b2d7b
Merge branch 'master' into clickhouse-dictionary-context-copy
2022-04-28 18:05:08 +00:00
mergify[bot]
20e2fa9b3f
Merge branch 'master' into dynamic-columns-9
2022-04-28 17:53:03 +00:00
Alexey Milovidov
d8fa806fca
Merge pull request #36360 from ClickHouse/optimize-asynchronous-metric-log
...
Optimize `system.asynchronous_metric_log`
2022-04-28 20:16:17 +03:00
alesapin
6e742be0e9
Update KeeperServer.cpp
2022-04-28 19:09:46 +02:00
Yakov Olkhovskiy
7001489095
Merge pull request #36633 from ucasfl/fix-crash
...
Fix format crash when default expression follow EPHEMERAL not literal
2022-04-28 12:38:43 -04:00
kssenii
84490d5198
Fix
2022-04-28 18:33:25 +02:00
alesapin
db9cb4cf09
Merge pull request #36736 from ClickHouse/keeper-id-guards
...
Add an extra check for RAFT config change
2022-04-28 18:22:39 +02:00
alesapin
3107b2bcd6
Add small script for stupid keeper check
2022-04-28 18:13:54 +02:00
Dmitry Novik
8fb7e2dbab
Cleanup
2022-04-28 15:31:13 +00:00
Anton Popov
54f074e104
deduce UInt8 type for bools from json instead of UInt64
2022-04-28 15:30:43 +00:00
HeenaBansal2009
3ac9434c57
Merge branch 'master' into Fix-Coverity-Issues
2022-04-28 08:14:50 -07:00
mergify[bot]
d96c9c5cff
Merge branch 'master' into fix-timeouts
2022-04-28 15:03:19 +00:00
avogar
d295de1689
Fix comments and test
2022-04-28 14:59:35 +00:00
Meena Renganathan
ccd6f5a572
Merge branch 'master' of https://github.com/DevTeamBK/ClickHouse into FIPS_compliance
2022-04-28 07:33:12 -07:00
wuxiaobai24
82a053dbb5
Merge remote-tracking branch 'upstream/master' into file_descriptor
2022-04-28 22:23:25 +08:00
Kruglov Pavel
4d08587559
Merge branch 'master' into mysqldump-format
2022-04-28 15:58:18 +02:00
Sergei Trifonov
11f40376ae
Merge pull request #34571 from surahman/CH-31221-AWS-S3-object-version-id
...
[CH-31221] AWS S3 Object Version Specification
2022-04-28 15:45:33 +02:00
Alexander Tokmakov
21a021c210
Merge pull request #36745 from vdimir/fix-build-seekable-read-buff
...
Fix build SeekableReadBufferWithSize -> SeekableReadBuffer
2022-04-28 16:34:24 +03:00
Meena Renganathan
bdaf5391cf
Merge branch 'master' of https://github.com/DevTeamBK/ClickHouse into FIPS_compliance
2022-04-28 06:15:46 -07:00
Nikita Mikhaylov
7dc084419e
Check socket is connected in HTTPSession ( #36683 )
2022-04-28 15:12:25 +02:00
avogar
81f85892eb
Fix bug in receive timeouts in Hedged requests
2022-04-28 13:10:27 +00:00
vdimir
7c3cf30163
Fix build SeekableReadBufferWithSize -> SeekableReadBuffer
2022-04-28 15:05:04 +02:00
Anton Kozlov
ca519ca75e
Improve performance of file descriptor cache by narrowing mutex scopes ( #36682 )
2022-04-28 14:56:53 +02:00
wuxiaobai24
b28d7d5130
fix
2022-04-28 20:55:57 +08:00
zhanglistar
7d798b3655
Count distinct optimization by using subquery of group by ( #35993 )
2022-04-28 14:55:37 +02:00
Anton Popov
be70d237b2
fix review comments
2022-04-28 12:52:01 +00:00
wuxiaobai24
6fa0c90955
Update src/TableFunctions/TableFunctionFile.cpp
...
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2022-04-28 20:47:49 +08:00
mergify[bot]
6d4ff8189c
Merge branch 'master' into clickhouse-dictionary-context-copy
2022-04-28 12:39:10 +00:00
Maksim Kita
c4d98aaa4c
ClickHouseDictionarySource context copy
2022-04-28 14:16:49 +02:00
Kseniia Sumarokova
4c371f710e
Merge pull request #36676 from kssenii/refactor-with-size-buffer
...
Better version of SeekableReadBufferWithSize
2022-04-28 13:44:25 +02:00
Maksim Kita
fa1579cdd5
Merge pull request #36390 from lthaooo/fix_dictionary_reload_bug
...
fix dictionary reload bug
2022-04-28 13:37:34 +02:00
Kseniia Sumarokova
b100ca4b17
Merge pull request #36710 from azat/client-wait-insert
...
Properly cancel INSERT queries in clickhouse-client
2022-04-28 13:19:26 +02:00
Kseniia Sumarokova
d5a7177bb1
Merge pull request #36658 from kssenii/follow-up
...
Fix formatting in drop cache system query
2022-04-28 13:12:16 +02:00
kssenii
9b38c9f7eb
Fix
2022-04-28 13:06:43 +02:00
Maksim Kita
ec47abe9af
Merge pull request #36482 from Enmk/fix_session_log_error_on_local_and_tcp_interserver_session
...
Fixed missing enum values for ClientInfo::Interface
2022-04-28 13:06:19 +02:00
Kseniia Sumarokova
0c2f074c60
Update FileCache.cpp
2022-04-28 12:47:02 +02:00
Kseniia Sumarokova
2039e0e974
Update FileCache.h
2022-04-28 12:46:45 +02:00
KinderRiven
63804fd425
fix
2022-04-28 18:45:01 +08:00
Vladimir C
1cbdc1ef3a
Merge pull request #36206 from vdimir/output-format-prometheus
2022-04-28 12:09:53 +02:00
alesapin
94733a27ec
Merge pull request #36636 from ucasfl/pipe
...
remove unneeded if statement
2022-04-28 11:28:48 +02:00
alesapin
8f1a0f6625
Merge pull request #36258 from ClickHouse/keeper-recovery-mode
...
clickhouse-keeper support for force recovery
2022-04-28 11:20:59 +02:00
KinderRiven
1fbaddf559
fix bug for local_cache
2022-04-28 17:11:25 +08:00
alesapin
af980ef4ef
Merge pull request #36371 from Joeywzr/add_query_level_settingss
...
Add query level settings: parts_to_delay_insert and parts_to_throw_insert
2022-04-28 11:08:14 +02:00
Antonio Andelic
44ff5f1697
Add some checks for endpoint change
2022-04-28 08:54:05 +00:00
Antonio Andelic
a693898038
Merge branch 'master' into parallel-url-performance-issue
2022-04-28 07:29:07 +00:00
Vitaly Baranov
641a5f5e35
Merge pull request #36198 from vitlibar/backup-improvements-3
...
Backup for replicated tables and other improvements
2022-04-28 09:23:53 +02:00
Alexey Milovidov
60e512ac4b
Fix for table structure comparison
2022-04-28 05:10:57 +02:00
Alexey Milovidov
de3a47c67a
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-28 05:03:57 +02:00
wuxiaobai24
7955eb2100
Merge remote-tracking branch 'upstream/master' into file_descriptor
2022-04-28 10:47:59 +08:00
mergify[bot]
0d541d2da6
Merge branch 'master' into less-stat-calls
2022-04-28 01:50:49 +00:00
Alexey Milovidov
394669f0ac
Merge pull request #36679 from Avogar/fix-heap-use-after-free
...
Fix possible heap-use-after-free in schema inference
2022-04-28 04:44:54 +03:00
Alexey Milovidov
dc8a19860e
Merge pull request #36684 from ucasfl/fix-typo
...
fix typo
2022-04-28 04:40:42 +03:00
kssenii
37d11cfb1c
Merge master
2022-04-28 00:44:15 +02:00
kssenii
67e0cf9ab6
One more fix
2022-04-28 00:37:57 +02:00
alesapin
f1c5f92de4
Merge pull request #36685 from kssenii/cache-fix-restart
...
Cache fix
2022-04-27 23:49:32 +02:00
mergify[bot]
b7e63154df
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-27 18:27:27 +00:00
kssenii
da1392877a
Better
2022-04-27 20:01:59 +02:00
Azat Khuzhin
22189b0a5a
Properly cancel INSERT queries in clickhouse-client
...
This will also fix issues like queries left after the test, like in [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/36686/042cf0c76444e8738eb2481ae21a135f05b4c990/stateless_tests__debug__actions__[2/3]/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-27 20:00:27 +03:00
Kseniia Sumarokova
39b3c1c6af
Merge pull request #36697 from KinderRiven/fix_bug_for_local_cache
...
Fix deadlock for local cache
2022-04-27 18:11:43 +02:00
Kseniia Sumarokova
0d09bb9897
Merge pull request #36699 from amosbird/bettermysqlhandler
...
Slightly better mysql handler
2022-04-27 17:07:35 +02:00
mergify[bot]
9410e2813f
Merge branch 'master' into fix-stress-test
2022-04-27 14:51:55 +00:00
Anton Popov
eb810116a4
fix vertical merges in wide parts
2022-04-27 13:42:47 +00:00
fenglv
f13f9fa7d7
fix typo
2022-04-27 12:35:56 +00:00
fenglv
1b84d59047
fix typo
...
modify comment
2022-04-27 12:24:49 +00:00
wuxiaobai24
a70d65647e
reimplement
2022-04-27 20:15:52 +08:00
KinderRiven
cd540c3c51
fix
2022-04-27 19:36:25 +08:00
KinderRiven
813f1bd001
fix
2022-04-27 19:31:50 +08:00
KinderRiven
ad4fb637f0
fix set better state
2022-04-27 19:17:46 +08:00
Amos Bird
1cba00478d
Slightly better mysql handler
2022-04-27 18:28:09 +08:00
Ilya Yatsishin
d705f8ead4
Merge pull request #36689 from ClickHouse/remove-excessive-logging
2022-04-27 12:18:28 +02:00
KinderRiven
504e2c26db
fix bug for deadlock in local cache
2022-04-27 17:34:14 +08:00
lgbo-ustc
10b7e08319
update
2022-04-27 16:41:34 +08:00
lgbo-ustc
7505ce426a
update
2022-04-27 13:11:24 +08:00
taiyang-li
0341880250
Merge remote-tracking branch 'origin/master' into hive_text_parallel_parsing
2022-04-27 11:15:16 +08:00
taiyang-li
99aa5fdc81
remove useless code
2022-04-27 11:15:04 +08:00
lgbo-ustc
5738871a8b
update QueryPipelineBuilder::joinPipelines
2022-04-27 10:24:19 +08:00
Alexey Milovidov
b8a9f1411a
Merge pull request #36649 from azat/system.processes-is_all_data_sent
...
clickhouse-test: improve left queries after the test hardening
2022-04-27 05:21:22 +03:00
lgbo-ustc
520b05b9f1
update test case tests/queries/0_stateless/02236_explain_pipeline_join.sql
2022-04-27 10:08:22 +08:00
Alexey Milovidov
e85c5679e9
Update S3Common.cpp
2022-04-27 03:33:01 +03:00
Alexey Milovidov
3c53cd42bb
Remove excessive logging from S3
2022-04-27 02:30:13 +02:00
HeenaBansal2009
4961caec13
Merge branch 'master' into Fix-Coverity-Issues
2022-04-26 11:43:44 -07:00
Alexander Tokmakov
b1949ee901
Merge pull request #36680 from ClickHouse/better_logs_virtual_parts
...
Better logs for virtual parts
2022-04-26 21:36:20 +03:00
kssenii
64168faf0a
Fix
2022-04-26 20:31:42 +02:00
HeenaBansal2009
a34fca27d5
Incorporated review comments
2022-04-26 11:12:14 -07:00
Vitaly Baranov
a8e924caf6
Make BACKUP & RESTORE synchronous by default.
2022-04-26 18:45:39 +02:00
Vitaly Baranov
eb1917f9de
Use sequential nodes for counters. Add comments.
2022-04-26 18:45:35 +02:00
Alexander Tokmakov
d149ac8bd7
better logs for virtual parts
2022-04-26 16:58:40 +02:00
vdimir
81b86799e7
Fixup PrometheusTextOutputFormat
2022-04-26 14:57:37 +00:00
vdimir
d5d98ed951
PrometheusTextOutputFormat: support lables, histograms and summaries
2022-04-26 14:57:36 +00:00
vdimir
be0aa06958
Add output format Prometheus
2022-04-26 14:57:35 +00:00
avogar
b666b4e1c9
Fix possible heap-use-after-free in schema inference
2022-04-26 14:36:16 +00:00
HeenaBansal2009
13a9a8fd5e
Style check fix
2022-04-26 07:13:09 -07:00
HeenaBansal2009
267f426605
Minor Coverity defetcs fixes
2022-04-26 07:13:09 -07:00
Alexander Gololobov
3c000b098a
Merge pull request #36638 from nickitat/fix_sorting_step
...
Fix SortingStep::updateOutputStream()
2022-04-26 15:49:49 +02:00
kssenii
9d364cdce2
Refactor
2022-04-26 15:33:53 +02:00
Alexander Tokmakov
32f4565def
Merge pull request #36642 from ClickHouse/fix_settings_in_create_query
...
Fix parsing of settings in create query
2022-04-26 15:22:12 +03:00
Vitaly Baranov
a89ef54c69
Fix tests and compilation.
2022-04-26 13:32:23 +02:00
Kruglov Pavel
a462d94157
Fix error codes
2022-04-26 13:25:07 +02:00
Kruglov Pavel
e3b222b519
Fix typo
2022-04-26 13:24:10 +02:00
lgbo-ustc
6cb7b7888f
update test case 02236_explain_pipeline_join
2022-04-26 19:07:07 +08:00
avogar
33d845dade
Add MySQLDump input format
2022-04-26 10:42:56 +00:00
Alexander Tokmakov
190becdcc3
Merge pull request #36644 from ClickHouse/fix_some_flaky_tests
...
Fix some flaky tests
2022-04-26 13:40:14 +03:00
Sergei Trifonov
c1a0165f7d
merge from master and fix conflicts
2022-04-26 12:39:16 +02:00
Sergei Trifonov
2aa17630be
fix build
2022-04-26 12:30:04 +02:00
lgbo-ustc
20fc676bff
fixed bug: resize on left pipeline cause the order by result wrong
2022-04-26 18:27:42 +08:00
Anton Popov
17bb7f175b
Merge pull request #36544 from CurtizJ/tuple-numeric-identifiers
...
Allow names of tuple elements that start from digits
2022-04-26 12:22:03 +02:00
mergify[bot]
7571387a6e
Merge branch 'master' into memory-overcommit-free
2022-04-26 10:15:18 +00:00
kssenii
b874750807
Better
2022-04-26 12:13:21 +02:00
lgbo-ustc
d96c29810a
fixed bug: resize on left pipeline cause the order by result wrong
2022-04-26 18:12:14 +08:00
kssenii
41bba15e20
Fix
2022-04-26 12:09:58 +02:00
lgbo-ustc
0b0fa8453b
fixed bug: resize on left pipeline cause the order by result wrong
2022-04-26 18:06:16 +08:00
Anton Popov
cc29bb74ca
fix clang-tidy
2022-04-26 09:48:54 +00:00
Vladimir C
1aa9d77246
Merge pull request #36453 from zombee0/master
2022-04-26 11:47:42 +02:00
Nikita Mikhaylov
7d95051d32
Fixed integer overflow in toStartOfInterval ( #36546 )
2022-04-26 11:44:57 +02:00
kssenii
c502a14404
Fix
2022-04-26 11:26:20 +02:00
Kseniia Sumarokova
81db081b88
Merge pull request #36639 from kssenii/better-drop-cache
...
Improve drop cache query
2022-04-26 11:25:46 +02:00
Azat Khuzhin
6339a48923
Add is_all_data_sent into system.processes
...
v2: fix SHOW PROCESSLIST (does not have process list entry)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-26 12:15:00 +03:00
Anton Popov
e051751012
Merge pull request #36637 from CurtizJ/dynamic-columns-11
...
Fix merges of wide parts with type `Object`
2022-04-26 10:34:04 +02:00
Vitaly Baranov
16f8c71eb4
Disable usage of archives with backups on clusters.
2022-04-26 10:13:49 +02:00
Vitaly Baranov
1c0b731ea6
Fix compilation.
2022-04-26 10:13:08 +02:00
Vitaly Baranov
78bcb96098
Rename backup & restore setting 'async' -> 'sync', and make backup & restore async by default.
2022-04-26 09:51:19 +02:00
Antonio Andelic
9646487c09
Address PR review comments
2022-04-26 07:32:02 +00:00
Antonio Andelic
cf022542bd
Merge branch 'master' into keeper-recovery-mode
2022-04-26 06:50:02 +00:00
fenglv
3086d0deda
remove unneeded include file
2022-04-26 06:42:51 +00:00
taiyang-li
b7cc344d62
remove useless codes
2022-04-26 14:42:43 +08:00
taiyang-li
99dee35b6e
parallel parsing of hive text format
2022-04-26 14:33:10 +08:00
Alexey Milovidov
0cb227501f
Merge pull request #36587 from azat/client-reconnect
...
client: add a message on reconnect (under warning log level)
2022-04-26 08:44:27 +03:00
mergify[bot]
4e82b56a8d
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-26 05:40:49 +00:00
Alexey Milovidov
7683901689
Merge pull request #36630 from azat/mutator-cleanup
...
Tiny Mutator code cleanup
2022-04-26 08:24:50 +03:00
Alexey Milovidov
02662dfd13
Update ColumnsDescription.h
2022-04-26 08:23:01 +03:00
fenglv
7150dc04ce
fix
2022-04-26 05:18:14 +00:00
lgbo-ustc
c7841d226b
udpate
2022-04-26 11:29:18 +08:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
...
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
Memo
c38a4b4255
Update src/Storages/MergeTree/MergeTreeData.h
...
Co-authored-by: alesapin <alesapin@gmail.com>
2022-04-26 10:26:18 +08:00
Memo
420d343e83
Update src/Core/Settings.h
...
Co-authored-by: alesapin <alesapin@gmail.com>
2022-04-26 10:26:09 +08:00
Memo
6b5d9201f6
Update src/Core/Settings.h
...
Co-authored-by: alesapin <alesapin@gmail.com>
2022-04-26 10:25:58 +08:00
lgbo-ustc
74ccc233d2
Merge remote-tracking branch 'ck/master' into concurrent_join
2022-04-26 09:21:02 +08:00
Anton Popov
866a51a948
reduce number of stat calls in storage File
2022-04-25 22:13:15 +00:00
mergify[bot]
a5aab53b70
Merge branch 'master' into add_query_level_settingss
2022-04-25 21:41:36 +00:00
mergify[bot]
178f244c8b
Merge branch 'master' into dynamic-columns-11
2022-04-25 21:36:56 +00:00
alesapin
92296484e7
Merge pull request #36348 from rschu1ze/erase_if3
...
Replace remove-erase idiom by C++20 erase()/erase_if()
2022-04-25 23:34:18 +02:00
mergify[bot]
f7d2a7dec9
Merge branch 'master' into tuple-numeric-identifiers
2022-04-25 21:32:25 +00:00
alesapin
7a901c0826
Merge pull request #36602 from azat/netlink-strict-resubmit
...
Strict taskstats parser (resubmit)
2022-04-25 23:28:08 +02:00
Vitaly Baranov
000b184691
Fix style & compilation.
2022-04-25 23:05:35 +02:00
alesapin
04afe552f8
Trying to avoid segfaults
2022-04-25 22:51:09 +02:00
Alexander Tokmakov
19a376b9f7
fix assertions
2022-04-25 22:41:46 +02:00
kssenii
35b8d302da
Fix
2022-04-25 21:57:13 +02:00
Alexander Tokmakov
cfcf8dbfbe
fix backward incompatibility
2022-04-25 21:00:39 +02:00
alesapin
1fffa56f63
Merge branch 'master' into memory-overcommit-free
2022-04-25 20:21:08 +02:00
Kseniia Sumarokova
cf34ae0f67
Update ASTSystemQuery.h
2022-04-25 19:40:28 +02:00
mergify[bot]
d2ac9b2223
Merge branch 'master' into to_start_of_five_minutes
2022-04-25 17:36:38 +00:00
mergify[bot]
f2233e6844
Merge branch 'master' into client-reconnect
2022-04-25 17:31:14 +00:00
Nikita Taranov
5dc9478bac
fix SortingStep::updateOutputStream()
2022-04-25 17:29:14 +00:00
mergify[bot]
e79de5a577
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-25 17:29:11 +00:00
mergify[bot]
fdc895462e
Merge branch 'master' into fix-trash-s3-metrics
2022-04-25 17:28:06 +00:00
kssenii
a76a35d3ce
Better drop cache
2022-04-25 19:20:25 +02:00
Anton Popov
d28b1559e6
fix merges of wide parts with type Object
2022-04-25 16:44:24 +00:00
fenglv
7b2422ccef
remove unneeded if statement
2022-04-25 16:31:37 +00:00
mergify[bot]
265398d1b6
Merge branch 'master' into feat/add_part_offset
2022-04-25 15:58:16 +00:00
Azat Khuzhin
8b544e26d3
Move some functions from MergeTreeDataMergerMutator to MutateTask
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 18:16:38 +03:00
Azat Khuzhin
f4df88a938
Add a comment for ColumnsDescription::subcolumns
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 18:16:38 +03:00
Azat Khuzhin
615d35e233
Remove dead function MergeTreeDataMergerMutator::splitMutationCommands()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 18:16:38 +03:00
Azat Khuzhin
8440fec3db
Fix coding alignment in MutateTask
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 18:16:38 +03:00
Vitaly Baranov
5127eeee7b
Remove debug sleep.
2022-04-25 17:11:19 +02:00
fenglv
85f35a6857
Fix format crash when default expression follow EPHEMERAL not literal
2022-04-25 14:57:14 +00:00
Vitaly Baranov
ed0af9d4a0
Improve shutdown with async backup/restore.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
97cd68239f
Change represenation of shards inside backup.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
042dc4abb2
Rename settings shard -> shard_num, replica -> replica_num.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
129eca7307
CREATE queries generated by RESTORE command is now considered as internal.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
68a020ecea
Implement BACKUP/RESTORE ON CLUSTER.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
030f3e488c
Add shard_index and replica_index to params of executeDDLQueryOnCluster().
2022-04-25 16:34:33 +02:00
Vitaly Baranov
3477665659
Add shard_index and replica_index to params of getRewrittenASTWithoutOnCluster().
2022-04-25 16:34:33 +02:00
Vitaly Baranov
144d3aefeb
Add system table system.backups; implement async mode for commands BACKUP & RESTORE
2022-04-25 16:34:33 +02:00
Vitaly Baranov
ec5b89a6ac
Revert backup version 2. Add parameter data_file_path to handle duplicate files more easily without introducing a new backup format.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
c92a8925e3
Refactoring of backup implementation to support archives more easily.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
3966ee1e30
Use SeekableReadBuffer instead of ReadBuffer in IBackupEntry.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
f14613f433
Implemented backup version 2: now files in backups are named by their checksums.
...
It will allow to store duplicate files only one time.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
acd28d8a1d
Implement RESTORE for replicated tables.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
6c3333b50b
RESTORE TABLE doesn't create containing database anymore
2022-04-25 16:34:33 +02:00
Vitaly Baranov
d20b3d78c5
Rename some restore settings.
2022-04-25 16:34:17 +02:00
Vitaly Baranov
88b0cf3ca0
Fix TemporaryFileOnDisk
2022-04-25 16:33:38 +02:00
Vitaly Baranov
6743eb6bef
Correct error messages shown by File & Disk backup engines.
2022-04-25 16:33:38 +02:00
Sergei Trifonov
ad9d57807f
fix typo
2022-04-25 16:06:14 +02:00
Meena Renganathan
ab329721d7
Merge branch 'master' of https://github.com/DevTeamBK/ClickHouse into FIPS_compliance
2022-04-25 06:21:44 -07:00
Yakov Olkhovskiy
579e8105a3
Merge pull request #36468 from ClickHouse/decouple_ParserAttachAccessEntity
...
Refactoring dependency for ParserAttachAccessEntity
2022-04-25 08:28:17 -04:00