Commit Graph

87403 Commits

Author SHA1 Message Date
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
alesapin
2012b6717d
Merge pull request #36631 from ClickHouse/disable_postgre_test
Disble test postgresql replica with asan
2022-04-25 16:44:11 +02:00
alesapin
268cb29230 Disble test postgresql replica with asan 2022-04-25 16:37:50 +02:00
Sergei Trifonov
fa5da60b72
Merge pull request #36629 from ClickHouse/serxa-patch-1
fix typo
2022-04-25 16:07:22 +02:00
Sergei Trifonov
ad9d57807f
fix typo 2022-04-25 16:06:14 +02:00
Yatsishin Ilya
06b724b940 Version history benchmarks 2022-04-25 13:57:31 +00:00
Azat Khuzhin
3c43914f9a tests: simplify 01834_alias_columns_laziness_filimonov
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 16:51:39 +03:00
Mikhail f. Shiryaev
824335ca33
Filter out sychronized events globbaly 2022-04-25 14:45:11 +02:00
Yakov Olkhovskiy
579e8105a3
Merge pull request #36468 from ClickHouse/decouple_ParserAttachAccessEntity
Refactoring dependency for ParserAttachAccessEntity
2022-04-25 08:28:17 -04:00
Mikhail f. Shiryaev
f53040b95e
Merge pull request #36559 from ClickHouse/performance-rebalance
Use just index to split performance tests by group
2022-04-25 14:15:23 +02:00
alesapin
46ac2f3e36
Merge pull request #36607 from ClickHouse/exclude_bc_test
Exclude test `02271_fix_column_matcher_and_column_transformer` from bc check
2022-04-25 14:00:13 +02:00
Azat Khuzhin
23347a878d tests: update 01173_transaction_control_queries
Since now on INSERT failures reconnect does not happens.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 14:42:30 +03:00
Azat Khuzhin
01329d7d08 Explicit disconnect in case of error during Ping <-> Pong
v2: fix lifetime of the socket for TimeoutSetter
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 14:42:29 +03:00
Azat Khuzhin
a939a20443 client: gracefully handle client exceptions for INSERT queries
In other words avoid reconnect in this case, like in [1]:

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/36587/3dc8aa8caa8918f8e4a42dea72da2b94ed5e17ca/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 14:42:29 +03:00
Azat Khuzhin
53be9c5d0c client: add a message on reconnect (under warning log level)
This will make debugging tests easier, since sometimes it is possible
for server to hung for a few seconds, and this leads to client
reconnect, which can leave the query in backround, like in [1] ([2]).

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/35865/0cb3770d104b5f673d1d0d1076ac3fd3619fee9e/stateless_tests__debug__actions__%5B2/3%5D.html
  [2]: https://github.com/ClickHouse/ClickHouse/pull/35865#issuecomment-1099516534

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 14:42:29 +03:00
Kseniia Sumarokova
2106a7b895
Merge pull request #36489 from awakeljw/fork_chmaster
fix ConvertDecimalType unexpected behavior
2022-04-25 13:23:54 +02:00
Nikolai Kochetov
0fa63a8d65
Merge pull request #36549 from ClickHouse/interpolate-alias-fix
Avoid projections if INTERPOLATE with expressions is present
2022-04-25 13:18:00 +02:00
Kruglov Pavel
34c342fdd3
Merge pull request #36205 from Avogar/improve-globs
Some refactoring around schema inference with globs
2022-04-25 13:14:46 +02:00
Robert Schulze
62aba875f5
Make arch detection more robust
- Properly handle the case that we are on an unsupported but unlisted
  arch, e.g. mips. Before, we would simply continue
  configuration/compilation with no architecture set.

- CMake variable "ARCH_ARM" could in theory be replaced by
  "ARCH_AARCH64". This would need refactoring in dependent CMakeLists,
  therefore not doing it now.
