Commit Graph

94470 Commits

Author SHA1 Message Date
Amos Bird
2a73ccb3f6
Normalize AggregateFunctionCount type comparison 2022-08-01 21:04:10 +08:00
Mikhail f. Shiryaev
079db7f34b
Retry inserts with ClickHouseHelper 2022-08-01 14:59:13 +02:00
Anton Popov
8a3ec52b5e
Merge pull request #39752 from CurtizJ/fix-index-analysis
Fix index analysis with tuples and `IN`
2022-08-01 14:41:46 +02:00
Anton Popov
eeb9366010
Merge pull request #39731 from CurtizJ/fix-send-logs-level-test
Fix redirecting of logs to stdout in clickhouse-client
2022-08-01 14:22:49 +02:00
Ilya Yatsishin
c882bdc88e
Merge pull request #35968 from ClickHouse/interserver_listen_port 2022-08-01 13:57:17 +02:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
Antonio Andelic
621da05145
Merge branch 'master' into jepsen-label 2022-08-01 13:35:27 +02:00
robot-clickhouse
65efc0ec98 Automatic style fix 2022-08-01 11:24:03 +00:00
Alexander Tokmakov
80f9ba9186
Merge pull request #39690 from ClickHouse/show-addresses-in-stack-traces
Configuration parameter to hide addresses in stack traces
2022-08-01 14:20:37 +03:00
Alexander Tokmakov
38e5e885c3 fix some flaky integration tests 2022-08-01 13:16:12 +02:00
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
avogar
74f87a95c7 Fis style 2022-08-01 10:57:55 +00:00
Kruglov Pavel
91c0b94768
Merge pull request #39510 from Avogar/update-arrow
Update arrow to fix possible data race
2022-08-01 12:54:02 +02:00
Kruglov Pavel
42136b7630
Merge pull request #39647 from Avogar/fix-arrow-strings
Fix strings in dictionary in Arrow format
2022-08-01 12:46:07 +02:00
Kruglov Pavel
6457c069a9
Merge pull request #39293 from kssenii/fix-positional-args-case
Fix positional arguments in case of unneeded columns pruning
2022-08-01 12:42:18 +02:00
Igor Nikonov
914cf8eb4d Fix non-deterministic queries 2022-08-01 10:40:18 +00:00
Antonio Andelic
9ec27c0ab4
Merge pull request #39757 from ClickHouse/fix-rocksdb-filter-with-params
Use params correctly for filtering by key in EmbeddedRocksDB
2022-08-01 12:17:10 +02:00
Nikita Mikhaylov
379d8c5c6a
Chown all directories for multidisk setup (#39121) 2022-08-01 12:08:32 +02:00
Alexander Tokmakov
3bb060336d
Merge pull request #39124 from azat/fix-02232_dist_insert_send_logs_level_hung
tests: enable back 02232_dist_insert_send_logs_level_hung
2022-08-01 12:42:51 +03:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Antonio Andelic
76f2ba3e98
Merge pull request #39738 from ClickHouse/fix-jepsen-total-queue
Use different root path for total-queue Jepsen test
2022-08-01 09:09:32 +02:00
Robert Schulze
0e154ed1df
More renamings 2022-08-01 07:05:39 +00:00
Wangyang Guo
6a67147584 ColumnVector: refactory to use TargetSpecific::Default::doFilterAligned 2022-08-01 13:41:02 +08:00
Wangyang Guo
b05be56eef ColumnVector: naming style fix 2022-08-01 10:16:15 +08:00
Dmitry Novik
ab5a147065
Merge pull request #38725 from azat/fix-order-by-projection
Fix ORDER BY that matches projections ORDER BY
2022-08-01 00:32:59 +02:00
Robert Schulze
d39259a4c0
More conversions 2022-07-31 22:06:02 +00:00
Azat Khuzhin
3e627e2861 Add profile events for fsync
The following new provile events had been added:

- FileSync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files.
- DirectorySync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories.
- FileSyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for files.
- DirectorySyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for directories.

v2: rewrite test to sh with retries
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-31 23:19:30 +03:00
Alexey Milovidov
c5f7a3327b
Merge pull request #39085 from quickhouse/patch-3
Fixed regexp in `test_match_process_uid_against_data_owner`
2022-07-31 22:57:26 +03:00
Alexey Milovidov
ccef227494
Merge pull request #38185 from vdimir/analyze_stuck
Limit number of analyze for one query
2022-07-31 22:53:09 +03:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port 2022-07-31 22:51:38 +03:00
Alexey Milovidov
567b57a627
Update a test. 2022-07-31 22:44:28 +03:00
kssenii
687f0fabfc Move some dependencies 2022-07-31 20:17:22 +03:00
kssenii
96f476d078 Merge remote-tracking branch 'upstream/master' into update-azure-lib 2022-07-31 20:17:10 +03:00
Robert Schulze
a7734672b9
Use std::popcount, ::countl_zero, ::countr_zero functions
- Introduced with the C++20 <bit> header

- The problem with __builtin_c(l|t)z() is that 0 as input has an
  undefined result (*) and the code did not always check. The std::
  versions do not have this issue.

- In some cases, we continue to use buildin_c(l|t)z(), (e.g. in
  src/Common/BitHelpers.h) because the std:: versions only accept
  unsigned inputs (and they also check that) and the casting would be
  ugly.

(*) https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
2022-07-31 15:16:51 +00:00
Robert Schulze
63836749c6
Try to fix "Docs Check" error 2022-07-31 15:04:14 +00:00
Robert Schulze
dd030c6b48
Add anchor 2022-07-31 13:01:35 +00:00
Robert Schulze
fb622e4c4b
Remove IDE recommendation from Russian / Chinese translations of dev guide
- IDEs are already recommended at length earlier in the documents
2022-07-31 12:53:15 +00:00
Alexander Tokmakov
31550436e4 try clang-15 for build with tsan 2022-07-31 14:38:13 +02:00
Robert Schulze
729d19fa4f
Rename "splitted build" to "shared libraries build" in CI tools
- The old name made sense for (dev option) "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1 -DSPLIT_BINARY=1" but that was removed with
  #39520.

- What still exists is "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1" which does a shared library build
2022-07-31 12:26:51 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Robert Schulze
0f2177127b
Merge pull request #39751 from ClickHouse/enable-getoskernelversion
Enable SQL function getOSKernelVersion() on all platforms
2022-07-31 14:09:46 +02:00
Antonio Andelic
d87aac2013 Disable fasttest for rocksdb 2022-07-31 11:31:46 +00:00
Azat Khuzhin
aff8c12a4a tests: enable back 02232_dist_insert_send_logs_level_hung
The original issue was that log_comment was wrong, and this test relies
on correct log_comment, but this had been fixed already in #37932.

Also adjust the timeout to avoid possible query hung check failures.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-31 14:27:14 +03:00
Nikolai Kochetov
eaeb0446c7
Merge pull request #39705 from ClickHouse/avoid-recursive-dtor-for-ast
Avoid recursive destruction of AST.
2022-07-31 12:59:20 +02:00
Antonio Andelic
eea1aaef2c Use params for filtering by key in EmbeddedRocksDB 2022-07-31 10:44:01 +00:00
Alexander Gololobov
d259c4fa6c
Merge pull request #39747 from ClickHouse/fix-double-escaping-json
Fix double escaping in the metadata of FORMAT JSON
2022-07-31 11:28:25 +02:00
Robert Schulze
dcc8751685
Disable harmful env var check to workaround failure to start the server 2022-07-31 08:55:07 +00:00
Antonio Andelic
55ff4956ed Merge branch 'master' into fix-jepsen-total-queue 2022-07-31 08:28:10 +00:00
Robert Schulze
7c23e48b5b
Revert exclusion of libharmful (did not work anyways) 2022-07-31 08:05:12 +00:00
Robert Schulze
7fe106a0fb
Try to fix libharmful fail 2022-07-31 07:44:25 +00:00