Commit Graph

859 Commits

Author SHA1 Message Date
Maksim Kita
dbb2fbcdd5 Unified usages of getPageSize
1. Introduced getPageSize function.
2. Replaced usages of getpagesize with getPageSize function.
3. Replaced usages of sysconf(_SG_PAGESIZE) with getPageSize function.
2020-12-16 13:42:23 +03:00
Alexander Kuzmenkov
fe6f477881 Build utils in CI, at least in split build
Currently we don't build them at all, so they were broken by https://github.com/ClickHouse/ClickHouse/pull/17988
2020-12-14 20:39:52 +03:00
Alexey Milovidov
86cef85186 Remove old changelog generator to avoid confusion 2020-12-14 13:46:39 +03:00
Azat Khuzhin
2a814afd85 build: re-enable jobs limits 2020-12-11 01:32:38 +03:00
robot-clickhouse
c34c0bf507 Update version_date.tsv after release 20.8.9.6 2020-12-10 12:45:44 +03:00
alesapin
dd9f4bfc8a
Merge pull request #16877 from ClickHouse/complete_zk_api
Fake in-memory ZooKeeper server inside ClickHouse
2020-12-10 10:47:54 +03:00
robot-clickhouse
89a3a86b71 Update version_date.tsv after release 20.12.3.3 2020-12-09 19:14:28 +03:00
alesapin
850f903d40 Merge branch 'master' into complete_zk_api 2020-12-09 18:18:38 +03:00
robot-clickhouse
351c64d3f4 Update version_date.tsv after release 20.6.11.1 2020-12-09 12:12:48 +03:00
robot-clickhouse
f901482085 Update version_date.tsv after release 20.12.2.1 2020-12-09 04:20:10 +03:00
alesapin
0c43246216 Merge branch 'master' into complete_zk_api 2020-12-07 10:24:55 +03:00
robot-clickhouse
e62ef0ab56 Update version_date.tsv after release 20.8.8.2 2020-12-07 00:41:25 +03:00
robot-clickhouse
f2b63f0702 Update version_date.tsv after release 20.9.7.11 2020-12-07 00:11:19 +03:00
robot-clickhouse
dc5ca434ef Update version_date.tsv after release 20.10.6.27 2020-12-06 23:46:51 +03:00
robot-clickhouse
459570470e Update version_date.tsv after release 20.11.5.18 2020-12-06 23:31:17 +03:00
alesapin
278bbf6d51 Merge branch 'master' into complete_zk_api 2020-12-04 16:48:19 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser (#11298) 2020-12-04 05:15:44 +03:00
alesapin
6d2a007b79 Merge branch 'master' into complete_zk_api 2020-11-30 10:58:25 +03:00
Nikita Mikhaylov
0b6f5c75b9
Merge pull request #17435 from vitlibar/grpc-protocol-2
Implement GRPC protocol (corrections)
2020-11-27 15:19:50 +03:00
alesapin
d199a2bf76 Merge branch 'master' into complete_zk_api 2020-11-27 14:55:55 +03:00
Vitaly Baranov
49cf980761 Use port 9100 for grpc by default. 2020-11-26 10:14:27 +03:00
Vitaly Baranov
dbd136672f Fix error handling in grpc-client.py 2020-11-26 10:07:04 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie 2020-11-25 23:07:19 +03:00
alesapin
4d40d9be3f Merge branch 'master' into complete_zk_api 2020-11-25 10:31:16 +03:00
Vitaly Baranov
1bd19bb124 Implemented clickhouse grpc client. 2020-11-24 17:55:02 +03:00
Nikita Mikhaylov
6787f98476
Merge pull request #14958 from nikitamikhaylov/refactor_cache_dictionary
Refactor cache dictionary
2020-11-24 14:55:02 +03:00
alesapin
b8fb44a7b9 Merge with master 2020-11-23 11:05:50 +03:00
vdimir
e2fac19686
Remove libbtrie 2020-11-21 21:31:15 +03:00
robot-clickhouse
5c5d2ac281 Update version_date.tsv after release 20.8.7.15 2020-11-20 19:23:48 +03:00
robot-clickhouse
6d1b84b06b Update version_date.tsv after release 20.9.6.14 2020-11-20 18:52:09 +03:00
robot-clickhouse
2106163717 Update version_date.tsv after release 20.10.5.10 2020-11-20 18:35:00 +03:00
robot-clickhouse
3dcc2eeb01 Update version_date.tsv after release 20.11.4.13 2020-11-20 18:20:26 +03:00
tavplubix
3e335c1e95
Merge pull request #17091 from zhang2014/fix/binlog_checksum
Fix MaterializeMySQL SYNC failure when modify binlog_checksum
2020-11-20 13:25:14 +03:00
alesapin
1aba61be7f Merge branch 'master' into complete_zk_api 2020-11-19 13:32:15 +03:00
robot-clickhouse
e88c2c701b Update version_date.tsv after release 20.6.10.2 2020-11-19 11:26:58 +03:00
alesapin
2cd66f23a3 Merge branch 'master' into complete_zk_api 2020-11-18 17:50:50 +03:00
nikitamikhaylov
4345f2987d better 2020-11-17 16:59:13 +03:00
Alexey Milovidov
3df04ce0c2 Follow Arcadia ya.make rules 2020-11-16 21:24:58 +03:00
zhang2014
6ef93ac73c Try fix MaterializeMySQL SYNC with modify binlog_checksum 2020-11-16 21:46:36 +08:00
alexey-milovidov
c77983b292
Merge pull request #16974 from ClickHouse/aku/nov-changelogs
Some changelogs
2020-11-14 17:15:31 +03:00
robot-clickhouse
a6f6e5c408 Update version_date.tsv after release 20.8.6.6 2020-11-13 20:40:02 +03:00
damozhaeva
fedefc43ff
DOCSUP-3417 translate to english (#16797)
* English translation

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update utils/db-generator/README.md

* Update utils/db-generator/README.md

Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-13 13:12:06 +03:00
robot-clickhouse
f6fc9137a0 Update version_date.tsv after release 20.9.5.5 2020-11-13 09:29:18 +03:00
Alexander Kuzmenkov
2175fea0ac Some changelogs 2020-11-13 09:28:36 +03:00
robot-clickhouse
26572e9c6f Update version_date.tsv after release 20.10.4.1 2020-11-13 09:03:13 +03:00
robot-clickhouse
5169ae577e Update version_date.tsv after release 20.11.3.3 2020-11-13 08:17:43 +03:00
alesapin
4aad6a597c Merge branch 'correctly_send_close_request' into complete_zk_api 2020-11-12 17:46:02 +03:00
alexey-milovidov
2a1911d08f
Merge pull request #16859 from su-houzhen/fix_build_error
Fix build err
2020-11-12 13:45:38 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
robot-clickhouse
d7e2276a9e Update version_date.tsv after release 20.11.2.1 2020-11-11 20:39:16 +03:00
alesapin
ade14da634 Remove some redundant files 2020-11-11 18:45:10 +03:00
alesapin
6398271432 Merge branch 'master' into complete_zk_api 2020-11-11 16:57:24 +03:00
alesapin
d83c68fca8 Fix timeouts 2020-11-11 16:55:28 +03:00
su-houzhen
e31753b4db Fix build err 2020-11-11 17:12:22 +08:00
alesapin
bb3b420057 Ugly working code 2020-11-11 11:51:54 +03:00
Alexander Tokmakov
b94cc5c4e5 remove more stringstreams 2020-11-10 21:22:26 +03:00
Danila Kutenin
a489f65c02
Merge branch 'master' into master 2020-11-10 20:16:29 +03:00
alesapin
932ea0ef8b Merge branch 'master' into complete_zk_api 2020-11-10 13:56:11 +03:00
robot-clickhouse
26bc0a0744 Update version_date.tsv after release 20.6.9.1 2020-11-10 06:21:51 +03:00
Danila Kutenin
811c3e5cd1 Fix submodules 2020-11-10 01:32:50 +03:00
Danila Kutenin
5d138f3475 Fix submodules for fast test 2020-11-10 01:31:24 +03:00
Alexander Tokmakov
5cdfcfb307 remove other stringstreams 2020-11-09 22:12:44 +03:00
alesapin
09fac0da9d Better 2020-11-09 21:16:02 +03:00
alesapin
ba449d7c92 Add small test 2020-11-09 20:51:22 +03:00
Alexander Tokmakov
62ff00ee8b use WriteBuffer in formatAST(...) 2020-11-09 19:05:40 +03:00
Alexander Tokmakov
a06be511df pcg serialization 2020-11-09 16:07:38 +03:00
Alexey Milovidov
90a4e0a56b Fix "format-changelog.py" for Python3 2020-11-05 19:14:17 +03:00
Alexey Milovidov
b56486510f Improve Arcadia 2020-11-05 12:55:01 +03:00
alexey-milovidov
038da31204
Merge pull request #16557 from abyss7/fix-make_changelog
Fix make_changelog.py
2020-11-04 01:37:57 +03:00
robot-clickhouse
70982fdc54 Update version_date.tsv after release 20.3.21.2 2020-11-02 20:45:51 +03:00
Ivan
9828ed9550
Update utils/make_changelog.py
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2020-10-30 21:16:50 +03:00
Ivan Lezhankin
5481fcdf42 Fix script 2020-10-30 20:56:14 +03:00
robot-clickhouse
745cb4ab2f Update version_date.tsv after release 20.8.5.45 2020-10-29 09:57:42 +03:00
robot-clickhouse
e094b001d3 Update version_date.tsv after release 20.9.4.76 2020-10-29 02:01:30 +03:00
robot-clickhouse
5531bbdc98 Update version_date.tsv after release 20.10.3.30 2020-10-29 01:21:32 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
alexey-milovidov
948ac657dc
Merge pull request #16406 from ClickHouse/fix-tsan-lgamma
Fix TSan report in lgamma
2020-10-28 01:59:50 +03:00
Alexey Milovidov
e1b8d0da7b Trailing whitespace 2020-10-27 22:41:36 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
Alexey Milovidov
baf55437fa Better diagnostics in check-style script 2020-10-26 22:17:01 +03:00
Alexey Milovidov
32ed8c9681 Fix trailing whitespace 2020-10-26 22:12:40 +03:00
Alexey Milovidov
942828f4d5 Check style 2020-10-25 00:54:17 +03:00
Ivan
1d170f5745
ASTTableIdentifier Part #1: improve internal representation of ASTIdentifier name (#16149)
* Use only |name_parts| as primary name source

* Restore legacy logic for table restoration

* Fix build

* Fix tests

* Add pytest server config

* Fix tests

* Fixes due to review
2020-10-24 21:46:10 +03:00
Alexey Milovidov
85c69aad7f Add check for BOM 2020-10-24 09:23:54 +03:00
robot-clickhouse
f2b506785b Update version_date.tsv after release 20.10.2.20 2020-10-23 18:20:43 +03:00
zhang2014
a104c01cd9 Add mysql binlog file check util 2020-10-21 20:17:37 +08:00
Nikita Mikhaylov
57575a5a12
Merge pull request #15973 from nikitamikhaylov/db-gen-usability
db_generator command line arguments
2020-10-14 20:24:02 +03:00
nikitamikhaylov
0cfb8b94cd better 2020-10-14 16:11:53 +03:00
nikitamikhaylov
c1fa34a9af done 2020-10-14 16:03:13 +03:00
alexey-milovidov
4798234002
Merge pull request #15843 from ClickHouse/check-executable-files
Check for executable bit on non-executable files
2020-10-12 23:54:00 +03:00
robot-clickhouse
a21b42f1f8 Update version_date.tsv after release 20.6.8.5 2020-10-12 19:37:10 +03:00
Alexey Milovidov
c23c7e3bba Check for executable bit on non-executable files 2020-10-11 19:26:11 +03:00
alexey-milovidov
f143eded67
Merge pull request #15711 from ClickHouse/zookeeper-dump-tree-reconnects
Add reconnects to zookeeper-dump-tree tool
2020-10-11 13:19:14 +03:00
Alexey Milovidov
c214fd97b2 Addition to prev. revision 2020-10-10 23:23:58 +03:00
Alexey Milovidov
269b6383f5 Check for #pragma once in headers 2020-10-10 21:37:02 +03:00
Alexey Milovidov
7b39906d6a Miscellanous 2020-10-10 20:32:10 +03:00
Alexey Milovidov
ce7b8aefd2 Add reconnects to zookeeper-dump-tree tool 2020-10-10 20:32:10 +03:00
robot-clickhouse
88f8af51f0 Update version_date.tsv after release 20.7.4.11 2020-10-09 16:42:47 +03:00
robot-clickhouse
7a1aa597e9 Update version_date.tsv after release 20.8.4.11 2020-10-09 16:17:41 +03:00
robot-clickhouse
9594213f99 Update version_date.tsv after release 20.9.3.45 2020-10-09 14:33:05 +03:00
robot-clickhouse
af0b96466a Update version_date.tsv after release 20.8.4.11 2020-10-09 02:39:25 +03:00
robot-clickhouse
9aff247afe Update version_date.tsv after release 20.7.4.11 2020-10-09 00:04:34 +03:00
robot-clickhouse
17b953ae6d Update version_date.tsv after release 20.3.20.6 2020-10-09 00:00:56 +03:00
robot-clickhouse
20b3de3d76 Update version_date.tsv after release 20.9.3.45 2020-10-08 20:38:31 +03:00
Alexey Milovidov
e588463ce7 Fix build on my machine 2020-10-07 11:25:46 +03:00
Alexey Milovidov
c620d9de86 Remove useless file 2020-10-07 11:25:36 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
Alexander Kuzmenkov
499e0766e5 Check docker scripts with shellcheck 2020-09-30 20:06:46 +03:00
hexiaoting
6ad48ade83 fix bug for building query_db_generator.cpp 2020-09-27 16:42:04 +08:00
robot-clickhouse
a5b45dabf2 Update version_date.tsv after release 20.9.2.20 2020-09-22 10:14:12 +03:00
Alexey Milovidov
ef5363b87f Fix terribly wrong code 2020-09-19 02:05:13 +03:00
robot-clickhouse
76483b8ed3 Update version_date.tsv after release 20.3.19.4 2020-09-18 19:14:19 +03:00
Alexey Milovidov
eae9950abe s3uploader: adjust help 2020-09-18 17:56:42 +03:00
robot-clickhouse
0052bbdd84 Update version_date.tsv after release 20.6.7.4 2020-09-18 16:19:23 +03:00
robot-clickhouse
10a288f896 Update version_date.tsv after release 20.7.3.7 2020-09-18 15:46:35 +03:00
robot-clickhouse
1c674cea93 Update version_date.tsv after release 20.8.3.18 2020-09-18 15:26:48 +03:00
alexey-milovidov
e7393ab38b
Merge pull request #14718 from ClickHouse/aku/20.8-changelog
changelog for 20.8
2020-09-14 21:58:18 +03:00
Nikita Mikhaylov
ddea62211d
Merge pull request #11948 from CurtizJ/fsync-parts
Experiment. Allow to turn on fsync on inserts, merges and fetches.
2020-09-14 22:37:14 +04:00
alexey-milovidov
782c010cfd
Merge pull request #14668 from azat/list-licenses.sh-more-excludes
utils/list-licenses/list-licenses.sh: ignore more files
2020-09-14 16:37:43 +03:00
robot-clickhouse
5de3d9c032 Update version_date.tsv after release 20.6.6.7 2020-09-11 12:58:04 +03:00
Anton Popov
f2a5216e97 add waiting for fsync in WAL 2020-09-11 02:28:50 +03:00
Anton Popov
af4089c606 Merge remote-tracking branch 'upstream/master' into HEAD 2020-09-11 00:39:21 +03:00
Alexander Kuzmenkov
45340c701d changelog for 20.8 2020-09-10 19:49:57 +03:00
Azat Khuzhin
27258c8e70 utils/list-licenses/list-licenses.sh: ignore more files
- *.rtf

  They can have NULL byte, and StorageSystemLicenses.sh will warn:

      ./StorageSystemLicenses.sh: line 11: warning: command substitution: ignored null byte in input

  Found with:

      find contrib/ -type f -and '(' -iname 'LICENSE*' -or -iname 'COPYING*' -or -iname 'COPYRIGHT*' ')' -and -not -iname '*.html' | xargs grep -Pa '\x00'

- *.h
- *.cpp
- *.htm

And after verified with:

    $ find contrib/ -type f -and '(' -iname 'LICENSE*' -or -iname 'COPYING*' -or -iname 'COPYRIGHT*' ')' -and -not '(' -iname '*.html' -or -iname '*.htm' -or -iname '*.rtf' -or -name '*.cpp' -or -name '*.h' -or -iname '*.json' ')' | xargs file -b | sort -u
    ASCII text
    ASCII text, with CR line terminators
    ASCII text, with very long lines
    empty
    UTF-8 Unicode text
2020-09-09 23:56:47 +03:00
Nikita Mikhaylov
336df167ff
Merge pull request #14583 from nikitamikhaylov/datasets-gen-20
Fix for clang-8 build in datasets generator.
2020-09-08 20:29:14 +04:00
robot-clickhouse
e0e1a5b24b Update version_date.tsv after release 20.3.18.10 2020-09-08 16:14:51 +03:00
robot-clickhouse
efd7ba3230 Update version_date.tsv after release 20.8.2.3 2020-09-08 15:49:07 +03:00
nikitamikhaylov
724b78a578 better 2020-09-08 15:03:55 +03:00
Anton Popov
3b9be70c8c Merge remote-tracking branch 'upstream/master' into HEAD 2020-09-05 18:53:55 +03:00
Nikita Mikhaylov
ab48947305
Datasets generation (Merging #10973) (#14442)
* created program in utils

* reset test

* removed additional printings

* refactoring

* fix float generator, fix build

* add readme

* refactor readme

* fixed random int func

* clang format

* fix build

* fix build

* fix PVS, uncrustify

* newline at end of file

* refactor string_type func

* restyle func maps

* support IN operation

* support multiquery

* fix style

* change rand to pcg64

* fix array generation

* fix build

* better

* subqueries

* style

* better

* delete samples.sql

Co-authored-by: Roman Ilgovskiy <ilgovskiy@yandex-team.ru>
2020-09-04 13:39:17 +03:00
robot-clickhouse
fbf06f9858 Update version_date.tsv after release 20.6.5.8 2020-09-03 20:05:18 +03:00
alexey-milovidov
821add088e
Fix backport script; read the code (#14433) 2020-09-03 09:57:01 +03:00
Anton Popov
4fe57fc169 Merge remote-tracking branch 'upstream/master' into HEAD 2020-09-02 01:29:44 +03:00
Anton Popov
3cadc9033a fsyncs for metadata files of part 2020-09-01 18:53:22 +03:00
Azat Khuzhin
2d7cb03120 Suppress superfluous wget (-nv) output
Since for dowloading some of files wget logging may take 50% of overall
log [1].

  [1]: https://clickhouse-builds.s3.yandex.net/14315/c32ff4c98cb3b83a12f945eadd180415b7a3b269/clickhouse_build_check/build_log_761119955_1598923036.txt
2020-09-01 10:25:13 +03:00
Anton Popov
927eb32e88 add test for durability (draft) 2020-09-01 04:46:40 +03:00
robot-clickhouse
41181555a6 Update version_date.tsv after release 20.7.2.30 2020-08-31 19:23:16 +03:00
robot-clickhouse
74d4fa3993 Update version_date.tsv after release 20.6.5.53 2020-08-27 17:51:22 +03:00
alesapin
7e0b7e601d Fix dates order in list-versions.sh 2020-08-27 17:42:49 +03:00
robot-clickhouse
7bf83990ae Update version_date.tsv after release 20.6.5.53 2020-08-27 17:29:13 +03:00
alexey-milovidov
bb2b0b509f
Merge pull request #14173 from ClickHouse/fix_list_versions
Make list-versions.sh able to work with ancient git
2020-08-27 15:45:21 +03:00
alesapin
c5a7a15b93 Make list-versions.sh able to work with ancient git 2020-08-27 15:06:09 +03:00
robot-clickhouse
910297f7c1 Update version_date.tsv in release 20.6.5.53 2020-08-27 14:08:41 +03:00
alexey-milovidov
7ea5364299
Merge pull request #13648 from filimonov/tzdata_version2
tzdata improvements
2020-08-24 23:07:37 +03:00
Alexey Milovidov
425297e9c9 Check that ya.make files are auto-generated 2020-08-19 12:40:28 +03:00
Alexey Milovidov
e43746395e Merge branch 'master' into codespell-2 2020-08-16 14:57:21 +03:00
alexey-milovidov
966dd287b7
Merge branch 'master' into shellcheck3 2020-08-15 19:49:22 +03:00
Alexey Milovidov
145ad95e2a Revert check location of Docker compose files @qoega. 2020-08-15 07:23:23 +03:00
Yatsishin Ilya
ede56a7503 Fix 2020-08-14 17:41:03 +03:00
Yatsishin Ilya
ab337b243a Add docker for style check 2020-08-14 16:09:23 +03:00