Maksim Kita
33f4b4d834
Fixed tests
2022-06-18 18:20:01 +02:00
Maksim Kita
ef084ad12a
Fixed tests
2022-06-18 18:20:00 +02:00
Maksim Kita
fd7e533a09
MergingSortedAlgorithm added batch sorting queue
2022-06-18 18:20:00 +02:00
Maksim Kita
c86191a6b9
SortingTransform add cursor order
2022-06-18 18:20:00 +02:00
Maksim Kita
d82ab22333
Fixed style check
2022-06-18 18:20:00 +02:00
Maksim Kita
3664f02690
Replaced SortingHeap with SortingQueue
2022-06-18 18:20:00 +02:00
Maksim Kita
9670504781
Fixed tests
2022-06-18 18:20:00 +02:00
Maksim Kita
9f55a2cbac
Fixed tests
2022-06-18 18:20:00 +02:00
Maksim Kita
d7e3e85d2f
Sorting added batch queue variants
2022-06-18 18:20:00 +02:00
Alexey Milovidov
73709b0488
Revert "Revert "Add a setting to use more memory for zstd decompression""
2022-06-18 15:55:35 +03:00
Antonio Andelic
dd75e9cba5
Merge pull request #38149 from vdimir/multiple_joins_original_names_34697
...
Add setting multiple_joins_try_to_keep_original_names
2022-06-18 14:47:31 +02:00
alesapin
e6b0648f99
Merge branch 'master' into disk_transaction
2022-06-18 14:26:21 +02:00
alesapin
1d7cf28cab
Merge pull request #38190 from ClickHouse/fix_36123
...
Check row size to avoid out of bounds access in PostgreSQLSource
2022-06-18 14:18:35 +02:00
alesapin
16e8b85fbf
Revert "Add a setting to use more memory for zstd decompression"
2022-06-18 14:08:14 +02:00
Vitaly Baranov
de9a07d18d
Fix RESTORE ALL for tables without database in backup.
2022-06-18 14:07:01 +02:00
Vitaly Baranov
36475c5b98
Fix handling empty files in backups.
2022-06-18 12:28:32 +02:00
Dmitry Novik
8b917d12f2
Small refactoring
2022-06-18 01:40:30 +00:00
Alexey Milovidov
e20259e9ca
Merge pull request #37015 from wuxiaobai24/zstd_window_log_max
...
Add a setting to use more memory for zstd decompression
2022-06-18 04:19:27 +03:00
Alexey Milovidov
1b9a47f825
Merge pull request #38157 from qoega/remove-trash
...
Remove processor description from span attributes - it is not working
2022-06-18 04:09:13 +03:00
Alexander Gololobov
54e599161d
Check row size to avoid out of bounds access
2022-06-18 00:16:45 +02:00
Maksim Kita
7e759cac39
Merge pull request #38184 from kitaisreal/sql-user-defined-function-loader-allow-symlinks
...
SQLUserDefinedFunctionsLoader allow symlinks in user_defined directory
2022-06-17 23:03:52 +02:00
Antonio Andelic
f72e509b3b
Merge pull request #38052 from amosbird/join_regression_fix
...
Fix significant join performance regression
2022-06-17 19:55:33 +02:00
Vitaly Baranov
a0c558a17e
Implement backup/restore for ACL system tables (system.users, system.roles, etc.)
2022-06-17 18:14:31 +02:00
Alexander Tokmakov
83adf56383
fix race
2022-06-17 18:13:57 +02:00
Maksim Kita
ed03bb5dc6
Merge pull request #38127 from iyupeng/2022061601.fix_merge_sorter
...
Fix redundant memory reservation for output block in MergeSorter
2022-06-17 17:50:26 +02:00
Maksim Kita
965b706350
SQLUserDefinedFunctionsLoader allow symlinks in user_defined directory
2022-06-17 17:43:42 +02:00
alesapin
93e465809d
Fix style check
2022-06-17 16:49:49 +02:00
Alexander Tokmakov
e9c2157f01
Merge branch 'master' into fix_flaky_tests_with_transactions
2022-06-17 15:57:30 +02:00
Alexander Gololobov
f69f24ffbd
Merge pull request #38135 from vdimir/issue_37928
...
Try to fix temporary name clash in partial merge join
2022-06-17 15:10:19 +02:00
mergify[bot]
23e0b16058
Merge branch 'master' into fix-possible-crash-after-removing-replica-in-distributed
2022-06-17 11:50:44 +00:00
Alexander Tokmakov
5ffc38d9b9
fix style check, add comments
2022-06-17 13:47:14 +02:00
alesapin
7524500ca9
Remove logic from disk
2022-06-17 13:45:17 +02:00
avogar
23f48a9fb9
Fix bug with nested short-circuit functions
2022-06-17 11:44:49 +00:00
Maksim Kita
77c519ae08
Merge pull request #38142 from kitaisreal/executable-user-defined-functions-parameters-direct-fix
...
Disable parameters for non direct executable user defined functions
2022-06-17 12:57:27 +02:00
alesapin
e5b405701a
Merge branch 'master' into disk_transaction
2022-06-17 12:16:12 +02:00
alesapin
1c7a7da487
Merge pull request #38088 from kssenii/diff-with-cache
...
Extract some diff from pr #36171
2022-06-17 12:07:31 +02:00
Igor Nikonov
baebbc084f
Merge pull request #38027 from ClickHouse/decimal_rounding_fix
...
Fix: rounding for Decimal128/Decimal256 with more than 19-digits long scale
2022-06-17 09:48:18 +02:00
Alexander Gololobov
59d32f8c96
Merge pull request #38132 from Avogar/fix-mapped-array
...
Fix logical error in array mapped functions with const nullable column
2022-06-17 08:49:41 +02:00
mergify[bot]
296905771f
Merge branch 'master' into better-support-gcp
2022-06-17 01:19:11 +00:00
Yatsishin Ilya
6fdcac1c9d
Remove processor description from span attributes - it is not working anyway.
2022-06-16 19:49:07 +00:00
Maksim Kita
f8f6a95547
Merge pull request #38144 from kitaisreal/sort-description-compile-fix-typo
...
SortDescription compile fix typo
2022-06-16 20:16:14 +02:00
Alexander Tokmakov
39c0219c11
fixes
2022-06-16 19:41:32 +02:00
Dmitry Novik
500895306f
Fix typo
2022-06-16 16:06:59 +00:00
Dmitry Novik
644399db8a
Add comment and update docs
2022-06-16 15:59:51 +00:00
vdimir
2a9942ee80
Add setting multiple_joins_try_to_keep_original_names
2022-06-16 15:50:03 +00:00
Dmitry Novik
8479d880f3
Remove redundant code
2022-06-16 15:49:49 +00:00
Dmitry Novik
376412e417
Small refactoring
2022-06-16 15:41:04 +00:00
alesapin
ca33ff93cb
Merge pull request #37555 from ClickHouse/revert-37534-revert-37036-keeper-preprocess-operations
...
Add support for preprocessing ZooKeeper operations and real-time digest in `clickhouse-keeper`
2022-06-16 17:29:00 +02:00
Mikhail f. Shiryaev
2bef5257b7
Merge pull request #38147 from ClickHouse/22.7-prepare
...
Update version after release
2022-06-16 17:19:40 +02:00
Mikhail f. Shiryaev
06dd85f921
Update version to 22.7.1.1
2022-06-16 17:15:22 +02:00
Dmitry Novik
f9b71551d0
Cleanup ActionsVisitor
2022-06-16 15:11:16 +00:00
Maksim Kita
9a066ad29a
Merge pull request #38090 from kitaisreal/aggregate-functions-added-restrict-into-batch-methods
...
Aggregate functions added restrict into batch methods
2022-06-16 16:45:10 +02:00
kssenii
797482f132
Better
2022-06-16 16:40:29 +02:00
Maksim Kita
cd1bbc6a1b
SortDescription compile fix typo
2022-06-16 16:40:02 +02:00
Maksim Kita
f8d5e908d7
Update SortingTransform.cpp
2022-06-16 16:39:34 +02:00
Maksim Kita
aff66742e7
Disable parameters for non direct executable user defined functions
2022-06-16 16:29:04 +02:00
Anton Popov
13ec7e3092
Merge pull request #37978 from CurtizJ/fix-sparse-s3
...
Fix reading of sparse columns from s3
2022-06-16 15:32:54 +02:00
Dmitry Novik
0663f07e67
Rework expressions with window functions
2022-06-16 13:29:56 +00:00
vdimir
d50c51f262
Try to fix temporary name clash in partial merge join
2022-06-16 12:47:55 +00:00
alesapin
379fff7318
Merge branch 'master' into disk_transaction
2022-06-16 14:36:19 +02:00
alesapin
b11439ff36
Compiles
2022-06-16 14:24:26 +02:00
mergify[bot]
f46f7257dd
Merge branch 'master' into fix-nothing-error
2022-06-16 10:58:03 +00:00
mergify[bot]
2557e8ad51
Merge branch 'master' into decimal_rounding_fix
2022-06-16 10:53:49 +00:00
avogar
a3a7cc7a5d
Fix logical error in array mapped functions with const nullable column
2022-06-16 10:41:53 +00:00
mergify[bot]
9e98c9db78
Merge branch 'master' into aggregate-functions-added-restrict-into-batch-methods
2022-06-16 09:53:55 +00:00
Azat Khuzhin
b3bf7589ef
Fix possible concurrent access in ProgressIndication
...
In case of all of the above:
- clickhouse-local
- input_format_parallel_parsing=true
- write_progress_on_update=true
It is possible concurrent access to the following:
- writeProgress() (class properties) (guarded with progress_mutex)
- thread_data/host_cpu_usage (guarded with profile_events_mutex)
v2: decrease number of rows for INSERT ProfileEvents test (10 times)
CI: https://s3.amazonaws.com/clickhouse-test-reports/37391/4bd5c335182279dcc5020aa081b13c3044135951/stateless_tests__debug__actions__[1/3].html
v3: decrease number of rows for INSERT ProfileEvents test (10 times) and add a comment
CI: https://s3.amazonaws.com/clickhouse-test-reports/37391/026d7f732cb166c90d6c287b02824b6c7fdebf0c/stateless_tests_flaky_check__address__actions_/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
f
2022-06-16 11:59:01 +03:00
Azat Khuzhin
4baa7690ae
Send profile events for INSERT queries (previously only SELECT was supported)
...
Reproducer:
echo "1" | clickhouse-client --query="insert into function null('foo String') format TSV" --print-profile-events --profile-events-delay-ms=-1
However, clickhouse-local is differnt, it does sent the periodically,
but only if query was long enough, i.e.:
# yes | head -n100000 | clickhouse-local --query="insert into function null('foo String') format TSV" --print-profile-events --profile-events-delay-ms=-1
[s1.ch] 2022.05.20 15:20:27 [ 0 ] ContextLock: 10 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] DiskReadElapsedMicroseconds: 29 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] IOBufferAllocBytes: 200000 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] IOBufferAllocs: 1 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] InsertQuery: 1 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] InsertedBytes: 1000000 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] InsertedRows: 100000 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] MemoryTrackerUsage: 1521975 (gauge)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] OSCPUVirtualTimeMicroseconds: 102148 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] OSReadChars: 135700 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] OSWriteChars: 8 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] Query: 1 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] RWLockAcquiredReadLocks: 2 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] ReadBufferFromFileDescriptorRead: 5 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] ReadBufferFromFileDescriptorReadBytes: 134464 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] RealTimeMicroseconds: 293747 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] SoftPageFaults: 382 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] TableFunctionExecute: 1 (increment)
[s1.ch] 2022.05.20 15:20:27 [ 0 ] UserTimeMicroseconds: 102148 (increment)
v2: Proper support ProfileEvents in INSERTs (with protocol change)
v3: Receive profile events on INSERT queries
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 11:59:01 +03:00
Alexey Milovidov
f2b665a799
Merge pull request #38120 from wangdh15/delete-unused-field-fix-build-error
...
Remove unused class member
2022-06-16 11:11:26 +03:00
Yu, Peng
518a726c1d
Fix redundant memory reservation for output block in MergeSorter
2022-06-16 15:54:30 +08:00
Antonio Andelic
5b9e81bdf9
Revert sync waiter
2022-06-16 07:53:29 +00:00
Antonio Andelic
0b843d316f
Merge branch 'master' into keeper-sequential-consistency-reads
2022-06-16 07:52:56 +00:00
Azat Khuzhin
0d4f78639e
Interpreters/Aggregator: cleaner interface for block release during merge
...
Suggested-by: @amosbird
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Azat Khuzhin
4ff82eb9d5
Implement optimize_aggregation_in_order for projections
...
v2: use real column name instead of aliases from GROUP BY
Fixes the following error in 01710_projection_aggregation_in_order:
Not found column a in block. There are only columns: toStartOfHour(ts), sum(value). (NOT_FOUND_COLUMN_IN_BLOCK)
v2.1: Get back support for projected and non-projected parts
v2.2: merge tests and rename
v3: Reduce copy-paste for optimize_aggregation_in_order for projections
v4: rebase on top of QueryPlanResourceHolder
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Azat Khuzhin
14f9491619
MergeTreeData: preserve order for group_by_elements_order_descr
...
This is required for proper optimize_aggregation_in_order for
projections.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Azat Khuzhin
4694929623
Implement merging only for AggregatingStep
...
v2: fill AggregateColumnsConstData only for only_merge
(fixes 01291_aggregation_in_order and some other tests)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Azat Khuzhin
3559e35b70
AggregatingStep: remove unused forward decl
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Azat Khuzhin
682c93e2e1
Use proper setting compile_aggregate_expressions in MergeTreeDataSelectExecutor
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:35 +03:00
Alexey Milovidov
c26abbfdc5
Merge pull request #38093 from danlark1/master
...
Optimize most important parts with NEON SIMD
2022-06-16 08:26:56 +03:00
mergify[bot]
ff9f4af28c
Merge branch 'master' into enable-some-settings
2022-06-16 03:51:59 +00:00
wangdh15
02cce40b3a
when using clang12 compile, the unused filed shard_count will cause compile error. So delete it.
2022-06-16 10:43:31 +08:00
Anton Popov
92b7b9789a
try to fix fpc codec
2022-06-16 03:41:09 +02:00
mergify[bot]
7f24574609
Merge branch 'master' into better-support-gcp
2022-06-15 23:18:20 +00:00
Mikhail f. Shiryaev
6fdba20b13
Merge pull request #38098 from ClickHouse/clang-tidy-warning-fix
...
Fix: build error
2022-06-16 01:11:39 +02:00
Robert Schulze
b39b963733
Merge pull request #37993 from ClickHouse/stripping
...
Strip less aggressively to make the embedded hash survive
2022-06-16 00:08:36 +02:00
Robert Schulze
b936abe813
+ comments about keeping stuff in sync
2022-06-16 00:07:59 +02:00
alesapin
11b6664863
WI{
2022-06-16 00:06:52 +02:00
Maksim Kita
3eea38f078
Merge pull request #38028 from kitaisreal/background-schedule-pool-refactoring
...
BackgroundSchedulePool remove Poco::NotificationQueue
2022-06-15 23:10:49 +02:00
Maksim Kita
7d5af1a79f
Merge pull request #37992 from kitaisreal/partial-sorting-transform-refactoring
...
PartialSortingTransform refactoring
2022-06-15 22:55:04 +02:00
Alexander Tokmakov
6ddfec47d2
maybe fix livelock on queue processing
2022-06-15 22:22:27 +02:00
Alexander Tokmakov
5e2b42c85a
Merge branch 'master' into fix_flaky_tests_with_transactions
2022-06-15 20:47:02 +02:00
Robert Schulze
61709a674d
Merge pull request #38089 from ClickHouse/fpc-follow-up
...
Small follow-up for FPC codec
2022-06-15 20:33:41 +02:00
Vitaly Baranov
c2c35fad82
Refactoring of the code getting create table queries for backup.
2022-06-15 20:32:35 +02:00
Vitaly Baranov
c0f06c5e16
Require new privilige 'BACKUP' to make a backup.
2022-06-15 20:32:35 +02:00
Vitaly Baranov
0102626532
Disable the 'BACKUP ALL' command (it's not quite clear what to do with predefined databases).
2022-06-15 20:32:35 +02:00
Vitaly Baranov
cb9bf62e77
Change syntax RESTORE ALL DATABASES => RESTORE ALL
2022-06-15 20:32:35 +02:00
Vitaly Baranov
1198e86295
Fix storing temporary tables and skipping system tables while making a backup.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
6590f82ec4
Fix tryGetCreateTableQuery() for system tables.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
491ab58b3f
Remove IF NOT EXISTS before storing create query in DatabaseMemory.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
b2323991d6
BACKUP DATABASE now stores inner tables of matviews only if the corresponding matviews are stored.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
6877b8f864
Fix renaming visitor.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
d78a2cda72
Restore tables regarding their dependencies.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
cf34883000
Use QualifiedTableName instead of DatabaseAndTableName. Remove mode 'ALL TEMPORARY TABLES'
2022-06-15 20:32:34 +02:00
Vitaly Baranov
21f3bed435
Simplify path calculations in backup.
2022-06-15 20:32:34 +02:00
Vitaly Baranov
592f568f83
Move backup/restore code to storages and databases - part 2.
2022-06-15 20:32:31 +02:00
Vitaly Baranov
724bc4dc57
Move backup/restore code to storages and databases - part 1.
2022-06-15 20:28:43 +02:00
Vitaly Baranov
ce1836f0d2
Lock tables for share before backup and restore.
2022-06-15 20:28:43 +02:00
Vitaly Baranov
73b1894a21
Rework collecting replicated parts.
2022-06-15 20:28:42 +02:00
Vitaly Baranov
d00b4a7fdb
Remove obsolete function IRestoreCoordination::getReplicatedTableDataPath()
2022-06-15 20:28:42 +02:00
Vitaly Baranov
5cabdbd982
Restore parts of MergeTree in correct order.
2022-06-15 20:28:40 +02:00
Vitaly Baranov
e891eba80e
Finalize write buffers used in backups.
2022-06-15 20:26:27 +02:00
Danila Kutenin
607dd8d6ca
Restart the pipeline, I guess
2022-06-15 18:16:56 +00:00
Daniel Kutenin
a769dea8ef
Merge branch 'ClickHouse:master' into master
2022-06-15 19:12:10 +01:00
Nikolai Kochetov
25b9990737
Fixing build
2022-06-15 16:32:22 +00:00
Alexey Milovidov
7baa54f92f
Merge pull request #37697 from zvonand/dt64-neg-subseconds
...
Fix DateTime64 negative fractional seconds
2022-06-15 19:30:42 +03:00
Alexander Tokmakov
2ac72319bd
Merge pull request #37185 from amosbird/projection-fix-three
...
Fix possible heap-use-after-free error when reading system.projection_parts and system.projection_parts_columns
2022-06-15 19:00:10 +03:00
Igor Nikonov
b1137c9cba
Fix: build error
...
+ clang tidy warning fixed
2022-06-15 15:21:05 +00:00
Danila Kutenin
048f56bf4d
Fix some tests and comments
2022-06-15 14:40:21 +00:00
kssenii
500f49972b
Extract diff from PR 36171
2022-06-15 16:40:18 +02:00
Alexander Tokmakov
5bfb15262c
Revert "More parallel execution for queries with FINAL
( #36396 )"
...
This reverts commit c8afeafe0e
.
2022-06-15 17:25:38 +03:00
Alexander Tokmakov
e4d4d0a854
fix race on queue processing
2022-06-15 16:21:26 +02:00
Antonio Andelic
ac0b7ab20b
Fix backwards compatibility with older snapshots
2022-06-15 13:46:27 +00:00
mergify[bot]
c2afc2f6c6
Merge branch 'master' into background-schedule-pool-refactoring
2022-06-15 13:43:31 +00:00
Nikolai Kochetov
82ebf869a7
Fixing style
2022-06-15 13:40:30 +00:00
Nikolai Kochetov
2a9a63ac7b
Merge branch 'master' into refactor-something-in-part-volumes
2022-06-15 15:35:26 +02:00
Danila Kutenin
08e3f77a9c
Optimize most important parts with NEON SIMD
...
First part, updated most UTF8, hashing, memory and codecs. Except
utf8lower and upper, maybe a little later.
That includes huge amount of research with movemask dealing. Exact
details and blog post TBD.
2022-06-15 13:19:29 +00:00
Antonio Andelic
c403ebf4d2
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-15 12:48:32 +00:00
Antonio Andelic
7e1f64002d
Address review comments
2022-06-15 12:48:30 +00:00
Robert Schulze
a0d936cc9f
Small follow-up for FPC codec
...
- add paper reference + doxygen
- remove endianness handling (ClickHouse assumes little endian)
- documentation
- other minor stuff
2022-06-15 14:21:28 +02:00
Yakov Olkhovskiy
e604d31feb
Merge pull request #38074 from ClickHouse/bug-with-fill-extra
...
Inconsistency in ORDER BY ... WITH FILL feature.
2022-06-15 08:19:55 -04:00
Maksim Kita
bf6d155170
Aggregate functions added restrict into batch methods
2022-06-15 14:11:10 +02:00
alesapin
1b66166501
Merge branch 'master' into disk_transaction
2022-06-15 13:54:10 +02:00
mergify[bot]
2cb9579234
Merge branch 'master' into join_regression_fix
2022-06-15 11:53:42 +00:00
alesapin
b557c1dd80
Interm stage
2022-06-15 13:51:21 +02:00
Nikolai Kochetov
2ee349f29c
Fix test_encrypted_disk
2022-06-15 11:42:59 +00:00
Nikolai Kochetov
a274bec0fa
Fix test_encrypted_disk
2022-06-15 11:41:08 +00:00
mergify[bot]
d704264fae
Merge branch 'master' into decimal_rounding_fix
2022-06-15 10:47:09 +00:00
Nikita Taranov
c8afeafe0e
More parallel execution for queries with FINAL
( #36396 )
2022-06-15 12:44:20 +02:00
Alexander Tokmakov
56f2121c1a
Revert "Add backoff to merges in replicated queue if always_fetch_merged_part
is enabled"
2022-06-15 13:04:01 +03:00
Robert Schulze
9794098ebb
Merge pull request #37553 from koloshmet/fpc_codec
...
FPC Codec for floating point data
2022-06-15 12:03:41 +02:00
Maksim Kita
864fd627e1
Merge pull request #35762 from kitaisreal/merge-tree-multiple-order-by-columns-improve-insert-performance
...
MergeTree multiple ORDER BY columns improve insert performance
2022-06-15 11:01:36 +02:00
mergify[bot]
d148299c20
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-15 07:11:31 +00:00
Yakov Olkhovskiy
411695bd97
do not fill 'to' boundary
2022-06-14 22:26:50 -04:00
mergify[bot]
12bd2c0e3f
Merge branch 'master' into dt64-neg-subseconds
2022-06-15 02:24:17 +00:00
Alexey Milovidov
ab9fc572d5
Merge pull request #37667 from ClickHouse/group-by-enum-fix
...
Support types with non-standard defaults in ROLLUP, CUBE, GROUPING SETS
2022-06-15 05:14:33 +03:00
Alexey Milovidov
04e25bc044
Merge pull request #38058 from kitaisreal/unary-logical-functions-improve-performance-dynamic-dispatch
...
UnaryLogicalFunctions improve performance using dynamic dispatch
2022-06-15 04:18:20 +03:00
Anton Popov
a59be0fd5d
better support of GCP storage
2022-06-15 00:23:45 +00:00
Alexey Milovidov
0957c885e2
Remove -0. from CPU usage in the client
2022-06-14 23:36:16 +02:00
Alexey Milovidov
5e9e5a4eaf
Merge pull request #37525 from Avogar/avro-structs
...
Support Maps and Records, allow to insert null as default in Avro format
2022-06-15 00:04:29 +03:00
mergify[bot]
4bd61950db
Merge branch 'master' into stripping
2022-06-14 20:48:52 +00:00
Maksim Kita
bff82b961b
Fixed tests
2022-06-14 21:43:28 +02:00
Maksim Kita
6ae20d6282
Fixed style check
2022-06-14 21:43:28 +02:00
Maksim Kita
bd1d54d689
BackgroundSchedulePool remove Poco::NotificationQueue
2022-06-14 21:43:28 +02:00
Nikolai Kochetov
6a42110088
Fixing test.
2022-06-14 19:34:41 +00:00
alesapin
af1cd745e1
Merge pull request #37975 from kssenii/clean-up-broken-detached
...
Clean up broken detached parts after timeout
2022-06-14 20:53:31 +02:00
Igor Nikonov
bf7dd39282
Fix: decimal rounding
...
Fixes #37531
2022-06-14 18:03:05 +00:00
Amos Bird
d5a7a5be8e
Fix use-after-free in system.projection_parts
2022-06-14 23:41:42 +08:00
Maksim Kita
dc2e117cce
UnaryLogicalFunctions improve performance using dynamic dispatch
2022-06-14 17:30:11 +02:00
Azat Khuzhin
109980eb27
Fix "Missing columns" for GLOBAL JOIN with CTE w/o alias
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-14 17:22:07 +03:00
Alexander Tokmakov
b39bd3c4e0
fix
2022-06-14 16:11:16 +02:00
Antonio Andelic
6e55593398
Fix remove preprocess
2022-06-14 13:23:46 +00:00
Amos Bird
9a6e6ccfaf
Fix significant join performance regression
2022-06-14 21:14:18 +08:00
Antonio Andelic
b7bd5a8eb1
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-14 12:51:35 +00:00
Antonio Andelic
c98c6566bf
Use std::pair
2022-06-14 12:49:42 +00:00
Antonio Andelic
38a88e7d8c
Use session for sync
2022-06-14 11:48:10 +00:00
mergify[bot]
3f97745612
Merge branch 'master' into merge-tree-multiple-order-by-columns-improve-insert-performance
2022-06-14 10:49:48 +00:00
Antonio Andelic
5787509083
Remove trailing whitespace
2022-06-14 10:19:39 +00:00
Maksim Kita
da8b1b1eba
Merge pull request #38025 from kitaisreal/use-base-sort-instead-of-standard
...
Use pdqsort instead of standard sort
2022-06-14 12:13:35 +02:00
Antonio Andelic
200f8df8d8
Fix putReqeust
2022-06-14 09:50:30 +00:00
Antonio Andelic
367df12626
Add sync support to client
2022-06-14 09:50:30 +00:00
Antonio Andelic
560999d587
Block reads until sync is finished
2022-06-14 09:50:25 +00:00
alesapin
3b832a25f6
Merge pull request #37995 from ClickHouse/fix_queue
...
Add backoff to merges in replicated queue if `always_fetch_merged_part` is enabled
2022-06-14 11:38:44 +02:00
alesapin
0b7da674b3
Merge pull request #38021 from ClickHouse/fix-object-storage-version
...
Use correct version in `DiskObjectStorageMetadata`
2022-06-14 11:27:47 +02:00
Antonio Andelic
5d4b289550
Update stats in update delta
2022-06-14 09:14:53 +00:00
Robert Schulze
bc46cef63c
Minor follow-up
...
- change ELF section name to ".clickhouse.hash" (lowercase seems
standard)
- more expressive/concise integrity check messages at startup
2022-06-14 08:52:13 +00:00
Antonio Andelic
bf27fe284c
Use std::list for deltas
2022-06-14 07:37:02 +00:00
Nikolai Kochetov
f9fa9c094f
Change error code
2022-06-14 07:32:13 +00:00
Antonio Andelic
7e99e9fe43
Fix child num assert
2022-06-14 07:17:11 +00:00
Antonio Andelic
dded528d13
Merge pull request #36424 from PolyProgrammist/r1unfreeze
...
SYSTEM UNFREEZE query that deletes the whole backup
2022-06-14 08:44:45 +02:00
Antonio Andelic
71e4bd0689
Merge pull request #37565 from ClickHouse/keeper-broken-to-detached
...
Move clickhouse-keeper broken logs to specific folder
2022-06-14 08:23:17 +02:00
Dmitry Novik
eddd4ecaeb
Allow several functions in window expression
2022-06-14 00:57:33 +00:00
Dmitry Novik
0c6ed20b42
Fix window expression evaluation
2022-06-13 23:11:53 +00:00
kssenii
0d2dae0046
Add const, rename settings
2022-06-14 00:47:03 +02:00
kssenii
74cffaf186
Merge master
2022-06-14 00:45:19 +02:00
Vitaly Baranov
241b51c7d4
Add implicit grants with grant option too. ( #38017 )
2022-06-14 00:09:51 +02:00
alesapin
a694ba5fc3
Merge pull request #38033 from ClickHouse/disk_transaction
...
More consts for disks
2022-06-14 00:01:22 +02:00
kssenii
34e63b20fb
Review fixes
2022-06-13 21:27:54 +02:00
alesapin
267dd28e11
More consts for disks
2022-06-13 21:07:10 +02:00
Anton Popov
e6517164f2
add test and comment
2022-06-13 17:30:58 +00:00
Maksim Kita
20227e0718
Fixed style check
2022-06-13 18:49:20 +02:00
Antonio Andelic
e5504f1b33
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-13 15:43:10 +00:00
Nikolai Kochetov
695d586604
Fix possible crash in Distributed async insert in case of removing a replica from config.
2022-06-13 15:21:43 +00:00
Antonio Andelic
b9cf6fe367
Merge branch 'master' into pp-system-unfreeze
2022-06-13 14:46:30 +00:00
Maksim Kita
eb861499c7
Fixed tests
2022-06-13 16:43:11 +02:00
Antonio Andelic
879e162f92
Fix revision write for Freeze
2022-06-13 14:32:40 +00:00
Maksim Kita
88dfcaa892
Merge pull request #38023 from kitaisreal/examples-coroutines-build-fix
...
Examples coroutines build fix
2022-06-13 16:09:46 +02:00
Maksim Kita
98a89b50ff
Use pdqsort instead of standard sort
2022-06-13 15:31:08 +02:00
Maksim Kita
b63089ab7a
Examples coroutines build fix
2022-06-13 15:21:37 +02:00
alesapin
d984763b95
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2022-06-13 15:10:20 +02:00
Anton Popov
cf47b1c96e
Merge pull request #37305 from CurtizJ/dynamic-columns-15
...
Fix some cases of insertion nested arrays to columns of type Object
2022-06-13 14:28:36 +02:00
kssenii
debe467ee7
Review fixes
2022-06-13 14:25:42 +02:00