Commit Graph

87330 Commits

Author SHA1 Message Date
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
Alexey Milovidov
05eb1b5a92
Merge pull request #35713 from guov100/patch-2
Update build-cross-arm.md , make it more human-readable in Chinese.
2022-04-25 03:22:28 +03:00
Alexey Milovidov
58490fba0b
Merge pull request #34442 from ermaotech/patch-3
Update setting.md
2022-04-25 03:22:16 +03:00
rfraposa
06ac99b1e7 Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
mergify[bot]
f02526c8ac
Merge branch 'master' into document_merge_tree_max_concurrent_queries 2022-04-24 22:36:50 +00:00
Alexey Milovidov
d728b1ee43
Merge pull request #36462 from BoloniniD/Rust_docs
Documentation for Rust integration
2022-04-25 01:35:17 +03:00
Alexey Milovidov
4f70416cc7
Update integrating_rust_libraries.md 2022-04-25 01:34:06 +03:00
mergify[bot]
cb4e6b9b3f
Merge branch 'master' into documentation 2022-04-24 22:31:39 +00:00
Alexey Milovidov
26a85da0e4
Delete system-tables.md 2022-04-25 01:31:07 +03:00
mergify[bot]
3235565e02
Merge branch 'master' into patch-1 2022-04-24 22:29:43 +00:00
Alexey Milovidov
4c41a61f41
Merge pull request #35169 from guomaolin/patch-1
Update mergetree.md
2022-04-25 01:28:47 +03:00
mergify[bot]
f379d93d16
Merge branch 'master' into patch-2 2022-04-24 22:26:33 +00:00
mergify[bot]
e32f6daeef
Merge branch 'master' into patch-3 2022-04-24 22:24:34 +00:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes 2022-04-24 22:24:24 +00:00