Commit Graph

88291 Commits

Author SHA1 Message Date
Robert Schulze
b829c743cc
Removing performance-no-int-to-ptr for now 2022-05-03 21:22:13 +02:00
Amos Bird
7febf57439
Fix minmax_count_projection constant aggregation 2022-05-04 03:07:59 +08:00
Alexander Gololobov
77f5bac0d5 Added missing event names 2022-05-03 20:39:44 +02:00
Alexander Tokmakov
b96dbdf711 fix test 2022-05-03 20:20:27 +02:00
alesapin
0dffd7c44a Fix coordination 2022-05-03 20:20:07 +02:00
Sergei Trifonov
abb143c947
Merge pull request #36881 from ClickHouse/serxa-docs-time-window-functions
update docs for time window functions
2022-05-03 20:11:10 +02:00
Alexander Tokmakov
3baf72f1d4 save system logs in func tests if server crashed 2022-05-03 20:10:07 +02:00
kssenii
8f99046100 Add come asynchronous metrics 2022-05-03 20:02:19 +02:00
kssenii
ab65e163fa Add current metrics 2022-05-03 19:35:04 +02:00
Sergei Trifonov
6730ad9799
update docs for time window functions 2022-05-03 19:12:42 +02:00
Sergei Trifonov
c21cff7905
Merge pull request #36880 from ClickHouse/serxa-fix-typo
fix typo in comment
2022-05-03 18:50:59 +02:00
Sergei Trifonov
1bcae160a0
Update MergeTreeBackgroundExecutor.h 2022-05-03 18:50:05 +02:00
mergify[bot]
57fcca6dda
Merge branch 'master' into nth_value 2022-05-03 16:37:09 +00:00
Vitaly Baranov
202dd864ed Fix compilation. 2022-05-03 18:34:29 +02:00
Alexander Tokmakov
6dfaffdb7a fix test 2022-05-03 17:53:15 +02:00
mergify[bot]
ddd1c3e1b3
Merge branch 'master' into add-other-time-microsecons 2022-05-03 15:45:40 +00:00
Vitaly Baranov
484c2c9c4a Use SYSTEM SYNC DATABASE REPLICA to make code better. 2022-05-03 16:59:41 +02:00
Vladimir C
ea93ab51d5
Merge pull request #36869 from azat/cmake-fix 2022-05-03 16:57:56 +02:00
Vitaly Baranov
828f45f078 Add new restore setting 'allow_non_empty_tables'. 2022-05-03 16:18:45 +02:00
Dmitry Novik
5ba7a55c18
Merge pull request #36650 from bigo-sg/hive_text_parallel_parsing
Parallel parsing of hive text format
2022-05-03 15:56:28 +02:00
Kruglov Pavel
a902b9d1e7
Try fix builds 2022-05-03 15:56:25 +02:00
kssenii
000f2c9f7a Better 2022-05-03 15:55:36 +02:00
Anton Popov
d0a1eab52e fix insertion of complex jsons with nested arrays 2022-05-03 13:34:45 +00:00
Alexander Tokmakov
e03bcc93ca
Merge pull request #36846 from yakkomajuri/patch-1
Add docs for undocumented allow_nondeterministic_mutations
2022-05-03 16:23:02 +03:00
Dmitry Novik
455742ec7a Make unit tests stable 2022-05-03 13:20:57 +00:00
Alexander Tokmakov
94af11dd74 add extra info when sending exception 2022-05-03 15:13:47 +02:00
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