Robert Schulze
537a697f65
Fix whitespaces
2023-02-08 11:36:52 +00:00
Robert Schulze
b79ead9c84
Move poco to base/poco/ ( #46075 )
...
* Replicate poco into base/poco/
* De-register poco submodule
* Build poco from ClickHouse
* Exclude poco from stylecheck
* Exclude poco from whitespace check
* Exclude poco from typo check
* Remove x bit from sources/headers (the style check complained)
* Exclude poco from duplicate include check
* Fix fasttest
* Remove contrib/poco-cmake/*
* Simplify poco build descriptions
* Remove poco stuff not used by ClickHouse
* Glob poco sources
* Exclude poco from clang-tidy
2023-02-08 12:04:11 +01:00
Azat Khuzhin
6587d11885
Check return value of close() in self-extracting-executable
...
And also add description into perror() over callign simply
perror(nullptr).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-07 11:28:22 +01:00
Azat Khuzhin
0ab351c82e
Add close() return value check in check-style
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 20:20:15 +01:00
robot-clickhouse
a9ab22e45d
Update version_date.tsv and changelogs after v23.1.3.5-stable
2023-02-03 13:00:13 +00:00
Antonio Andelic
5de6f86c27
Fix clang-tidy error
2023-02-01 12:28:44 +00:00
Robert Schulze
b5f5018b10
Fix spelling
2023-01-31 11:55:45 +00:00
robot-clickhouse
65ee121dba
Update version_date.tsv and changelogs after v23.1.2.9-stable
2023-01-29 16:53:30 +00:00
robot-clickhouse
efb346976e
Update version_date.tsv and changelogs after v22.11.5.15-stable
2023-01-29 13:39:03 +00:00
Alexander Tokmakov
067b1f5f13
Merge branch 'master' into exception_message_patterns4
2023-01-26 15:20:58 +01:00
Dan Roscigno
efe94b727c
Merge pull request #45574 from FArthur-cmd/laion_doc
...
Add documentation for laion dataset
2023-01-26 08:43:28 -05:00
robot-clickhouse
976a3d26ec
Update version_date.tsv and changelogs after v22.10.7.13-stable
2023-01-26 00:59:09 +01:00
robot-clickhouse
b9ee37f122
Update version_date.tsv and changelogs after v23.1.1.3077-stable
2023-01-25 23:05:49 +00:00
Alexander Tokmakov
ae795d87b2
fix
2023-01-25 16:06:40 +01:00
FArthur-cmd
3d8e8a84f6
ignore laion as it is dataset's name
2023-01-24 18:41:07 +03:00
Robert Schulze
4f90824347
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-17 22:49:53 +00:00
Yakov Olkhovskiy
c8f635e40b
WSL1 inconsistency
2023-01-16 18:32:41 +00:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-16 08:04:49 +00:00
robot-clickhouse
82e73b583e
Update version_date.tsv and changelogs after v22.3.17.13-lts
2023-01-12 19:22:22 +00:00
Mikhail f. Shiryaev
807e84da98
Delete unused website directory
2023-01-11 16:31:27 +01:00
robot-clickhouse
686947b8f4
Update version_date.tsv and changelogs after v22.12.3.5-stable
2023-01-10 13:07:45 +00:00
robot-clickhouse
56c9952f19
Update version_date.tsv and changelogs after v22.8.12.45-lts
2023-01-10 10:54:29 +00:00
Robert Schulze
0c3b034887
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-10 09:02:41 +00:00
robot-clickhouse
f0f5899319
Update version_date.tsv and changelogs after v22.3.16.1190-lts
2023-01-09 19:59:03 +00:00
Alexey Milovidov
be8df5683e
Merge pull request #44988 from ClickHouse/auto/v22.12.2.25-stable
...
Update version_date.tsv and changelogs after v22.12.2.25-stable
2023-01-08 02:52:59 +03:00
Alexey Milovidov
17c797a405
Enable the check that was commented
2023-01-07 21:42:49 +01:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-06 20:42:48 +00:00
robot-clickhouse
72b9e43295
Update version_date.tsv and changelogs after v22.12.2.25-stable
2023-01-06 15:20:59 +00:00
Robert Schulze
27f5aad49e
What happens if I remove 156 lines of code?
2023-01-03 18:51:16 +00:00
Alexey Milovidov
428404a9f0
Merge pull request #44838 from ClickHouse/check-submodules-escape
...
Escape submodules in style-check
2023-01-02 17:43:13 +03:00
Mikhail f. Shiryaev
ae93af32a0
Escape submodules in style-check
2023-01-02 14:23:53 +01:00
Azat Khuzhin
26718ccddf
check-style: check base for std::cerr/cout too
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 11:42:59 +01:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-02 08:20:27 +00:00
Dan Roscigno
bc456feb4b
Merge pull request #44708 from Avogar/schema-inference-docs
...
Add detailed documentation about schema inference
2022-12-30 11:19:09 -05:00
avogar
872d5a5699
Fix style
2022-12-29 20:45:10 +00:00
Azat Khuzhin
e719fd218d
Add excludes for std::cout usage in LineReader
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-27 14:23:51 +01:00
Azat Khuzhin
b7f92454bf
Move LineReader/ReplxxLineReader out from base
...
This will simplify linking dependencies, and anyway this classes are not
base in any sense.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-27 14:23:51 +01:00
Mikhail f. Shiryaev
b5a791ddbc
Merge pull request #44386 from ClickHouse/check-submodules
...
Add check for submodules sanity
2022-12-19 17:51:56 +01:00
Mikhail f. Shiryaev
815ba5b48f
Add check for submodules sanity
2022-12-19 17:36:03 +01:00
Mikhail f. Shiryaev
3c7cfc297c
Merge pull request #44377 from DanRoscigno/edit-dictionary
...
add runnable to ignore list
2022-12-19 16:47:03 +01:00
DanRoscigno
ca9f27b68c
add runnable to ignore list
2022-12-19 08:36:18 -05:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache
2022-12-19 09:18:36 +00:00
Alexey Milovidov
f3a4163c87
Merge pull request #41099 from peter279k/improve_build
...
Improve building steps
2022-12-19 04:01:14 +03:00
robot-clickhouse
9e7d8d2a6f
Update version_date.tsv and changelogs after v22.9.7.34-stable
2022-12-16 11:57:24 +00:00
Robert Schulze
56d9882b43
Fix spell check
2022-12-16 11:24:26 +00:00
robot-clickhouse
f4fbdfa93d
Update version_date.tsv and changelogs after v22.12.1.1752-stable
2022-12-15 17:07:16 +00:00
Robert Schulze
3a0bd18b62
Typos
2022-12-15 13:06:24 +00:00
Mikhail f. Shiryaev
fe44b514b7
Create GitHub cache directory optionally by default
2022-12-09 21:33:06 +01:00
Dan Roscigno
59e93bc9c6
Merge branch 'master' into improve_build
2022-12-09 12:40:46 -05:00
Mikhail f. Shiryaev
a0bde8a974
Order the dictionary
2022-12-09 15:29:24 +01:00
Mikhail f. Shiryaev
5fddc411d3
Add retriable and ReplicatedMergeTree
2022-12-09 15:29:02 +01:00
Sema Checherinda
06d6b87bae
Merge pull request #44059 from ClickHouse/nvartolomei-nv/fix-mutate-fetch
...
Merging #36877
2022-12-09 11:16:57 +01:00
DanRoscigno
d3e5116e24
add changelogs
2022-12-08 18:15:19 -05:00
Alexey Milovidov
2bfe74e863
Add style check
2022-12-08 23:14:22 +01:00
robot-clickhouse
c60545a942
Update version_date.tsv and changelogs after v22.8.11.15-lts
2022-12-08 11:30:31 +00:00
Mikhail f. Shiryaev
90a7f2344a
Merge pull request #43942 from ClickHouse/fix-tags-workflow
...
Fix tags workflow
2022-12-05 15:51:21 +01:00
Mikhail f. Shiryaev
be9c673993
Generate missed changelogs for latest releases
2022-12-05 15:00:01 +01:00
Mikhail f. Shiryaev
79179d8a3b
Use python3 as executor for generate_security.py
2022-12-05 14:21:28 +01:00
Mikhail f. Shiryaev
9cb2aa1c46
Add python mypy check to CI
2022-11-29 16:50:22 +01:00
Nikita Taranov
8ed5cfc265
Memory bound merging for distributed aggregation in order ( #40879 )
...
* impl
* fix style
* make executeQueryWithParallelReplicas similar to executeQuery
* impl for parallel replicas
* cleaner code for remote sorting properties
* update test
* fix
* handle when nodes of old versions participate
* small fixes
* temporary enable for testing
* fix after merge
* Revert "temporary enable for testing"
This reverts commit cce7f8884c
.
* review fixes
* add bc test
* Update src/Core/Settings.h
2022-11-28 00:41:31 +01:00
Kruglov Pavel
98d6b96c82
Merge pull request #42033 from mark-polokhov/BSONEachRow
...
Add BSONEachRow input/output format
2022-11-22 14:45:21 +01:00
robot-clickhouse
4ee5d8bd43
Update version_date.tsv and changelogs after v22.8.9.24-lts
2022-11-19 11:51:14 +00:00
Alexey Milovidov
b4664cd525
Merge pull request #43365 from ClickHouse/update-security-on-tag
...
Update SECURITY.md on new stable tags
2022-11-18 22:39:17 +01:00
Mikhail f. Shiryaev
11a5103dfb
Add a comment how the SECURITY.md is generated
2022-11-18 15:10:32 +01:00
Mikhail f. Shiryaev
318a31ab6e
Rewrite SECURITY.md generator to python
2022-11-18 13:45:58 +01:00
robot-clickhouse
77500b7065
Update version_date.tsv and changelogs after v22.11.1.1360-stable
2022-11-17 21:20:45 +00:00
Kruglov Pavel
6b3276a741
Fix style
2022-11-15 14:47:29 +01:00
Kseniia Sumarokova
79206c6eb0
Merge pull request #43147 from kssenii/named-collections-refactoring
...
Add generic implementation for arbitrary structured named collections, access type and system.named_collections
2022-11-14 11:57:17 +01:00
kssenii
616da1f695
Review fixed, style check fix
2022-11-11 16:50:02 +01:00
avogar
cd36caf013
Fix style
2022-11-10 20:37:24 +00:00
Alexander Tokmakov
b8174a63a8
Merge branch 'master' into fix_intersecting_parts2
2022-11-07 20:26:36 +01:00
Sema Checherinda
8860550e87
Merge pull request #42972 from ClickHouse/remove-some-utils
...
Remove some utils
2022-11-07 11:29:55 +01:00
Alexey Milovidov
f1cbf2f28b
Merge pull request #42917 from ClickHouse/alexey-milovidov-patch-7
...
Update README.md for utils/antlr
2022-11-05 00:16:32 +01:00
Alexey Milovidov
c98731a19b
Remove some utils
2022-11-04 19:22:04 +01:00
Jordi Villar
3441f42f24
Fix macOS M1 builds due to sprintf deprecation
2022-11-04 12:27:46 +01:00
Dan Roscigno
c92329c56a
Merge branch 'master' into improve_build
2022-11-03 08:27:04 -04:00
Alexey Milovidov
16a39e3880
Update README.md
2022-11-02 23:38:03 +03:00
Alexander Tokmakov
e67d05604c
Merge branch 'master' into fix_intersecting_parts2
2022-11-02 19:30:27 +01:00
Alexander Tokmakov
d8b3a2af84
fix race between INSERT and DROP
2022-11-02 19:26:50 +01:00
robot-clickhouse
fc1ae1d99d
Update version_date.tsv and changelogs after v22.10.2.11-stable
2022-11-01 15:50:38 +00:00
Alexey Milovidov
3c69f33b7d
Merge branch 'master' into auto/v22.3.14.23-lts
2022-10-29 17:42:26 +02:00
Alexey Milovidov
cd9756bbaa
Merge pull request #42759 from ClickHouse/auto/v22.3.14.18-lts
...
Update version_date.tsv and changelogs after v22.3.14.18-lts
2022-10-29 17:40:22 +02:00
robot-clickhouse
4f62bd6ba0
Update version_date.tsv and changelogs after v22.3.14.23-lts
2022-10-28 11:43:06 +00:00
robot-clickhouse
51e59405bc
Update version_date.tsv and changelogs after v22.3.14.18-lts
2022-10-28 09:41:29 +00:00
Jordi Villar
073d81c31f
Use nfds_t instead
2022-10-27 20:36:42 +02:00
robot-clickhouse
c46ee42a99
Update version_date.tsv and changelogs after v22.8.8.3-lts
2022-10-27 11:12:23 +00:00
Dan Roscigno
61c3de2ec5
Merge branch 'master' into improve_build
2022-10-26 16:23:48 -04:00
robot-clickhouse
18c0e7b228
Update version_date.tsv and changelogs after v22.8.7.34-lts
2022-10-26 17:19:01 +00:00
robot-clickhouse
42f5a3b2f8
Update version_date.tsv and changelogs after v22.10.1.1877-stable
2022-10-26 15:39:34 +02:00
Mikhail f. Shiryaev
576e6dd9aa
Merge pull request #42676 from ClickHouse/auto/v22.10.1.1875-stable
...
Update version_date.tsv and changelogs after v22.10.1.1875-stable
2022-10-26 13:54:45 +02:00
robot-clickhouse
117674c0ce
Update version_date.tsv and changelogs after v22.10.1.1875-stable
2022-10-26 08:48:12 +00:00
Jordi Villar
9c9b8f4400
Minor fix iotest_nonblock build
2022-10-25 15:23:28 +02:00
Dan Roscigno
c6d6873234
Update aspell-dict.txt
2022-10-24 09:12:15 -04:00
Mikhail f. Shiryaev
a29ece3bb8
Merge pull request #42349 from azat/packages/archlinux
...
Use nfpm packager for archlinux packages
2022-10-24 10:26:24 +02:00
Azat Khuzhin
15bcd6250a
Fix -Wshorten-64-to-32 for darwin builds
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
8414ea0691
Fix -Wshorten-64-to-32 in self extracting executable
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Antonio Andelic
9d7e44409a
Merge pull request #41342 from ClickHouse/keeper-upload-snapshot-to-s3
...
Upload Keeper snapshots to S3
2022-10-20 09:14:59 +02:00
Azat Khuzhin
043c4163f4
Use nfpm packager for archlinux packages
...
Since nfpm v2.20.0 it can build packages for archlinux [1].
[1]: https://github.com/goreleaser/nfpm/pull/543
Something like this:
$ mkdir -p /src/packages/root
$ cmake -DCMAKE_INSTALL_PREFIX=/usr /src
$ DESTDIR=/src/packages/root ninja install
$ cd /src/packages
$ ./build --archlinux
$ root@s3:/src/packages# ./build --archlinux
Current version is 22.10.1.1
Building archlinux package for clickhouse-client.yaml
using archlinux packager...
created package: /src/clickhouse-client-22.10.1.1-1-x86_64.pkg.tar.zst
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-18 18:33:48 +03:00
Antonio Andelic
540728ab96
Simplify logic a bit
2022-10-18 10:58:25 +00:00
Azat Khuzhin
0c62e09a6e
check-style: fix ErrorCodes check
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-17 10:32:33 +00:00
Azat Khuzhin
631b8e1abb
check-style: fix pattern of allowed chars for ErrorCodes checks
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-14 11:42:52 +00:00
vdimir
ad255206f4
Exclude comments from style-check defined extern
2022-10-14 11:42:18 +00:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
DanRoscigno
700deb152f
add toolchain to ignore
2022-10-06 14:47:12 -04:00
Dan Roscigno
ef62f32dd0
Update codespell-ignore-words.list
2022-10-06 14:42:42 -04:00
robot-clickhouse
fd65257153
Update version_date.tsv and changelogs after v22.6.9.11-stable
2022-10-06 08:36:14 +00:00
Anton Popov
a4dee04f7e
fix style check
2022-10-04 15:01:29 +02:00
robot-clickhouse
42760b577a
Update version_date.tsv and changelogs after v22.9.3.18-stable
2022-09-29 23:35:12 +00:00
robot-clickhouse
8d2052307e
Update version_date.tsv and changelogs after v22.9.2.7-stable
2022-09-23 11:53:04 +00:00
Kruglov Pavel
22e11aef2d
Merge pull request #40910 from Avogar/new-json-formats
...
Add new JSON formats, add improvements and refactoring
2022-09-21 14:19:08 +02:00
robot-clickhouse
fc4a0e0bda
Update version_date.tsv and changelogs after v22.6.8.35-stable
2022-09-19 09:34:29 +00:00
Dan Roscigno
002a43a967
Merge pull request #41287 from ClickHouse/DanRoscigno-patch-2
...
Update README.md
2022-09-14 16:50:02 -04:00
Alexey Milovidov
088530b3a2
Update README.md
2022-09-14 17:53:15 +03:00
Dan Roscigno
ad9e7be566
Update README.md
...
When running `changelog.py` I did not have tags and needed to supply a `--from` with a commit SHA. Having the tags allows the script to go back to the last release.
2022-09-13 17:23:41 -04:00
Mikhail f. Shiryaev
72a77ba8c1
Update VERSION in server Dockerfiles on new tag
2022-09-13 15:54:56 +02:00
robot-clickhouse
b9cb2ad7f7
Update version_date.tsv and changelogs after v22.8.5.29-lts
2022-09-13 12:31:55 +00:00
Kruglov Pavel
060adfbe93
Merge branch 'master' into new-json-formats
2022-09-12 19:37:46 +02:00
Alexey Milovidov
61278c81e4
Merge branch 'master' into remove-useless-line
2022-09-10 05:07:10 +02:00
avogar
ad68b7be0f
Better
2022-09-09 15:01:45 +00:00
Alexey Milovidov
928c1cd0d4
Merge pull request #40967 from ClickHouse/alexey-milovidov-patch-4
...
Update tips.md about filesystems
2022-09-08 16:56:27 +03:00
Yakov Olkhovskiy
6339b106be
Merge pull request #41006 from ClickHouse/util-self-extracting-mac
...
disable inode lock for macos and freebsd
2022-09-05 21:45:53 -04:00
Yakov Olkhovskiy
1338f7d65e
disable inode lock for macos and freebsd
2022-09-05 15:41:52 +00:00
Alexander Tokmakov
abffd4595e
Merge branch 'master' into zookeeper_client_fault_injection
2022-09-05 15:03:26 +03:00
Alexey Milovidov
74023efa66
Update aspell-dict.txt
2022-09-04 05:29:37 +03:00
Alexey Milovidov
1ae24b3e65
Update spelling dictionary
2022-09-04 04:07:10 +02:00
Alexey Milovidov
13a129bee7
Merge branch 'master' into remove-useless-line
2022-09-04 03:24:40 +02:00
alesapin
6815d79102
Merge pull request #40591 from ClickHouse/util-self-extracting-singl
...
Self-extracting: fix possible race condition
2022-09-02 12:26:01 +02:00
Antonio Andelic
e64436fef3
Fix typos with new codespell
2022-09-02 08:54:48 +00:00
alesapin
9d64e5f902
Merge branch 'master' into util-self-extracting-singl
2022-09-01 17:38:24 +02:00
robot-clickhouse
5309831a1a
Update version_date.tsv and changelogs after v22.8.4.7-lts
2022-08-31 14:32:54 +00:00
Alexander Tokmakov
6a50c20734
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-30 15:43:30 +03:00
Yakov Olkhovskiy
a9cab86a73
typo
2022-08-30 01:46:17 +00:00
Yakov Olkhovskiy
7a85a943f1
fix close lock on exec, refactoring, comments added
2022-08-30 01:11:04 +00:00
robot-clickhouse
92c14e80f1
Update version_date.tsv and changelogs after v22.3.12.19-lts
2022-08-29 14:52:19 +00:00
Alexander Tokmakov
8bdb589c2b
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-29 13:34:57 +02:00
Azat Khuzhin
35f5e56159
Update aspell-dict to fix doc check
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 00:27:19 +02:00
Alexey Milovidov
fc68e09554
Fix style
2022-08-28 22:15:09 +02:00
Alexey Milovidov
deac6cfb5d
Minor modifications
2022-08-28 20:49:39 +02:00
Yakov Olkhovskiy
ae82c68725
truncate lock
2022-08-25 10:52:56 +00:00
vdimir
f0c13b0531
Add CurrentMetrics::Value to check-style
2022-08-25 09:31:22 +00:00
Yakov Olkhovskiy
6c1a7205e3
fix style
2022-08-24 21:47:37 +00:00
Yakov Olkhovskiy
f043d03053
fix style
2022-08-24 21:28:52 +00:00
Yakov Olkhovskiy
6afd9c176b
inode based singleton
2022-08-24 21:05:00 +00:00
robot-clickhouse
274f3dbb95
Update version_date.tsv and changelogs after v22.7.4.16-stable
2022-08-23 19:13:49 +00:00
Yakov Olkhovskiy
d11d494587
Merge pull request #40426 from ClickHouse/util-compressor-exec
...
Self-extracting: add --exec param, allow compressed to be renamed
2022-08-23 11:20:28 -04:00
Yakov Olkhovskiy
088a969500
comments added
2022-08-22 12:14:29 +00:00
Yakov Olkhovskiy
47d5a64f13
fix style
2022-08-21 22:06:11 +00:00
Yakov Olkhovskiy
32717a844e
allow empty --exec to signify no executable to run, add some stats printout
2022-08-21 21:39:24 +00:00
Yakov Olkhovskiy
5be782a7e6
fix buffer overflow
2022-08-20 21:02:36 +00:00
Alexey Milovidov
74e1f4dc61
Fix clang-tidy
2022-08-20 17:09:20 +02:00
Yakov Olkhovskiy
d4facec3fa
typo
2022-08-20 14:03:03 +00:00
Yakov Olkhovskiy
151afb16e2
add EOL
2022-08-19 20:57:12 +00:00
Yakov Olkhovskiy
d81ec25027
add --exec param, allow compressed to be renamed
2022-08-19 20:43:10 +00:00
robot-clickhouse
a9b3df37dd
Update version_date.tsv and changelogs after v22.8.1.2097-lts
2022-08-18 17:45:23 +00:00
Alexander Tokmakov
ae000e9125
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-17 12:48:54 +03:00
Alexander Tokmakov
c9bb91c31f
Merge pull request #40232 from ClickHouse/fix_a_bug_with_symlinks_detection
...
Fix a bug with symlinks detection
2022-08-15 20:28:30 +03:00
Alexander Tokmakov
6f5a7c3bf7
fix a bug with symlinks detection
2022-08-15 12:30:47 +02:00
Alexey Milovidov
ce2155cf79
Remove old code
2022-08-14 05:40:48 +02:00
Alexander Gololobov
ef6ff51b9a
Merge pull request #40147 from azat/fix-keeper-bench
...
Fix keeper-bench in case of error during scheduling a thread
2022-08-12 21:10:36 +02:00
Kseniia Sumarokova
a6cfc7bc3b
Merge pull request #34651 from alexX512/master
...
New caching strategies
2022-08-12 17:23:37 +02:00
Azat Khuzhin
d3e8ad9e7e
Fix keeper-bench in case of error during scheduling a thread
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-12 10:56:11 +02:00
Mikhail f. Shiryaev
5934c6519f
Regenerate changelogs and update versions
2022-08-11 00:06:01 +02:00
Alexey Milovidov
ffde0d9530
Fix broken image in test-visualizer
2022-08-10 04:46:43 +02:00
robot-clickhouse
94fd85d586
Update version_date.tsv and changelogs after v22.6.5.22-stable
2022-08-09 18:32:28 +00:00
Kruglov Pavel
99b9e85a8f
Merge pull request #39646 from Avogar/more-formats
...
Add more Pretty formats
2022-08-09 13:59:47 +02:00
Yakov Olkhovskiy
2c3732ed3a
extract real path of executable instead of argv[0]
2022-08-08 17:56:16 -04:00
alexX512
8adf9f2448
fix compile error
2022-08-07 19:59:39 +00:00
alexX512
77def20394
Fix typos in some js code and ignore some typos
2022-08-07 19:59:39 +00:00
Yakov Olkhovskiy
9dfd650a7c
Merge pull request #39763 from ClickHouse/util-self-extracting-exec
...
Self-extracting - run resulting executable with execvp
2022-08-05 08:13:15 -04:00
Alexey Milovidov
f474eb957d
Merge pull request #39758 from ClickHouse/tsan_clang_15
...
Try clang-15 for build with tsan
2022-08-04 01:56:52 +03:00
Yakov Olkhovskiy
ba86959b72
Merge branch 'util-self-extracting-exec' of https://github.com/ClickHouse/ClickHouse into util-self-extracting-exec
2022-08-03 13:15:06 -04:00
Yakov Olkhovskiy
53530a5fa4
deadcode/clang-tidy fight solution
2022-08-03 13:11:11 -04:00
robot-clickhouse
58fc49df66
Update version_date.tsv after v22.3.10.22-lts
2022-08-03 14:53:22 +00:00
Mikhail f. Shiryaev
c05526beef
Merge remote-tracking branch 'origin/master' into auto/v22.7.2.15-stable
2022-08-03 12:04:34 +02:00
Mikhail f. Shiryaev
2ca9df9b22
Merge pull request #39421 from ClickHouse/github-helper
...
GitHub helper
2022-08-03 12:04:03 +02:00
robot-clickhouse
da655fbfcf
Update version_date.tsv and changelogs after v22.7.2.15-stable
2022-08-03 09:57:02 +00:00
Yakov Olkhovskiy
5a5d028154
remove global variables
2022-08-03 03:34:51 -04:00
Alexey Milovidov
80d2685ab7
Merge pull request #39814 from qianmoQ/fix-cte
...
Support cte statement for antlr4 syntax file #39810
2022-08-03 09:10:08 +03:00
Yakov Olkhovskiy
504180d7d6
stat is different for macos
2022-08-02 15:39:11 -04:00
Alexander Tokmakov
82b50e79cf
Merge branch 'master' into tsan_clang_15
2022-08-02 13:00:55 +03:00
qianmoQ
094b28b869
Support cte statement for antlr4 syntax file #39810
2022-08-02 17:17:08 +08:00
Alexander Tokmakov
ecf7ce1f74
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-01 20:49:01 +02:00
Yakov Olkhovskiy
e65cef79ad
some refactoring
2022-08-01 14:32:32 -04:00
Yakov Olkhovskiy
8820774fe3
do not rename original file - just remove
2022-08-01 13:39:26 -04:00
Alexander Tokmakov
0d68b1c67f
fix build with clang-15
2022-08-01 18:00:54 +02:00
Yakov Olkhovskiy
2a074288f0
style fix
2022-08-01 11:06:54 -04:00
Yakov Olkhovskiy
c79893f4ef
remove call to sh, use random names suffix for temporaries
2022-08-01 10:58:08 -04:00
Kruglov Pavel
7bbc6c7292
Update aspell-dict.txt
2022-08-01 13:00:44 +02:00
Yakov Olkhovskiy
3aeb525036
style fix
2022-08-01 01:45:02 -04:00
Yakov Olkhovskiy
7a2d969850
fix clang tidy unused return
2022-08-01 01:20:40 -04:00
Yakov Olkhovskiy
c534bdd42f
clang tidy treats call to system as security issue - replace with fork/exec
2022-08-01 01:13:50 -04:00
Yakov Olkhovskiy
3731a415e6
run resulting executable with execvp
2022-07-31 20:07:33 -04:00
Azat Khuzhin
498c8b3c52
Fix clang-tidy in utils/examples
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-29 11:36:51 +03:00
Azat Khuzhin
83dfbe3b9a
Fix building keeper-data-dumper
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-29 11:36:51 +03:00
Alexey Milovidov
69e8e56072
Merge pull request #39578 from ClickHouse/fix-self-executable-leak
...
free compression and decompression contexts
2022-07-26 07:47:32 +03:00
Mikhail f. Shiryaev
c150fe6f0d
Fix possible wrong FROM_REF by using merge-base commit
2022-07-25 21:56:20 +02:00
robot-clickhouse
f04ad30f0d
Update version_date.tsv and changelogs after v22.6.4.35-stable
2022-07-25 19:25:27 +00:00
Yakov Olkhovskiy
250f19378d
free compression and decompression contexts
2022-07-25 15:22:48 -04:00
Yakov Olkhovskiy
d0f5dcad25
Merge pull request #38936 from ClickHouse/cmake-self-extracting-executable
...
Build self-extracting-executable utils
2022-07-25 08:13:25 -04:00
Yakov Olkhovskiy
a85818f654
some refactoring
2022-07-24 21:13:00 -04:00
Mikhail f. Shiryaev
3e0db34ed9
Merge pull request #39390 from ClickHouse/paint-it-black
...
Automatic fixes for black formatting for domestic repo PRs
2022-07-22 17:19:00 +02:00
Robert Schulze
99579ab440
Merge pull request #39364 from ClickHouse/stringref-to-string_view
...
Even less usage of StringRef
2022-07-22 09:30:49 +02:00
Alexey Milovidov
63d37fd440
Merge pull request #39475 from ClickHouse/auto/v22.7.1.2484-stable
...
Update version_date.tsv and changelogs after v22.7.1.2484-stable
2022-07-22 06:40:40 +03:00
robot-clickhouse
e6ff5744e0
Update version_date.tsv and changelogs after v22.7.1.2484-stable
2022-07-21 17:47:00 +00:00
Yakov Olkhovskiy
5071295a6a
mount.h for OS_FREEBSD
2022-07-21 11:43:00 -04:00
Mikhail f. Shiryaev
f60dcc30fb
Push automatic fix for black format for PRs
2022-07-21 17:01:42 +02:00
Yakov Olkhovskiy
c8ea6783dc
clang tidy suggestions
2022-07-21 10:27:56 -04:00
Yakov Olkhovskiy
15496c63b9
__APPLE__->OS_DARWIN, __FreeBSD__->OS_FREEBSD
2022-07-21 10:14:53 -04:00
Mikhail f. Shiryaev
dd2a0ed755
Improve speed significantly by using cached users and reuse repos
2022-07-21 15:46:39 +02:00
Alexey Milovidov
ad77b84b82
Update changelog
2022-07-21 13:32:34 +02:00
Mikhail f. Shiryaev
aef212d552
Add ref commits to the chengelog headers
2022-07-21 09:00:31 +02:00
Yakov Olkhovskiy
bdd11f671d
different path of endian.h for FreeBSD
2022-07-21 02:08:07 -04:00
Yakov Olkhovskiy
e7438cc433
Merge branch 'master' into cmake-self-extracting-executable
2022-07-21 00:25:08 -04:00
Yakov Olkhovskiy
29ed2083d1
endian.h in different path on __APPLE__ and __FreeBSD__
2022-07-21 00:20:23 -04:00
Yakov Olkhovskiy
b766552481
add native build for cross-compilation
2022-07-20 23:09:05 -04:00
Mikhail f. Shiryaev
59501150d0
Use github_helper in changelog, use a robot token in CI
2022-07-20 17:28:46 +02:00
Robert Schulze
81ef1099cc
Even less usage of StringRef
...
--> see #39300
2022-07-19 07:01:06 +00:00
Jordi Villar
c63512d255
Use CH custom platform macro for OS Darwin
2022-07-18 09:59:02 +02:00
Jordi Villar
d86abba2c6
Fix macosx compilation due to endian.h
2022-07-17 14:58:27 +02:00
Yakov Olkhovskiy
e5f165d909
Merge branch 'master' into cmake-self-extracting-executable
2022-07-13 16:09:18 -04:00
Yakov Olkhovskiy
2079699f75
Merge pull request #39065 from ClickHouse/utils-self-extracting-decompressor
...
Parameter --decompressor added to utils/self-extracting-executable/compressor
2022-07-13 01:50:12 -04:00
Alexey Milovidov
e2684447b4
Merge pull request #38437 from ClickHouse/compatible-benchmark
...
Compatible and reproducible DBMS benchmark
2022-07-12 21:15:53 +03:00
Yakov Olkhovskiy
7c437c3f9b
some optimizations
2022-07-12 09:56:09 -04:00
Alexey Milovidov
87ebf51cdc
Fix style
2022-07-11 22:26:50 +02:00
Robert Schulze
c2e4fde0e2
Link only necessessary stuff for self-extracting-executable
2022-07-11 19:48:49 +02:00
Robert Schulze
1a7727a254
Prefix overridden add_executable() command with "clickhouse_"
...
A simple HelloWorld program with zero includes except iostream triggers
a build of ca. 2000 source files. The reason is that ClickHouse's
top-level CMakeLists.txt overrides "add_executable()" to link all
binaries against "clickhouse_new_delete". This links against
"clickhouse_common_io", which in turn has lots of 3rd party library
dependencies ... Without linking "clickhouse_new_delete", the number of
compiled files for "HelloWorld" goes down to ca. 70.
As an example, the self-extracting-executable needs none of its current
dependencies but other programs may also benefit.
In order to restore access to the original "add_executable()", the
overriding version is now prefixed. There is precedence for a
"clickhouse_" prefix (as opposed to "ch_"), for example
"clickhouse_split_debug_symbols". In general prefixing makes sense also
because overriding CMake commands relies on undocumented behavior and is
considered not-so-great practice (*).
(*) https://crascit.com/2018/09/14/do-not-redefine-cmake-commands/
2022-07-11 19:36:18 +02:00
Yakov Olkhovskiy
3432768dc3
Parameter --decompressor added, architecture-agnostic metadata, bugs fixed, some improvements
2022-07-09 16:05:12 -04:00
Azat Khuzhin
53d019a94b
check-style: improve ZooKeeper path check for Replicated.*MergeTree tables
...
- detech all Replicated.*MergeTree tables
- allow default_path_test/uuid in zookeeper path
- improve pattern for filtering tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-08 13:19:24 +03:00
robot-clickhouse
7cef35da70
Update version_date.tsv after v22.4.6.53-stable
2022-07-07 20:05:14 +00:00
Yakov Olkhovskiy
c6db15458a
build utils/self-extracting-executable/compressor whenever we want to build compressed binary
2022-07-06 20:40:41 -04:00
Robert Schulze
ee19c218f3
Teach ClickHouse's spellcheck "ClickHouse's"
2022-07-05 14:24:18 +02:00
alesapin
bd8a3ee841
Merge pull request #38338 from ClickHouse/zookeeper-add-extra-list-argument
...
Extend ZooKeeper list request with support for filtering persistent or ephemeral nodes only
2022-07-05 12:53:51 +02:00
Kruglov Pavel
4080f055b6
Merge pull request #38477 from Avogar/sql-insert-format
...
Add SQLInsert output format
2022-07-04 15:06:33 +02:00
Mikhail f. Shiryaev
7a58a8c19b
Merge pull request #38647 from ClickHouse/clickhouse-diagnostics
...
Clickhouse diagnostics
2022-07-04 12:14:33 +02:00
Mikhail f. Shiryaev
446ead1af4
Fix typos issues it clickhouse-diagnostics
2022-07-04 10:59:39 +02:00
Azat Khuzhin
e4b81e6de9
Add exp_internal for expect tests
...
This is to catch possible issues like 01565_reconnect_after_client_error in [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/38417/e33f236d502fe9f7906392f4ceffaee44e3c4ce4/stateless_tests__thread__actions__[3/3].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 17:08:06 +03:00
robot-clickhouse
656d0c0f04
Update version_date.tsv and changelogs after v22.6.2.12-stable
2022-06-29 11:24:30 +00:00
mergify[bot]
9482c99ab8
Merge branch 'master' into sql-insert-format
2022-06-29 11:03:07 +00:00
Antonio Andelic
7a8fbbf132
Merge branch 'master' into zookeeper-add-extra-list-argument
2022-06-29 08:31:03 +00:00
Robert Schulze
c22038d48b
More clang-tidy fixes
2022-06-28 11:50:05 +00:00
avogar
3b4ecc93bc
Fix test and style
2022-06-28 10:48:20 +00:00
Mikhail f. Shiryaev
1b945307ea
Merge pull request #38238 from ClickHouse/changelog-attrs
...
Changelog attrs
2022-06-27 14:30:19 +02:00
Antonio Andelic
c06776ce0d
Merge branch 'master' into zookeeper-add-extra-list-argument
2022-06-27 06:53:29 +00:00
San
cbcf515306
Update SECURITY.md.sh
...
Update Security.md generation code to include bugcrowd program information.
2022-06-27 12:06:16 +10:00
Robert Schulze
2c828338f4
Replace hyperscan by vectorscan
...
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.
(*) Addresses (but does not resolve) #38046
(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
preserved for compatibility. Likewise, error codes (e.g.
"ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
"HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
replacement.
[0] https://www.youtube.com/watch?v=KlZWmmflW6M
2022-06-24 10:47:52 +02:00
Antonio Andelic
3a71b63b5d
Add list request type
2022-06-23 10:28:12 +00:00
Mikhail f. Shiryaev
d2f3c5b836
Add sleeping after received second rate limit exceeded
2022-06-23 12:13:07 +02:00
Robert Schulze
fa6deaa0f7
Merge pull request #38294 from ClickHouse/fix_system_dot_licences_on_mac
...
Fix system.licenses on mac
2022-06-23 09:33:07 +02:00
Mikhail f. Shiryaev
779b83262f
Add not for changelog
category with titles as entries
2022-06-22 23:50:38 +02:00
Mikhail f. Shiryaev
3ab58fd14f
Add docusaurus header to generated changelogs
2022-06-22 23:47:53 +02:00
Robert Schulze
ec7ef2686b
P -> D (should fix test "01276_system_licenses")
2022-06-22 09:21:12 +00:00
Robert Schulze
287a7f6e98
Let CMake check the presence of GNU utils
...
In list-licenses.sh it's too late ... the build simply continues if
list-licenses.sh returns with a non-zero exit code.
2022-06-21 23:49:29 +02:00
Robert Schulze
76bd2533a3
Fix system.licenses on mac
...
- list-licenses.sh assumed GNU versions (e.g. the "-printf" flag of
find) but Mac ships with a non-GNU version
- this led to error
[8677/8942] Generating StorageSystemLicenses.generated.cpp
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
during build and as a result, an empty system.licenses table
- As a fix, force the GNU versions of find and grep on Mac
2022-06-21 23:22:27 +02:00
Sergei Trifonov
0a14f3168d
Merge pull request #38287 from ClickHouse/trace-viz-fix
...
fix trace-viz zoom anomalies
2022-06-21 20:59:35 +02:00
Sergei Trifonov
56a3fc5401
fix trace-viz zoom anomalies
2022-06-21 20:04:52 +02:00
robot-clickhouse
4996236430
Update version_date.tsv after v22.3.7.28-lts
2022-06-20 14:41:14 +00:00
Sergei Trifonov
c0a275984f
Merge pull request #38169 from ClickHouse/trace-visualizer
...
improve trace-visualizer UX
2022-06-20 12:05:38 +02:00
Alexey Milovidov
457f49a43e
Add a word into spelling dictionary
2022-06-19 05:58:45 +02:00
Sergei Trifonov
85dd3afa2b
more improvements
2022-06-17 18:02:03 +02:00
Sergei Trifonov
1d9bcb5993
improve trace-visualizer UX
2022-06-17 09:30:08 +02:00
Mikhail f. Shiryaev
7ac4b9b935
New changelog and versions updated
2022-06-16 17:37:41 +02:00
Alexey Milovidov
c737bc2bcf
Update README.md
2022-06-16 12:41:02 +03:00
Alexey Milovidov
d9e558720f
Fix typos
2022-06-16 11:38:54 +02:00
Alexey Milovidov
cf6f865f80
Revert "Revert "add d3js based trace visualizer as gantt chart""
2022-06-16 12:35:13 +03:00
Robert Schulze
8fef6e7fa3
Add missing ":" to error msg
2022-06-15 14:37:58 +02:00
Robert Schulze
50748a94bd
Fix a compile errors in self-extracting-executable (de)compressor
...
E.g.
utils/self-extracting-executable/compressor.cpp:257:31: format specifies type 'ptrdiff_t' (aka 'long') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
printf("Size: %td\n", info_in.st_size);
~~~ ^~~~~~~~~~~~~~~
%lld
Not sure though if it's a hard requirement to use only C.
Avoided usage of fmt::format() to keep link dependencies to a minimum.
Also not using C++20 std::format() as it's only available in Clang >=14.
2022-06-15 13:41:28 +02:00
Alexander Tokmakov
afc3f1858b
Revert "add d3js based trace visualizer as gantt chart"
2022-06-14 11:27:49 +03:00
Sergei Trifonov
94b33498ae
Merge pull request #37810 from ClickHouse/trace-d3-gantt
2022-06-14 07:41:48 +02:00
Yakov Olkhovskiy
539100fc4a
some refactoring, cleaning, types fixed in fprintf
2022-06-13 20:25:19 -04:00
Yakov Olkhovskiy
ce395dc68d
resolving conflicts
2022-06-13 11:41:32 -04:00
xiedeyantu
9f4489ac03
Fix MacOS build faild ( #38007 )
2022-06-13 12:14:21 +02:00
Yakov Olkhovskiy
0bae6c037a
bugs fixed, process EINTR, rename to self-extracting-executable
2022-06-12 23:27:56 -04:00
KinderRiven
18f8f6c61e
fix
2022-06-12 17:31:33 +08:00
KinderRiven
b456f657b3
fix
2022-06-12 13:24:08 +08:00
KinderRiven
160e5aa91a
fix
2022-06-12 13:23:27 +08:00
KinderRiven
6fa12d02dd
fix
2022-06-12 13:17:14 +08:00
KinderRiven
8efd0c8026
restart
2022-06-11 18:07:28 +08:00
KinderRiven
e505df5198
fix bug
2022-06-11 13:18:28 +08:00
Sergei Trifonov
52dc54f0da
change trace json format parsing
2022-06-10 21:06:17 +02:00
Sergei Trifonov
139f6035c4
add attribution
2022-06-10 18:57:25 +02:00
Robert Schulze
5f5732a2c4
Merge pull request #37969 from ClickHouse/consistent-macro-usage
...
More consistent use of platform macros
2022-06-10 14:10:01 +02:00
Yakov Olkhovskiy
5a59957f8b
Merge pull request #35775 from FArthur-cmd/add_self_exctr_exec
...
Add self extracting executable
2022-06-10 07:59:21 -04:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
...
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.
__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
Yakov Olkhovskiy
4787ead19d
typo
2022-06-09 18:34:39 -04:00
Sergei Trifonov
90472569cf
add README.md
2022-06-09 15:37:28 +02:00
mergify[bot]
15bcf66763
Merge branch 'master' into add_self_exctr_exec
2022-06-08 20:43:17 +00:00
vdimir
dc772335ee
Doc typos, dict
2022-06-08 14:31:01 +02:00
vdimir
226fcbdac7
Better check-doc-aspell
2022-06-08 14:28:45 +02:00
vdimir
27ebad89c5
Add doc_spell_output.txt to process_style_check_result.py
2022-06-08 14:28:44 +02:00
vdimir
e820291a02
Fix utils/check-style/check-typos
2022-06-08 14:28:44 +02:00
vdimir
94bddec0bc
More typos checked and fixed
2022-06-08 14:28:41 +02:00
vdimir
251403407f
Update spell check
2022-06-08 14:26:02 +02:00
vdimir
13f03ddb65
Update docspell check
2022-06-08 14:26:02 +02:00
vdimir
abce81058e
Add doc aspell
2022-06-08 14:25:56 +02:00
Anton Popov
df6882d2b9
Revert "Fix errors of CheckTriviallyCopyableMove type"
2022-06-07 13:53:10 +02:00
Yakov Olkhovskiy
3d8f00a55f
Update utils/self-extr-exec/decompressor.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-06-07 07:04:57 -04:00
Yakov Olkhovskiy
16a28bf87a
Update utils/self-extr-exec/decompressor.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-06-07 07:04:39 -04:00
Sergei Trifonov
b920a460aa
remove limits on input data size
2022-06-03 20:50:13 +02:00
Sergei Trifonov
a7ec8d6389
add d3js based trace visualizer as gantt chart
2022-06-03 01:41:37 +02:00