2022-04-25 13:08:17 +02:00
tavplubix
7246101f61
better fix for tests 2022-04-25 13:51:33 +03:00
Robert Schulze
017fde4136
Update required CMake version in build.md 2022-04-25 12:48:54 +02:00
Robert Schulze
2b3340861b
Remove support for ancient CMake
The first line in CMakeLists.txt says the minimum CMake version is
3.14. Therefore removing special code for earlier CMake versions.
2022-04-25 12:48:24 +02:00
Nikolai Kochetov
d5b2d28f7b
Merge pull request #36579 from amosbird/refactor-executor1
Small refactoring of Processors and QueryPipeline
2022-04-25 12:47:59 +02:00
Mikhail f. Shiryaev
71942b6504
Merge pull request #36604 from ClickHouse/check-style-in-docs
Check style in docs, fixes the issue affected #36596
2022-04-25 12:25:36 +02:00
Mikhail f. Shiryaev
f3aaff773a
Disable broken performance test 2022-04-25 11:26:05 +02:00
alesapin
a8f3f9704e Exclude test from bc check 2022-04-25 11:20:22 +02:00
Antonio Andelic
d60384d336
Merge pull request #36469 from bigo-sg/fix_ranger_generator
Fix bug of range generator
2022-04-25 10:52:34 +02:00
Mikhail f. Shiryaev
099093c64c
Check style in documentation PRs 2022-04-25 09:42:55 +02:00
Azat Khuzhin
278101fc0c Add a comment for taskstruct netlink interface rounding to KiB
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:17 +03:00
Azat Khuzhin
35613e3010 tests: adopt 01268_procfs_metrics for difference between proc and taskstruct
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:17 +03:00
Azat Khuzhin
aaa222821c tests: simplify 01268_procfs_metrics
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:08 +03:00
Azat Khuzhin
d161b798a8 Strict taskstats parser
This will unhide possible issues (since sometimes statistics is
inaccurate).

Also before this patch TASKSTATS_TYPE_AGGR_TGID had been handled, while
it not correct to take into account, but it was not requested anyway.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
(cherry picked from commit bfa65b651a)
2022-04-25 07:56:54 +03:00
Azat Khuzhin
6df54611a9 Log which taskstats provider is in use
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: add missing __builtin_unreachable() for gcc built [1]
    [1]: https://s3.amazonaws.com/clickhouse-builds/36351/99e72a960325cc1fb3cd3d6a1b56cf2b1cc2d733/binary_gcc/build_log.log
(cherry picked from commit 2be022cb56)
2022-04-25 07:56:54 +03:00
Yakov Olkhovskiy
a15c864ec7
Update 02233_interpolate_1.sql
new line
2022-04-24 23:50:19 -04:00
Rich Raposa
21442006ad
Merge pull request #36596 from ClickHouse/resubmit-two-wrong-doc-changes
Resubmit two wrong doc changes
2022-04-24 20:12:45 -06:00
Rich Raposa
1eded7c32b
Delete date-time-functions.md 2022-04-24 20:02:47 -06:00
Rich Raposa
9982487512
Update setting.md 2022-04-24 20:00:51 -06:00
Rich Raposa
d2a78d3fa3
Update map.md 2022-04-24 20:00:24 -06:00
mergify[bot]
53346ac3cc
Merge branch 'master' into to_start_of_five_minutes 2022-04-25 01:02:38 +00:00
Alexey Milovidov
29d5ba5223 Resubmit two wrong doc changes 2022-04-25 03:00:58 +02:00
Alexey Milovidov
dd1190fae8
Merge pull request #36595 from ClickHouse/revert-34442-patch-3
Revert "Update setting.md"
2022-04-25 03:59:41 +03:00
Alexey Milovidov
4f177281aa
Revert "Update setting.md" 2022-04-25 03:59:23 +03:00
Alexey Milovidov
397d7cf0b6
Merge pull request #36594 from ClickHouse/revert-35744-patch-1
Revert "Translate  docs/zh/sql-reference/data-types/map.md"
2022-04-25 03:54:21 +03:00
Alexey Milovidov
d327f38fe9
Revert "Translate docs/zh/sql-reference/data-types/map.md" 2022-04-25 03:54:01 +03:00
Alexey Milovidov
f27c4d5fd4
Update 01958_partial_hour_timezone.reference 2022-04-25 03:25:00 +03:00
Alexey Milovidov
27d02e2689
Merge pull request #36592 from ClickHouse/rfraposa-patch-3
Add cmake page back to docs && fix /settings/settings in /zh
2022-04-25 03:24:07 +03:00
Alexey Milovidov
9443c163b5
Merge pull request #36291 from larry-cdn77/document_merge_tree_max_concurrent_queries
Document MergeTree max_concurrent_queries
2022-04-25 03:22:50 +03:00
Alexey Milovidov
1040e31821
Merge pull request #35969 from larry-cdn77/documentation
Documentation: update listing in system.metrics example
2022-04-25 03:22:42 +03:00
Alexey Milovidov
a56e7da395
Merge pull request #35744 from yjant/patch-1
Translate  docs/zh/sql-reference/data-types/map.md
2022-04-25 03:22:35 +03:00