Commit Graph

1692 Commits

Author SHA1 Message Date
Boris Kuschel
d26466bab9 aspell corrections 2023-03-10 13:01:26 -05:00
robot-clickhouse
363989f3f8 Update version_date.tsv and changelogs after v23.2.4.12-stable 2023-03-10 17:56:29 +00:00
Yakov Olkhovskiy
65d671b7c7
Merge pull request #47116 from ClickHouse/self-extracting-sudo
Preserve uid gid if running with sudo
2023-03-09 01:10:28 -05:00
kssenii
0240ad4c68 Add spark to tests, rewrite tests, fix bug 2023-03-08 15:45:35 +01:00
Yakov Olkhovskiy
07a3988749
geteuid is enough 2023-03-08 08:26:07 -05:00
Mike Kot
9920a52c51 use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
Yakov Olkhovskiy
4a227d6489
Merge branch 'master' into self-extracting-sudo 2023-03-07 08:49:34 -05:00
Yakov Olkhovskiy
aacd05e34b
bugfix + review suggestion 2023-03-06 21:24:04 -05:00
robot-clickhouse
e50fd6e1ef Update version_date.tsv and changelogs after v23.2.3.17-stable 2023-03-06 16:35:17 +00:00
Yakov Olkhovskiy
a8ceab1366
NOLINT for getenv 2023-03-03 09:24:58 -05:00
Yakov Olkhovskiy
df41a83ddb set uid gid to file's original 2023-03-02 14:49:49 +00:00
Yakov Olkhovskiy
566a0e166f preserve uid gid if running with sudo 2023-03-02 00:42:02 +00:00
Alexander Tokmakov
a97e15e36f Merge branch 'master' into fix_insert_cancellation_in_native_protocol 2023-03-01 14:26:41 +01:00
Mike Kot
02950ecf29 aspell fix 2023-03-01 15:34:10 +03:00
robot-clickhouse
463dbdc838 Update version_date.tsv and changelogs after v22.3.19.6-lts 2023-02-27 13:29:21 +00:00
Alexander Tokmakov
cad1e0b768 fix 2023-02-25 01:18:34 +01:00
Alexander Tokmakov
99cf9abe54
Merge branch 'master' into tests/expect-timeout-fixes 2023-02-24 23:07:45 +03:00
rfraposa
7b1b4f1fd6 Update aspell-dict.txt 2023-02-24 11:54:12 -07:00
robot-clickhouse
dd3591cb9c Update version_date.tsv and changelogs after v22.11.6.44-stable 2023-02-23 22:07:08 +00:00
Alexander Tokmakov
fe92fd8a61 Merge branch 'master' into fix_insert_cancellation_in_native_protocol 2023-02-23 22:35:31 +01:00
Alexander Tokmakov
d21a6a3ba4 fix 2023-02-23 20:52:39 +01:00
robot-clickhouse
f2e71bc3b7 Update version_date.tsv and changelogs after v23.2.1.2537-stable 2023-02-23 19:46:46 +00:00
Azat Khuzhin
3d3f511cb4 Add style check for expect_after in tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 15:27:11 +01:00
Alexey Milovidov
f7df0fa0bf
Merge pull request #46582 from azat/tests/expect
Fix flakiness of expect tests for clickhouse-client by avoiding history overlap
2023-02-21 02:49:14 +03:00
Dan Roscigno
32de437533
Update changelog README 2023-02-20 09:49:14 -05:00
Azat Khuzhin
2018559fa5 Add style check for using --history_file in expect tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 09:51:08 +01:00
Mikhail f. Shiryaev
1565f2c233
Do not destroy symlinks with sed 2023-02-17 18:39:09 +01:00
Mikhail f. Shiryaev
0b6f632584
Add clickhouse/clickhouse-keeper Dockerfile autoupdate 2023-02-17 18:34:26 +01:00
alesapin
d08b2753e4
Merge pull request #46367 from ClickHouse/reduce-keeper-build-time
Do not build libclickhouse-keeper-lib.a for standalone keeper
2023-02-16 13:56:27 +01:00
robot-clickhouse
f6c894eb6e Update version_date.tsv and changelogs after v22.3.18.37-lts 2023-02-15 13:03:30 +00:00
Mikhail f. Shiryaev
08ffb8f93d
Install only "programs" directory during build 2023-02-15 11:49:19 +01:00
kssenii
3067c1d723 Merge remote-tracking branch 'upstream/master' into resubmit-prefetches 2023-02-11 11:36:23 +01:00
Robert Schulze
81e943c7f8
More spelling fixes 2023-02-10 11:20:48 +00:00
Robert Schulze
06e1293909
Fix duplicate includes in poco 2023-02-10 10:50:18 +00:00
Robert Schulze
8144c28c3b
Fix spelling 2023-02-10 10:49:55 +00:00
Robert Schulze
d44c6dd1b3
Merge pull request #46133 from ClickHouse/rs/fix-warnings-in-poco
Stricter warnings + fix whitespaces in poco
2023-02-10 11:46:33 +01:00
Alexander Tokmakov
8101b044fa
Merge pull request #46091 from azat/sanity-assertions
Sanity assertions for closing file descriptors
2023-02-09 01:02:03 +03:00
kssenii
b0b865c32e Resubmit prefetches 2023-02-08 21:26:24 +01:00
serxa
8f87dd9957 add Yasm exception for spell checker 2023-02-08 18:23:15 +00:00
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