Alexey Milovidov
8567fea016
Merge pull request #36295 from amosbird/bump-minizip
...
Bump minizip-ng to a sane version
2022-05-03 15:58:25 +03:00
Kruglov Pavel
050eed68e2
Fix bug after resolving conflicts
2022-05-03 14:47:24 +02:00
Azat Khuzhin
cb496a2cd4
Relax cmake check for CFLAGS/CXXFLAGS/LDFLAGS
...
Fixes : #36854
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-03 14:59:03 +03:00
Alexander Gololobov
367898da5e
Merge pull request #35318 from weeds085490/feat/add_part_offset
...
feat(...): [LWD] support getting _part_offset of a row
2022-05-03 13:27:02 +02:00
vdimir
ffb0570cae
Add testcase to 02291_join_const_literal_36279.sql
2022-05-03 11:06:59 +00:00
Alexander Gololobov
bf04e6beaf
Fix updating S3-related metrics after name changes
2022-05-03 13:06:12 +02:00
Maksim Kita
36d1c8238a
Merge pull request #36766 from kitaisreal/evaluate-constant-expression-fix
...
Fix evaluateConstantExpression for subqueries
2022-05-03 12:32:14 +02:00
Maksim Kita
3c89424102
Merge pull request #36852 from kitaisreal/aggregator-jit-lock-fix
...
Aggregator JIT compilation lock fix
2022-05-03 12:29:35 +02:00
vdimir
9e2cafa5e5
Add test join_const_literal_36279
2022-05-03 10:18:19 +00:00
vdimir
7f24ae89d1
ASTLiteral clone all except unique_column_name
2022-05-03 10:18:18 +00:00
vdimir
a7fa253ccf
ASTLiteral clone only value
2022-05-03 10:18:18 +00:00
Nikolai Kochetov
540fafbe74
Merge pull request #36856 from ClickHouse/repro-lc-and-s3
...
Reproduce and a little bit better fix for LC dict right offset.
2022-05-03 11:32:08 +02:00
Sergei Trifonov
96b7ff3454
Merge pull request #36855 from ClickHouse/serxa-docs-dev-threads
...
Add docs for developers on threads and jobs
2022-05-03 11:23:55 +02:00
Sergei Trifonov
08688332bd
more info + fixes
2022-05-03 11:22:07 +02:00
yakkomajuri
79029d3772
move setting
2022-05-03 09:15:40 +00:00
Vitaly Baranov
cb9d867f5f
Fix restore coordination for creating tables in replicated databases.
2022-05-03 11:03:16 +02:00
Vitaly Baranov
5257ce31f8
Improved using ThreadPool for making backup or restoring, changed columns in system.backups.
2022-05-03 11:03:13 +02:00
Vitaly Baranov
409edfd3fa
Rework RestoreCoordination: make restore deterministic.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
2c754f44fc
Make calculation of shard_num & replica_num not dependant on match of the cluster's definitions on nodes.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
b1295311c9
Fix crash when BACKUP & RESTORE are called without ON CLUSTER for replicated DB.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
2a645bb187
Fix sending 'create_table' and 'create_database' restore settings to cluster.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
bddec55d35
Added ASTBackupQuery::setDatabase().
2022-05-03 11:01:44 +02:00
Mikhail f. Shiryaev
326ce4af16
Merge pull request #36701 from ClickHouse/tests-report
...
Tests report
2022-05-03 09:55:10 +02:00
Robert Schulze
0a4eccb73e
Activated a bunch of LLVM 12/13/14 clang-tidy warnings
...
Omitted new checks which produce too many matches or which are
controversial (e.g. readability-identifier-length).
New checks:
- misc-misleading-bidirectional + misc-misleading-identifier
Detects potential attack as described in the Trojan Source attack
- modernize-macro-to-enum
Replaces groups of adjacent macros with an unscoped anonymous enum
- modernize-shrink-to-fit
Replace copy and swap tricks on shrinkable containers with the
shrink_to_fit() method call
- modernize-use-transparent-functors
Prefer transparent functors to non-transparent ones
- modernize-use-uncaught-exceptions
This check will warn on calls to std::uncaught_exception and replace
them with calls to std::uncaught_exceptions (uncaught_exception was
deprecated with C++17)
- performance-no-int-to-ptr
Diagnoses every integer to pointer cast
- readability-duplicate-include
Looks for duplicate includes and removes them
- readability-redundant-preprocessor
Finds potentially redundant preprocessor directives
- bugprone-lambda-function-name
Checks for attempts to get the name of a function from within a lambda
expression
- bugprone-redundant-branch-condition
Finds condition variables in nested if statements that were also
checked in the outer if statement and were not changed
- bugprone-shared-ptr-array-mismatch
Finds initializations of C++ shared pointers to non-array type that
are initialized with an array
- bugprone-stringview-nullptr
Checks for various ways that the const CharT* constructor of
std::basic_string_view can be passed a null argument and replaces them
with the default constructor in most cases
- bugprone-suspicious-memory-comparison
Finds potentially incorrect calls to memcmp() based on properties of
the arguments
2022-05-03 09:22:11 +02:00
Robert Schulze
777b5bc15b
Don't let storages inherit from boost::noncopyable
...
... IStorage has deleted copy ctor / assignment already
2022-05-03 09:07:08 +02:00
Antonio Andelic
fd0ba2d10b
Protect background exception
2022-05-03 06:34:03 +00:00
Antonio Andelic
bfdb4566c6
Use mutex per worker
2022-05-03 06:18:39 +00:00
Larry Luo
ee131eefd8
Removed move for trivially-copyable type and added noexcept for move constructor
2022-05-02 18:46:34 -07:00
Dmitry Novik
2815f22152
Remove incorrect assert
2022-05-02 23:02:43 +00:00
Dmitry Novik
2ed5a4013a
Revert "Revert "Memory overcommit: continue query execution if memory is available""
2022-05-03 00:45:13 +02:00
alesapin
07a7b6b17a
Merge pull request #36858 from ClickHouse/revert-35637-memory-overcommit-free
...
Revert "Memory overcommit: continue query execution if memory is available"
2022-05-03 00:37:20 +02:00
alesapin
f0b7af0aa2
Revert "Memory overcommit: continue query execution if memory is available"
2022-05-03 00:36:50 +02:00
Nikolai Kochetov
b10decc987
Fix style and formatting.
2022-05-02 18:59:43 +00:00
Nikita Mikhaylov
3fac56ffa1
Update Dockerfile
2022-05-02 20:37:16 +02:00
Nikolai Kochetov
3d9b87af09
Reproduce and a little bit better fix for LC dict right offset.
2022-05-02 18:06:47 +00:00
Sergei Trifonov
98168cfc8f
Add docs for developers on threads and jobs
2022-05-02 19:47:15 +02:00
Dmitry Novik
71b6f89166
Merge pull request #35637 from ClickHouse/memory-overcommit-free
...
Memory overcommit: continue query execution if memory is available
2022-05-02 19:00:18 +02:00
Mikhail f. Shiryaev
c359edbd8d
Fix some linter issues
2022-05-02 18:21:39 +02:00
Mikhail f. Shiryaev
76efb83f7c
Try to fix corrupted report for died server
2022-05-02 18:21:37 +02:00
mergify[bot]
93f5aa7488
Merge branch 'master' into aggregator-jit-lock-fix
2022-05-02 16:16:36 +00:00
Dmitry Novik
9be17ef50c
Merge pull request #35111 from azat/optimize_aggregation_in_order-prefix
...
Implement partial GROUP BY key for optimize_aggregation_in_order
2022-05-02 17:49:48 +02:00
Mikhail f. Shiryaev
5e019efb7e
Try to fix corrupted report for died server
2022-05-02 17:48:40 +02:00
Mikhail f. Shiryaev
2349d3d6a6
Use f-strings, some simplifications
2022-05-02 17:48:39 +02:00
Mikhail f. Shiryaev
cd27c13331
Apply black to clickhouse-test
2022-05-02 17:48:38 +02:00
Ilya Yatsishin
6c3bbb4933
Add Other Time Microseconds Profile Event
2022-05-02 17:13:57 +02:00
Vladimir C
7293a69e5e
Merge pull request #36656 from amosbird/timefunctionunderflow
...
Saturate date/datetime to zero (part 2)
2022-05-02 17:10:48 +02:00
Alexey Milovidov
c1756f0906
Merge pull request #36836 from azat/remove-raid1
...
[RFC] Remove unimplemented RAID1 support
2022-05-02 17:26:44 +03:00
Maksim Kita
c059629f8d
Aggregator JIT compilation lock fix
2022-05-02 16:21:10 +02:00
Nikita Mikhaylov
1681bb0ff8
Update install.sh + trigger images rebuild
2022-05-02 14:05:25 +00:00
mergify[bot]
615c0237fc
Merge branch 'master' into fix-s3-cluster
2022-05-02 13:26:55 +00:00