Commit Graph

1379 Commits

Author SHA1 Message Date
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
Alexey Milovidov
eef6a5ec96
Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
HeenaBansal2009
10990402ac Removed move ctor from EventBase hierarchy 2022-06-01 06:01:22 -07:00
Yakov Olkhovskiy
12e77705ee c++ stuff removed, printout fixed, usage printout improved, some minor optimizations 2022-05-30 14:48:48 -04:00
Yakov Olkhovskiy
8730e5410e respect path for decompression, preserve env for exec, some minor bug fixes 2022-05-29 20:39:42 -04:00
Yakov Olkhovskiy
6a134adc40 preserve files permissions, add types header 2022-05-29 14:37:02 -04:00
Yakov Olkhovskiy
e6a6259d2e include decompressor into compressor on post-build step, use included decompressor for compressed file 2022-05-28 21:28:56 -04:00
Yakov Olkhovskiy
cb8f8710ca compressor output prepended with decompressor, some minor fixes 2022-05-28 16:34:26 -04:00
Alexey Milovidov
19b8e1324a Forbid recursive submodules 2022-05-28 04:05:10 +02:00
Antonio Andelic
2ca5b7812d Ignore reusable workflow error 2022-05-27 14:15:34 +00:00
Alexey Milovidov
e1a76e51fb
Merge pull request #37575 from ClickHouse/security-generator
Add security generator
2022-05-27 02:22:33 +03:00
Alexey Milovidov
aeacfa0d7e Readability 2022-05-26 22:23:37 +02:00
Alexey Milovidov
434d8729de Readability 2022-05-26 22:22:14 +02:00
Alexey Milovidov
359e36f421 Readability 2022-05-26 22:21:49 +02:00
Alexey Milovidov
3074be8d17 Add security generator 2022-05-26 22:19:15 +02:00
Sergei Trifonov
417296481e
fix root CMakeLists.txt search 2022-05-26 04:39:02 +02:00
Mikhail f. Shiryaev
0e494c9ee7
Add caching for GitHub PR objects 2022-05-25 00:05:53 +02:00
Mikhail f. Shiryaev
4b28ea92ca
Use commit date for cherry-picked commits (later) 2022-05-25 00:05:52 +02:00
Mikhail f. Shiryaev
fbe16a1d33
Don't compare tags to testing by default 2022-05-25 00:05:50 +02:00
Alexey Milovidov
b3ee8114d9 Minor change 2022-05-22 22:33:41 +02:00
Alexey Milovidov
c34f492293 Merge remote-tracking branch 'origin/master' into changelog-22.5 2022-05-19 16:37:39 +02:00
Alexey Milovidov
775b3b6a05
Update format-changelog.py 2022-05-19 15:51:01 +03:00
Mikhail f. Shiryaev
c3fd892e26
Update version_date.tsv and changelogs after v22.5.1.2079-stable 2022-05-19 10:48:46 +02:00
Alexey Milovidov
08d01e0b41 Revert unrelated changes 2022-05-19 05:22:28 +02:00
Alexey Milovidov
bb431e0a98 Revert README.md 2022-05-19 05:21:51 +02:00
Alexey Milovidov
16513f2a10 Add changelog for 22.5 2022-05-19 05:19:44 +02:00
Mikhail f. Shiryaev
ae0d64d8e1
Merge pull request #37249 from ClickHouse/changelog-script
Improve changelog script
2022-05-18 19:30:31 +02:00
Mikhail f. Shiryaev
e6e0f0589d
Update run-check.py to match PR template, add comments 2022-05-17 21:43:22 +02:00
Mikhail f. Shiryaev
082b30c4a2
Simplify and improve commit validadion for tags 2022-05-16 14:45:27 +02:00
Mikhail f. Shiryaev
d78709c656
Add dependencies and CI for changelogs generator 2022-05-10 11:25:38 +02:00
Mikhail f. Shiryaev
6cdab10d29
Rewrite changelog generator to pure python 2022-05-10 11:25:36 +02:00
robot-clickhouse
6aa870ebb6 Update version_date.tsv after v22.4.5.9-stable 2022-05-06 18:59:00 +00:00
Alexey Milovidov
1ddb04b992
Merge pull request #36715 from amosbird/refactorbase
Reorganize source files so that base won't depend on Common
2022-04-30 09:40:58 +03:00
robot-clickhouse
e57f8e0c68 Update version_date.tsv after v22.3.5.5-lts 2022-04-29 15:17:41 +00:00
Amos Bird
20f63a6fa4
Fix style check 2022-04-29 15:32:53 +08:00
Amos Bird
4a5e4274f0
base should not depend on Common 2022-04-29 10:26:35 +08:00
alesapin
33c021702a Black 2022-04-28 18:16:10 +02:00
alesapin
3107b2bcd6 Add small script for stupid keeper check 2022-04-28 18:13:54 +02:00
snyk-bot
326be13c05
fix: utils/clickhouse-diagnostics/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321969
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
2022-04-28 02:30:08 +00:00
Alexey Milovidov
20281c25b3
Merge pull request #36653 from ramazanpolat/patch-2
add missing pandas package
2022-04-27 05:26:53 +03:00
robot-clickhouse
a96276aa09 Update version_date.tsv after v22.3.4.20-lts 2022-04-26 10:47:39 +00:00
Ramazan Polat
07fcb57729
add missing pandas package 2022-04-26 10:29:21 +03:00
robot-clickhouse
b761d5bf3a Update version_date.tsv after v22.4.3.3-stable 2022-04-26 06:51:23 +00:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes 2022-04-24 22:24:24 +00:00
robot-clickhouse
f0fecb5071 Update version_date.tsv after v22.4.2.1-stable 2022-04-22 09:35:11 +00:00
Memo
956d525840 fix conflict 2022-04-22 11:22:50 +08:00
Memo
39aadf0975 replaced toStartOfFiveMinute to toStartOfFiveMinutes 2022-04-22 10:49:59 +08:00
FArthur-cmd
1f8fd1678b improve compressor 2022-04-21 15:52:32 +00:00
Filatenkov Artur
0f07daf266
fix typo 2022-04-19 21:51:44 +03:00
Filatenkov Artur
3c9881bee2
Delete make_compression.sh 2022-04-19 20:06:08 +03:00
Filatenkov Artur
bff407c139
Fix style 2022-04-19 20:04:04 +03:00
Filatenkov Artur
0398508acc
Fix style 2022-04-19 20:03:27 +03:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
Alexey Milovidov
7de4f2b6c1 Merge branch 'master' into remove-arcadia 2022-04-17 16:30:09 +02:00
Mikhail f. Shiryaev
b6a39e78d0
Clean out old packaging 2022-04-16 10:34:40 +02:00
Alexey Milovidov
40357637ec Remove Arcadia 2022-04-16 00:33:32 +02:00
Alexey Milovidov
e128d89957 Remove Arcadia 2022-04-16 00:24:58 +02:00
FArthur-cmd
0baa4f97ec add parallel decompression, forward arguments and fix compression level 2022-04-14 11:43:40 +00:00
Kruglov Pavel
d7b88d7683
Merge pull request #35582 from Avogar/improve-schema-inference
Improve schema inference and add some fixes
2022-04-08 13:44:52 +02:00
Alexey Milovidov
d7482c87e4
Merge pull request #36002 from ClickHouse/auto/v22.3.3.44-lts
Update version_date.tsv after v22.3.3.44-lts
2022-04-07 15:19:54 +02:00
FArthur-cmd
c01da8b753 remove whitespace 2022-04-07 12:31:41 +00:00
FArthur-cmd
3ef9036f52 improve compressor 2022-04-07 12:21:14 +00:00
avogar
d2017a63b1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into improve-schema-inference 2022-04-07 11:36:40 +00:00
robot-clickhouse
1cbacbc3e6 Update version_date.tsv after v22.3.3.44-lts 2022-04-06 14:28:30 +00:00
Kruglov Pavel
9141066de3
Merge branch 'master' into improve-schema-inference 2022-04-06 13:51:07 +02:00
Antonio Andelic
bf1f34ddb3 Fix unit tests 2022-04-06 07:43:48 +00:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
Alexey Milovidov
6780cd2d82 Update URL in test visualizer 2022-04-03 04:53:59 +02:00
mergify[bot]
24ade25d61
Merge branch 'master' into improve-schema-inference 2022-03-31 13:42:47 +00:00
FArthur-cmd
6c1d04710f finish self exctracting executable 2022-03-30 22:01:50 +00:00
Nikolai Kochetov
d3697625a9 Fix stylecheck 2022-03-30 10:55:49 +00:00
FArthur-cmd
7f0c6fb103 improve self-extr-executable 2022-03-29 19:30:09 +00:00
Kruglov Pavel
666ef3586c
Fix typos check 2022-03-29 16:42:01 +02:00
alesapin
d0f01516db Resurrect automatic labelling 2022-03-29 15:48:57 +02:00
Mikhail f. Shiryaev
31fa28a4c2
Improve black check: show diff in the output 2022-03-28 13:52:35 +02:00
FArthur-cmd
5a40d868ea add compressor 2022-03-24 22:45:54 +03:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
Mikhail f. Shiryaev
5fea6d24fa
Add black formatting check 2022-03-22 17:38:48 +01:00
Mikhail f. Shiryaev
4309236e17
Adjust check-workflows to exit-on-errors 2022-03-22 17:38:46 +01:00
Alexey Milovidov
b2ab4e87e0
Merge pull request #35377 from ClickHouse/auto/v22.3.2.2-lts
Update version_date.tsv after v22.3.2.2-lts
2022-03-20 21:39:33 +03:00
taiyang-li
32348779fd add some arguments for clickhouse-diagnostics 2022-03-19 10:25:53 +08:00
robot-clickhouse
26dc38912e Update version_date.tsv after v22.3.2.2-lts 2022-03-17 16:56:17 +00:00
Vitaly Baranov
3a45166ff1 Remove utils/github-hook/hook.py 2022-03-14 19:31:42 +01:00
Maksim Kita
ad6b3693e1
Merge pull request #35123 from zhanghuajieHIT/fix_build_fail_with_gcc
fix build fail with gcc
2022-03-14 10:36:15 +01:00
zhanghuajie
53a8987b3b fix build fail with gcc --fix warnings without disabling some parameters 2022-03-11 21:59:19 +08:00
Kseniia Sumarokova
aa902d0149
Fix include 2022-03-11 09:30:48 +01:00
zhanghuajie
11dde7c127 fix build fail with gcc 2022-03-08 22:34:51 +08:00
Kseniia Sumarokova
cdb9a05229
Merge pull request #34605 from bigo-sg/add_metric_for_local
Add cpu/mem metric for clickhouse-local
2022-03-07 11:40:11 +01:00
taiyang-li
1b9987ceb1 fix mistake in check-style 2022-03-05 14:22:56 +08:00
tavplubix
b7d4c78f13
Merge pull request #34487 from zzsmdfj/issue/32977_MaterializedMySQL_add_table_list_settings
MaterializedMySQL add materialized_mysql_tables_list settings
2022-03-03 12:44:51 +01:00
Maksim Kita
1f5837359e clang-tidy check performance-noexcept-move-constructor fix 2022-03-02 18:15:27 +00:00
zzsmdfj
4d9bdfa58c to 32977_MaterializedMySQL_add_table_list_settings 2022-03-01 10:21:58 +08:00
robot-clickhouse
c231fdf930 Update version_date.tsv after v22.1.4.30-stable 2022-02-25 17:27:56 +00:00
vdimir
a50d44bd69 Update version_date.tsv after v22.2.3.5-stable 2022-02-25 10:26:24 +00:00
Mikhail f. Shiryaev
bce6947fb3
Merge pull request #34685 from ClickHouse/auto/v22.2.2.1-stable
Update version_date.tsv after v22.2.2.1-stable
2022-02-17 17:49:41 +01:00
robot-clickhouse
817ef71b3d
Update version_date.tsv after v22.2.2.1-stable 2022-02-17 17:49:05 +01:00
alesapin
8a0153b6d3
Merge pull request #34606 from qoega/no-clickhouse-test-deb
Remove clickhouse-test deb completely
2022-02-17 18:13:44 +03:00
alesapin
21bc494bd6
Merge pull request #34686 from ianton-ru/MDB-16622
Fix ZooKepper paths in zero_copy_schema_converter.py
2022-02-17 18:10:16 +03:00
Anton Ivashkin
243726aa29 Fix ZooKepper paths in zero_copy_schema_converter.py 2022-02-17 17:05:49 +03:00
Yatsishin Ilya
bbe2c07a7b remove clickhouse-test deb completely 2022-02-15 12:03:51 +00:00
Habibullah Oladepo
57ff05b6e6 Add new function toLastDayOfMonth 2022-02-08 23:48:44 +01:00
Mikhail f. Shiryaev
a7325bbe32
Fix check-workflows in style check, iterate over checks 2022-02-03 18:36:01 +01:00
Mikhail f. Shiryaev
744cb06a91
Replace custom formats by short alias 2022-02-02 16:04:19 +01:00
Mikhail f. Shiryaev
720407c88b
Update list-versions.sh, update version_date.tsv
list-versions.sh used to use a commit date instead of a tagging date
with `--format="%ai"`, now it uses the tag date itself.
2022-02-02 14:20:36 +01:00
Alexey Milovidov
872d0a0fbe Improve performance of format Regexp 2022-02-01 02:07:48 +03:00
Ramazan Polat
66cb64393b
Make clickhouse-diagnostics also work for altinity release
Because altinity release has `altinitystable` at the end of version number, `parse_version` function throws parse error.
2022-01-28 18:57:56 +03:00
Sergei Trifonov
6d55a685cd
Merge pull request #34112 from ClickHouse/add-cppexpr-examples
add c++expr script examples
2022-01-28 17:27:35 +03:00
Sergei Trifonov
5295adb83d add c++expr script examples 2022-01-28 16:43:25 +03:00
Ramazan Polat
bfc47e1dee
Add commands download clickhouse-diagnostics folder 2022-01-28 00:13:48 +03:00
alexey-milovidov
0d6032f0fe
Merge pull request #33962 from ClickHouse/cpp-expr-script
add c++expr script for C++ one-liners
2022-01-25 22:50:18 +03:00
Azat Khuzhin
7111f411df check-style: ignore comments for currentDatabase() check
Inaccurate, but should OK for check-style scripts.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 13:16:45 +03:00
Sergei Trifonov
990fd2b0aa add c++expr script for C++ one-liners 2022-01-24 22:16:47 +03:00
Azat Khuzhin
4a0facd341 Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES)
There is no more MAKE_*, so remove this alias.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-24 17:28:33 +03:00
alesapin
8d2750a92a Fix keeper data dumper build 2022-01-24 13:23:58 +03:00
alesapin
e0a7f5939f Merge branch 'master' into better_hashmap 2022-01-22 22:40:07 +03:00
alesapin
5ec76cd827 Merge branch 'master' into better_hashmap 2022-01-21 12:47:41 +03:00
Azat Khuzhin
5c8d02724c check-style: add a note about find_path/find_library check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00