Commit Graph

1388 Commits

Author SHA1 Message Date
robot-clickhouse
658a62b7fc Update version_date.tsv after release 21.2.5.5 2021-03-02 14:54:01 +03:00
alesapin
c4a6289a9b Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-02-25 11:39:52 +03:00
alesapin
f8b81eeeb0 Get rid of own zxid 2021-02-25 11:34:05 +03:00
Vitaly Baranov
8601b2f3e7
Merge pull request #21148 from vitlibar/protobuf-format-better-tests-2
Better tests for protobuf format #2.
2021-02-25 06:01:47 +03:00
Vitaly Baranov
2480e4ee3d Better tests for protobuf format #2. 2021-02-24 21:06:29 +03:00
Vasily Nemkov
2d03d330bc Extended range of DateTime64 to years 1925 - 2238
The Year 1925 is a starting point because most of the timezones
switched to saner (mostly 15-minutes based) offsets somewhere
during 1924 or before. And that significantly simplifies implementation.

2238 is to simplify arithmetics for sanitizing LUT index access;
there are less than 0x1ffff days from 1925.

* Extended DateLUTImpl internal LUT to 0x1ffff items, some of which
  represent negative (pre-1970) time values.
  As a collateral benefit, Date now correctly supports dates up to 2149
  (instead of 2106).
* Added a new strong typedef ExtendedDayNum, which represents dates
  pre-1970 and post 2149.
* Functions that used to return DayNum now return ExtendedDayNum.
* Refactored DateLUTImpl to untie DayNum from the dual role of being
  a value and an index (due to negative time). Index is now a different
  type LUTIndex with explicit conversion functions from DatNum, time_t,
  and ExtendedDayNum.
* Updated DateLUTImpl to properly support values close to epoch start
  (1970-01-01 00:00), including negative ones.
* Reduced resolution of DateLUTImpl::Values::time_at_offset_change
  to multiple of 15-minutes to allow storing 64-bits of time_t in
  DateLUTImpl::Value while keeping same size.
* Minor performance updates to DateLUTImpl when building month LUT
  by skipping non-start-of-month days.
* Fixed extractTimeZoneFromFunctionArguments to work correctly
  with DateTime64.
* New unit-tests and stateless integration tests for both DateTime
  and DateTime64.
2021-02-24 17:08:35 +02:00
Azat Khuzhin
91c4ebaf0b Merge remote-tracking branch 'upstream/master' into yamllint 2021-02-22 08:52:54 +03:00
Azat Khuzhin
b9cb8fdbad Exclude contrib for yamllint check 2021-02-21 10:45:05 +03:00
Azat Khuzhin
2db3a6af49 Add yamllint into style check 2021-02-20 23:25:21 +03:00
robot-clickhouse
3248bf4e2f Update version_date.tsv after release 20.8.13.15 2021-02-20 21:46:27 +03:00
robot-clickhouse
e49d90405c Update version_date.tsv after release 20.12.7.3 2021-02-20 20:39:18 +03:00
robot-clickhouse
4fa822dd28 Update version_date.tsv after release 21.1.5.4 2021-02-20 20:21:55 +03:00
robot-clickhouse
fe159de141 Update version_date.tsv after release 21.2.4.6 2021-02-20 19:30:27 +03:00
Ivan
42c22475e3
Don't backport base commit of branch in the same branch (#20628) 2021-02-17 18:55:24 +03:00
Nikita Mikhailov
780cf3dbff better 2021-02-15 14:37:07 +03:00
Nikita Mikhailov
40e8bbc49a done 2021-02-15 14:32:17 +03:00
alexey-milovidov
bde4da0ff0
Merge pull request #20465 from azat/write-abnormal-server-termination-fixes
Fix abnormal server terminations due to write failures
2021-02-15 00:05:48 +03:00
robot-clickhouse
37807e1a18 Update version_date.tsv after release 20.12.6.29 2021-02-14 11:51:46 +03:00
robot-clickhouse
09a5b7a055 Update version_date.tsv after release 21.1.4.46 2021-02-14 11:35:34 +03:00
robot-clickhouse
607b57ea28 Update version_date.tsv after release 21.2.3.15 2021-02-14 10:57:52 +03:00
Azat Khuzhin
06e8065ee6 Add missing sync of underlying files 2021-02-13 13:19:51 +03:00
alesapin
9667bdcbd2 Merge branch 'master' into in_memory_raft 2021-02-09 16:06:31 +03:00
Anton Popov
47c610be14
Merge pull request #19726 from CurtizJ/style-check
Allow to run all style checks in one file
2021-02-08 16:24:49 +03:00
alesapin
d5ee7d33e9 Merge branch 'master' into in_memory_raft 2021-02-08 10:30:31 +03:00
robot-clickhouse
e814db6836 Update version_date.tsv after release 21.2.2.8 2021-02-07 17:18:18 +03:00
Ivan Lezhankin
ab55556c5e Fix build of utils 2021-02-06 20:24:52 +03:00
alesapin
9c04d912ec Merge branch 'master' into in_memory_raft 2021-02-04 11:50:32 +03:00
robot-clickhouse
def3c8fef7 Update version_date.tsv after release 20.12.5.18 2021-02-03 12:26:09 +03:00
robot-clickhouse
ebdea09ec0 Update version_date.tsv after release 21.1.3.32 2021-02-03 12:08:04 +03:00
robot-clickhouse
5e11e13351 Update version_date.tsv after release 20.11.7.16 2021-02-03 12:05:47 +03:00
alesapin
0aca40d8cb Merge branch 'master' into in_memory_raft 2021-02-01 14:30:11 +03:00
Azat Khuzhin
7d9c892e60 check-style: fix "fatal: not a git repository: /place/sandbox-data/tasks/0/2/882869720/ClickHouse/.git/modules/contrib/AMQP-CPP" error
check-style uses "git status" to see changed ya.make files.

However it seems that that the sources was cloned some ancient git
version, likely <2.8, since there was a bug, that has been fixed in 2.8
[1]:

    " * A partial rewrite of "git submodule" in the 2.7 timeframe changed
        the way the gitdir: pointer in the submodules point at the real
        repository location to use absolute paths by accident.  This has
        been corrected."

  [1]: cf11a67975/Documentation/RelNotes/2.8.3.txt (L33-L36)
2021-01-30 00:29:21 +03:00
Azat Khuzhin
480c75bacf check-style: pass path to rc file for pylint 2021-01-29 23:11:53 +03:00
alesapin
c3db529543 Merge branch 'master' into in_memory_raft 2021-01-28 12:01:54 +03:00
Anton Popov
9c2130cc17 allow to run style check from other directories 2021-01-28 03:13:30 +03:00
Anton Popov
6c7ecc1aa0 allow to run all style checks in one file 2021-01-28 02:47:47 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Azat Khuzhin
9c5d83d6bc Check that tests with query_log/query_thread_log includes current_database filter 2021-01-27 00:18:32 +03:00
Azat Khuzhin
93d375f67a Check clickhouse-test with pylint during style check 2021-01-27 00:14:23 +03:00
alesapin
173b6fefdf Merge branch 'master' into in_memory_raft 2021-01-25 12:03:28 +03:00
alesapin
c1e36cfe70 Something working 2021-01-22 19:04:57 +03:00
Alexander Tokmakov
14e842c197 print stderr of failed subprocess 2021-01-22 17:27:23 +03:00
Alexey Milovidov
c7e93a9c74 Prepare changelog 2021-01-18 20:58:31 +03:00
robot-clickhouse
c99b5a78a5 Update version_date.tsv after release 21.1.2.15 2021-01-18 15:06:51 +03:00
robot-clickhouse
112746e8ca Update version_date.tsv after release 20.8.12.2 2021-01-16 00:42:21 +03:00
Alexey Milovidov
53d0c9fa72 Fix bug in "release" script 2021-01-11 06:35:07 +03:00
Alexey Milovidov
db46af68c1 Remove outdated code 2021-01-11 03:56:41 +03:00
alexey-milovidov
0e48d8fc86
Merge pull request #18873 from abyss7/backport-lts
Minor fix in backport script
2021-01-09 06:37:55 +03:00
Ivan Lezhankin
5426eae79a Minor fix 2021-01-09 00:26:33 +03:00
fastio
fc9c440d3e
Fix the unexpected behaviour of show tables when antlr parser enabled (#18431)
* Fix the unexpected behaviour of show tables when antlr parser enabled

* fix compile error
2021-01-04 23:42:57 +03:00
Alexey Milovidov
aa2e89611d Remove sumburConsistentHash function 2020-12-31 02:22:04 +03:00
alexey-milovidov
c281a17869
Merge pull request #18619 from azat/utils-pull
Small utils improvements (check-marks and compressor)
2020-12-30 17:45:43 +03:00
Azat Khuzhin
8fde2d6e1b compressor: remove dead file 2020-12-29 22:41:17 +03:00
Azat Khuzhin
8c256481c9 check-marks: fix comments and help message 2020-12-29 22:41:17 +03:00
Azat Khuzhin
cf11e2b1e0 check-marks: add decompressed size 2020-12-29 22:41:17 +03:00
Yatsishin Ilya
011d2b4631 disable couple checks for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
5869123a86 no empty line for check-duplicate-includes 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
7e37743c37 run check-typos separately for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
f07df76c59 fix ans 2020-12-29 17:57:12 +03:00
robot-clickhouse
3d1273460b Update version_date.tsv after release 20.12.5.14 2020-12-28 13:27:43 +03:00
robot-clickhouse
4af0d73446 Update version_date.tsv after release 20.8.11.17 2020-12-25 18:38:21 +03:00
Yatsishin Ilya
f36e8f13c0 more fixes after rebase 2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3 Fix codespell warnings. Split style checks. Update style checks docker 2020-12-24 13:17:52 +03:00
robot-clickhouse
a58acbae67 Update version_date.tsv after release 20.8.10.13 2020-12-24 03:54:43 +03:00
robot-clickhouse
22c51cb89a Update version_date.tsv after release 20.10.7.4 2020-12-24 03:18:12 +03:00
robot-clickhouse
42b76979fe Update version_date.tsv after release 20.11.6.6 2020-12-24 01:20:16 +03:00
robot-clickhouse
4a37db455d Update version_date.tsv after release 20.12.4.5 2020-12-24 01:02:07 +03:00
alexey-milovidov
839e873aa0
Merge pull request #18195 from abyss7/backport-lts
Add support for LTS branches in backport automation
2020-12-22 09:49:02 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
Ivan Lezhankin
feb42a16b6 Fix LTS discovery logic 2020-12-21 20:44:09 +03:00
Ivan Lezhankin
4635507c40 Make new LTS argument default to False 2020-12-18 17:18:59 +03:00
alesapin
dbfe50c0c1
Merge pull request #18199 from ClickHouse/add_one_more_test_in_util
Add one more case in zk test util
2020-12-17 22:52:15 +03:00
alexey-milovidov
f82274a722
Merge pull request #16527 from kitaisreal/mmap-read-buffer-from-file-descriptor-use-getpagesize
MMapReadBufferFromFileDescriptor use getpagesize
2020-12-17 22:34:05 +03:00
alesapin
a207e3db75 Fix bad sleep 2020-12-17 19:21:46 +03:00
alesapin
e80b93939f Add one more case in zk test uti 2020-12-17 18:09:22 +03:00
Ivan Lezhankin
7636571580 Add support for LTS branches 2020-12-17 15:16:40 +03:00
Maksim Kita
685099af7f Move getPageSize in common 2020-12-17 00:23:41 +03:00
Nikolai Kochetov
d96ca3fb8d Fixing build. 2020-12-16 20:11:32 +03:00
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
alexey-milovidov
11d6375c67
Merge pull request #13640 from BohuTANG/wal_dump
Add MergeTree Write-Ahead-Log(WAL) dump tool
2020-08-13 22:19:29 +03:00
Mikhail Filimonov
a0ae1b2b42 tzdata improvements
Expose version of embedded tzdata via TZDATA_VERSION in system.build_options.
Autogenerate list of shipped timezones. Script to check tzdb updates.
2020-08-12 14:21:40 +02:00
BohuTANG
c31f4f013a Add MergeTree Write-Ahead-Log(WAL) dump tool 2020-08-12 13:50:22 +08:00
Alexey Milovidov
e4d02f6b51 Update for useless script #13599 2020-08-12 06:03:47 +03:00
alexey-milovidov
291386fd2a
Merge pull request #13618 from melin/master
antlr4 support complete create table grammar
2020-08-11 18:58:00 +03:00
melin
d1a770d863
antlr4 support complete create table grammar 2020-08-11 22:36:19 +08:00
melin
4036d9bd10
antlr4 support complete create table grammar 2020-08-11 22:35:28 +08:00
alexey-milovidov
2bd7b5fdc0
Merge pull request #13591 from melin/master
Fix Nullable(String) antlr4 syntax error
2020-08-11 04:58:17 +03:00
melin
38cad2e258
fixbug Nullable(String) 2020-08-11 09:43:28 +08:00
Alexey Milovidov
b633b49e07 Enable Shellcheck in CI 2020-08-09 02:26:59 +03:00
alexey-milovidov
3f80463f2d
Merge pull request #13489 from nikitamikhaylov/changelog-script
Changelog script update
2020-08-09 01:38:17 +03:00
Alexey Milovidov
726f5b082a Fix build 2020-08-08 17:10:49 +03:00
Alexey Milovidov
6c4df0f27a Better tool 2020-08-08 17:10:49 +03:00
Alexey Milovidov
0688e1671f Run check-typos within check-style 2020-08-08 17:10:49 +03:00
Alexey Milovidov
cacca83839 Added a tool to check for typos; added dictionaries. 2020-08-08 17:10:27 +03:00
alexey-milovidov
c0fef71507
Merge pull request #13511 from ClickHouse/codespell
Fix typos in code with codespell.
2020-08-08 17:09:16 +03:00
Alexey Milovidov
11228a127d Check for copy-pasted GPL code 2020-08-08 05:08:36 +03:00
Alexey Milovidov
0cbbe153cd Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
Nikita Mikhaylov
6a1b0106ca better 2020-08-07 17:52:50 +03:00
Nikita Mikhaylov
81c681fe83 done 2020-08-07 17:51:20 +03:00
Alexey Milovidov
e942104eb5 Add a check 2020-08-06 06:13:02 +03:00
alesapin
ae8ad38af6 Review fix 2020-07-31 17:07:54 +03:00
alesapin
c018367f50 Add labeler event 2020-07-31 16:41:56 +03:00
Ivan
1e10ce6bcf
Update scripts (#12726) 2020-07-27 13:05:38 +03:00
Ivan
b86248a57a
Update ya.make 2020-07-22 12:08:38 +03:00
Ivan
4417a79b86
Update scripts (#12650) 2020-07-22 04:05:46 +03:00
Denis Glazachev
9effacfbc1 Merge branch 'master' into ldap-per-user-authentication
* master: (1102 commits)
  Update README.md
  Update README.md
  Update README.md
  Update index.md
  [docs] add intrdocution for statements page (#12189)
  Revert "Run perf tests with memory sampling (for allocations >1M)"
  Sanitize LINK_LIBRARIES property for the directories (#12160)
  [docs] refactor Domains overview (#12186)
  DOCS-647: toStartOfSecond (#12190)
  [docs] add intrdocution for commercial page (#12187)
  DOCSUP-1348 Russian translation for new functions (#133) (#12194)
  changelog fixes
  Update index.md (#12191)
  Update zh kafka.md title (#12192)
  Added test for #3767
  style fix for #12152
  Tests for fixed issues #10846 and #7347
  changelog fixes
  [docs] introduction for special table engines (#12170)
  [docs] introduction for third-party interfaces (#12175)
  ...

# Conflicts:
#	src/Access/ya.make
#	src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04:00
Alexander Kuzmenkov
f8d584d509 changelog fixes 2020-07-07 13:50:32 +03:00
Alexander Kuzmenkov
7dba89eaa8 changelog fixes 2020-07-07 12:52:27 +03:00
alexey-milovidov
1719ab1ec5
Merge pull request #12041 from azat/curl-proper-cmake
Rewrite curl dependency in a more ch compatible way
2020-07-06 06:31:51 +03:00
alexey-milovidov
5d2013f224
Merge pull request #12104 from ClickHouse/aku/changelog-20.5
Changelog for 20.5
2020-07-06 00:04:50 +03:00
Alexander Kuzmenkov
2577d71ed5 Changelog for 20.5 2020-07-03 11:57:38 +03:00
Azat Khuzhin
0700a705bc Rewrite curl dependency in a more ch compatible way
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
  - mariadb-connector-c
  - aws-s3-cmake
  - sentry-native

Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7

Refs: #11300
Refs: #8011
Refs: #8905

v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
Alexander Kuzmenkov
e0273d30fa Changelog for 20.1, 20.4 2020-07-02 09:20:20 +03:00
Alexander Kuzmenkov
444a869d78 simple changelog script 2020-06-30 19:08:23 +03:00
Ivan
fce8328e65
Automated backporting machinery (#12029)
* Add automated cherry-pick machinery

* Added script for backporting machinery

* Implement dry-run mode

* Comment old methods

* Fix python2

* Add ya.make for sandbox tasks

* Remove old stuff
2020-06-29 15:13:19 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
alesapin
cecf397057 Better github-hook 2020-06-24 17:48:43 +03:00
Ivan Blinkov
45d1ca2567 merge master 2020-06-24 00:18:16 +03:00
alesapin
2b0d00e6c3 Hook for push events 2020-06-23 14:40:09 +03:00
alesapin
bb7289e9c4 Merge branch 'master' into github_hook 2020-06-23 14:07:25 +03:00
Ivan Blinkov
2c0ff29c48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-22 10:06:36 +03:00
Denis Glazachev
6c1b2a4831 Merge branch 'master' into ldap-per-user-authentication
* master: (114 commits)
  Update alter.md (#11823)
  Update PODArray.h
  Added a test for #6549
  Update create.md
  Update create.md
  replacingmergetree translate into "替换合并树“ better (#11814)
  Whitespace
  Fix style
  Added a test
  Fix another 10% of bad code #11529
  Update join.md (#11798)
  Update memory.md (#11800)
  Whitespace
  Check for tests with "fail" in their names
  Fix 10% of bad code #11756
  Update PODArray.h
  avoid duplicate short system name
  adapt recent result as well
  [website] tune benchmark pages styling + add extra checks
  Added MSan suppression for Hyperscan
  ...

# Conflicts:
#	src/Common/ErrorCodes.cpp
2020-06-20 22:01:12 +04:00
Alexey Milovidov
dec883e21b Check for tests with "fail" in their names 2020-06-20 09:28:19 +03:00
Denis Glazachev
5db60202b6 Merge branch 'master' into ldap-per-user-authentication 2020-06-19 00:11:08 +04:00
Ivan Blinkov
7e2bb1fd83 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-16 16:02:55 +03:00
Alexey Milovidov
394fb64a9c Better way of implementation 2020-06-14 20:42:11 +03:00
Alexey Milovidov
72257061d5 Avoid errors due to implicit int<->bool conversions when using ZK API 2020-06-12 18:09:12 +03:00
Ivan Blinkov
e98a91e9f7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-12 16:53:00 +03:00
alesapin
47a902a6ce Simple github hook 2020-06-11 18:55:44 +03:00
Azat Khuzhin
585fee1a63 Add missing boost libraries into build scripts 2020-06-11 11:49:47 +03:00
Denis Glazachev
9e3a28a6b8 Merge branch 'master' into ldap-per-user-authentication
* master: (414 commits)
  Update file.md
  Update merge.md
  Update dictionary.md
  Update external-data.md
  Update distributed.md
  Update null.md
  Update set.md
  Update join.md
  Update url.md
  Update view.md
  Update materializedview.md
  Update memory.md
  Update buffer.md
  Update generate.md
  removed a sentence about global lock during rename (#11577)
  greatCircleAngle en translation (#11584)
  Update configuration-files.md
  try fix flacky test
  Update why.html
  Update rich.html
  ...

# Conflicts:
#	src/Common/ErrorCodes.cpp
#	utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
Ivan Blinkov
90ee4d52f4 merge master 2020-06-10 13:18:41 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 19:07:57 +03:00
Ivan
47ad338cb2
Refactor CMake build files (#11390)
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
653a9afda0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-05 22:51:28 +03:00
Alexander Tokmakov
e3aa20708a Merge branch 'master' into merging_external_source_cassandra 2020-06-03 14:55:02 +03:00
Denis Glazachev
2f2275c3ba Add "-D ENABLE_LDAP=0" 2020-06-03 15:16:58 +04:00
Alexey Milovidov
4e9d4592e5 Fix build of test 2020-06-02 16:46:09 +03:00
Alexander Tokmakov
62761eddcc Merge branch 'master' into merging_external_source_cassandra 2020-06-01 14:44:46 +03:00
Ivan Blinkov
fcc7ff0ef9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 08:42:03 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
f47320cb96 Added clarification #10678 2020-05-31 17:28:44 +03:00
Alexey Milovidov
25f941020b Remove namespace pollution 2020-05-31 00:57:37 +03:00
Ivan Blinkov
95ee742ee7 merge master 2020-05-29 22:56:10 +03:00
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
alexey-milovidov
04bdffd9d7
Merge pull request #11255 from zlobober/proper_versions_in_arcadia
Use proper versions in Arcadia build.
2020-05-29 03:58:49 +03:00
Alexey Milovidov
13b0acdc9f Fix strange code 2020-05-29 03:42:25 +03:00
Maxim Akhmedov
f5b1ab8e4a Use proper versions in Arcadia build. 2020-05-28 16:46:56 +03:00
Ivan Blinkov
709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +03:00
Alexander Tokmakov
940132adc4 Merge branch 'master' into merging_external_source_cassandra 2020-05-27 00:13:57 +03:00
Vitaly Baranov
e27ded8798
Merge pull request #11172 from vitlibar/grpc-improve-build-scripts
Improve build scripts for protobuf & gRPC
2020-05-26 13:27:54 +03:00
Vitaly Baranov
58a2172154 Improve build scripts related to protobuf and gRPC. 2020-05-25 18:46:57 +03:00
Ivan
39feb4f0d4
Add --branch option to backporting script 2020-05-25 14:10:14 +03:00
Alexander Kuzmenkov
f4d9002182 Rename "Non-significant" to "Not for changelog".
The previous name was not universally liked, because technically a PR
might be very much significant, we just don't want to mention it in the
changelog.
2020-05-22 23:09:44 +03:00
Alexander Kuzmenkov
91c8c2ac1a simple backport script 2020-05-22 21:44:11 +03:00
Alexander Tokmakov
ac54d470da Merge branch 'master' into merging_external_source_cassandra 2020-05-22 17:27:40 +03:00
Alexander Tokmakov
175b7aedf3 Merge branch 'master' into merging_external_source_cassandra 2020-05-19 05:21:27 +03:00
Alexey Milovidov
f54435e7fd Fix clang-tidy 2020-05-18 11:08:55 +03:00
Alexey Milovidov
b0a5ce7743 Enable clang-tidy for programs and utils 2020-05-18 04:19:50 +03:00
Alexey Milovidov
c5e78d12e7 Merge branch 'master' into list-licenses 2020-05-11 07:35:35 +03:00
Alexey Milovidov
f1be26c541 Added a script to list licenses #2890 2020-05-11 04:53:38 +03:00
Alexey Milovidov
b8fce1d96a Fixed build 2020-05-11 03:44:09 +03:00
Alexey Milovidov
f9ad1e612a Fix build 2020-05-10 08:24:01 +03:00
Alexey Milovidov
e8c646ebf5 Fix style 2020-05-10 03:49:05 +03:00
Alexey Milovidov
da4a793dee Fix build 2020-05-10 03:16:08 +03:00
Alexey Milovidov
a576a4fbcd Enable extra warnings for base, utils, programs 2020-05-10 01:59:34 +03:00
Ivan
85d783c247
Poco contrib refactoring (#10396)
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Alexey Milovidov
048e26dabf Fix "Arcadia" build 2020-05-07 23:40:18 +03:00
Ivan
038e371570
Update cross-builds to use clang-10 compiler (#10724)
* Update FreeBSD toolchain
* Update cross-builds to use clang-10
2020-05-07 15:32:17 +03:00
Alexey Milovidov
e0a26df1fa Added auto-generated machine-readable file with list of stable versions 2020-05-02 21:53:55 +03:00
Anton Popov
a415540019 skip pr with no-backport 2020-04-24 03:36:37 +03:00
Anton Popov
8a084cc476
Update __main__.py 2020-04-23 16:47:19 +03:00
Anton Popov
26cf6306ac support 'no-backport' tags in list_backports script 2020-04-23 16:10:34 +03:00
Yatsishin Ilya
5ff94f5205 Add util to test results upload in CI ClickHouse 2020-04-17 15:48:21 +03:00
Yatsishin Ilya
ee8e855cbe add empty out and err columns 2020-04-17 11:42:51 +03:00
Yatsishin Ilya
a312cb6b0d more features 2020-04-17 11:42:51 +03:00
Yatsishin Ilya
f2136bc286 improvements 2020-04-17 11:42:51 +03:00
alesapin
dc247ed011 Add special key to dupload which allows to push .deb package to several branches in repo 2020-04-16 16:17:21 +03:00
Alexander Kuzmenkov
d0eb40e4ca simple backport script 2020-04-15 22:03:38 +03:00
alexey-milovidov
596202b4d6
Merge pull request #10247 from qoega/junit_to_html_util
Add JUnit to html util
2020-04-15 02:37:59 +03:00
Alexander Kuzmenkov
48ba1f4ced simple changelog script 2020-04-14 14:28:46 +03:00
Alexander Kuzmenkov
a7bf6ad667 simple changelog script 2020-04-14 12:11:27 +03:00
Yatsishin Ilya
7c52b90d69 better 2020-04-14 10:18:39 +03:00
Yatsishin Ilya
8787cde9c5 fix check-ungrouped-includes.sh 2020-04-14 10:15:02 +03:00
Yatsishin Ilya
c7d3417f62 fix check-include 2020-04-14 10:15:02 +03:00
Yatsishin Ilya
26a1b3163a better colors 2020-04-14 10:15:01 +03:00
Yatsishin Ilya
c5c424b447 add junit_to_html_util 2020-04-14 10:15:01 +03:00
Alexander Kuzmenkov
9210a50c5c simple backport script 2020-04-14 03:04:50 +03:00
Alexander Kuzmenkov
7c6a0c27e7 simple backport script 2020-04-14 01:05:05 +03:00
Alexander Kuzmenkov
29bb9f6665 simple backport script 2020-04-14 00:16:23 +03:00
Alexander Kuzmenkov
8be5a1f0a5 simple backport script 2020-04-13 15:54:09 +03:00
Alexander Kuzmenkov
204a6b2b8c simple backport script 2020-04-13 15:42:15 +03:00
Alexander Kuzmenkov
6bd80a357b simplified backport script 2020-04-13 15:00:36 +03:00
Ivan
91e9a543d4
Support new vXX-backported labels (#10231) 2020-04-13 14:20:13 +03:00
alexey-milovidov
8ce1949377
Merge pull request #10151 from filimonov/clickhouse-docker-util
clickhouse-docker-util
2020-04-11 23:01:35 +03:00
Alexey Milovidov
1526722333 Enforce that there is no machine translation to russian #10191 2020-04-11 18:54:26 +03:00
Alexander Kuzmenkov
7c57876ea4 simplified backport script 2020-04-11 03:00:33 +03:00
Alexander Kuzmenkov
32f0789eaa
Update README.md 2020-04-11 01:41:47 +03:00
Alexander Kuzmenkov
c097e1f9e5
Update README.md 2020-04-11 01:38:40 +03:00
Alexander Kuzmenkov
c3a71616d9 simplified backport script 2020-04-11 01:30:29 +03:00
Mikhail Filimonov
7cc0c99669 clickhouse-docker-util 2020-04-09 15:16:56 +02:00
Alexey Milovidov
110eb599c1 Fix "check style" tool 2020-04-06 02:57:24 +03:00
Alexey Milovidov
646f409b8e Fix "check style" tool 2020-04-06 02:51:26 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan Lezhankin
4d1749b34b Also move dbms/cmake/version.cmake to top-level 2020-04-02 04:30:20 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Pavel Kovalenko
f2dca656f9
MergeTree full support for S3 (#9646)
* IMergeDataPart full S3 support.

* MergeTreeData full S3 support.

* Compilation fixes.

* Mutations and merges S3 support.

* Fixed removing data part.

* MergeTree for S3 integration tests and fixes.

* Code style issues.

* Enable AWS logging.

* Fixed hardlink creation for DiskLocal.

* Fixed localBackup.cpp compilation.

* Fixed attaching partition.

* Get rid of extra methods in IDisk.

* Fixed storage config reloading.

* More tests with table manipulations.

* Remove unused error codes.

* Move localBackup to MergeTree folder.

* Minor fixes.
2020-03-19 19:37:55 +03:00
Ivan
571d0d541c
Improve CCTZ contrib (#9687)
* common/Types.h → common/types.h
  Also split Core/Defines.h and merge with common/likely.h
* Improve cctz contrib
* Fix ALWAYS_INLINE and unbundled build
* Update Dockerfile from master
* Fix test for unbundled library
2020-03-19 13:38:34 +03:00
Nikolai Kochetov
339e818051 Parce commit message from merge commit name and search for it instead of commit number. 2020-03-17 17:38:11 +03:00
Nikolai Kochetov
d1556ba3ab
Merge pull request #9705 from ClickHouse/backport-script-support-conflict-tags
Support vX.X-conflicts tag in backport script.
2020-03-17 16:52:10 +03:00
Nikolai Kochetov
802b1e96c8 Support vX.X-conflicts tag in backport script. 2020-03-17 14:31:01 +03:00
Nikolai Kochetov
1edf735e8d Update script for backporting. 2020-03-16 18:27:07 +03:00
Alexey Milovidov
1f1da04cbe Fix changelog script 2020-03-16 04:26:09 +03:00
Nikita Mikhaylov
b15532dbdf
Merge pull request #9415 from Jokser/merge-tree-s3-initial
Storage MergeTree initial support for S3.
2020-03-10 13:22:44 +03:00
Alexey Milovidov
e335926882 Check XML validity 2020-03-07 06:28:03 +03:00
Pavel Kovalenko
8d07883b33 Merge branch 'master' into merge-tree-s3-initial
# Conflicts:
#	dbms/src/Storages/MergeTree/MergeTreeData.cpp
#	dbms/src/Storages/StorageMergeTree.cpp
2020-03-05 23:05:31 +03:00
Alexey Milovidov
c24cd0ea20 Ensure the number of empty lines 2020-03-03 05:45:20 +03:00
Pavel Kovalenko
d91ef06370 Code style and logical issues fix. 2020-02-28 14:54:18 +03:00
Alexey Milovidov
8f90c6ec12 Fixed ErrorCodes, part 3 2020-02-25 21:20:08 +03:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
CurtizJ
3f7f13ce05 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-02-20 15:36:55 +03:00
Alexey Milovidov
c76ff369bb Fix check-style #9161 2020-02-17 22:09:56 +03:00
Ivan Lezhankin
922add6244 Fix check-style util 2020-02-17 19:30:25 +03:00
Ivan Lezhankin
39ea079034 More clean-up 2020-02-17 17:27:09 +03:00
Ivan Lezhankin
4cedd4619d Code clean-up 2020-02-16 11:04:03 +03:00
Ivan
e43fe35a69
noop (#9122) 2020-02-14 16:15:50 +03:00
CurtizJ
2d7ff400ed Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-02-03 13:46:00 +03:00
alexey-milovidov
3a1e3f612e
Merge branch 'master' into idisk-seekable-readbuffer 2020-02-02 03:54:50 +03:00
Pavel Kovalenko
d4707ca911 Seek reworking. 2020-01-28 15:48:01 +03:00
alesapin
775bbf72e3
Merge pull request #8815 from ClickHouse/add_changelog_20
Changelog 20.1
2020-01-28 12:15:46 +03:00
alesapin
12e70d08f6 Remove another if 2020-01-28 11:58:11 +03:00
alesapin
e8619ce99d Now we have branches in .tgz repository 2020-01-28 11:50:29 +03:00
alesapin
79b2a77306 Changelog draft 2020-01-24 13:41:33 +03:00
alesapin
24e0d3e63d Remove token 2020-01-23 20:19:51 +03:00
alesapin
36e619ab4b Add trash script for tests history 2020-01-23 15:29:08 +03:00
Ivan
b80e3dcd46
Refactoring of replxx (#8748) 2020-01-23 11:18:19 +03:00
alexey-milovidov
ba7ab32098
Merge pull request #8774 from mnach/ci-build-gcc-fix
minor fixes in build-gcc script
2020-01-22 17:59:43 +03:00
Mikahil Nacharov
e357c6feaf
minor fixes in build-gcc script 2020-01-22 16:27:27 +05:00
CurtizJ
9275225527 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-01-21 17:21:52 +03:00
CurtizJ
27750f0cd4 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-01-15 19:36:35 +03:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx 2020-01-11 19:59:33 +03:00
alexey-milovidov
7d56965440
Merge pull request #8619 from ClickHouse/remove-old-zstd-test
Removed old ZSTD test
2020-01-11 12:36:39 +03:00
Alexey Milovidov
91e0d79007 Removed old ZSTD test 2020-01-10 21:41:09 +03:00
alesapin
f3b291c282 Slightly improve script and add docs 2020-01-10 16:50:39 +03:00
alexey-milovidov
5cf8253203
Merge pull request #8591 from ClickHouse/install_script_for_tgz
Install script for tgz package
2020-01-10 16:48:38 +03:00
filimonov
83623f232a
fix printing changelog with non-ascii chars 2020-01-10 14:34:02 +01:00
Ivan Lezhankin
5950f6c081 Merge remote-tracking branch 'upstream/master' into replxx 2020-01-09 19:21:04 +03:00
alesapin
05a36ec05c unComment line 2020-01-09 16:02:05 +03:00
alesapin
f05a27c147 Some updates in trash scripts 2020-01-09 15:59:45 +03:00
CurtizJ
33ae97894b Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-01-09 15:54:37 +03:00
filimonov
573b6d23a8
make_changelog.py::process_unknown_commits unicode fix 2020-01-07 22:40:48 +01:00
Vladimir Chebotarev
a1ff6cf66c
Updated guide for installing ClickHouse from source in Arch Linux. 2020-01-05 21:50:32 +03:00
Vladimir Chebotarev
0dc427b132 Added creation of user and working directory to Arch Linux install script. 2020-01-05 17:23:39 +03:00
alexey-milovidov
42226b1a96
Added setting "min_bytes_to_use_mmap_io" (#8520)
* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io": better error message

* Added setting "min_bytes_to_use_mmap_io": fixed error
2020-01-04 08:46:50 +03:00
Alexey Milovidov
8964a7ac42 Fixed build 2020-01-02 13:27:40 +03:00
Ivan Lezhankin
13b88886d4 [WIP] 2020-01-01 22:22:57 +03:00
Vitaly Baranov
56a95e1719 make_changelog.py now considers not only release PR but also PRs which
were cherry-picked to the release branch.
2019-12-29 12:46:17 +07:00
Ivan Lezhankin
bf22e12e4e Initial replacement readline → replxx 2019-12-27 16:17:36 +03:00
Maxim Ulanovskiy
32995e3ad5 cosmetic doc fixes 2019-12-26 18:59:38 +03:00
CurtizJ
4bd4ac715c Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2019-12-25 03:10:24 +03:00
CurtizJ
206cb1afa9 fix broken by refactoring functionality with wide parts 2019-12-25 01:49:39 +03:00
liyang
59f0431e2d fix bug in select_with_query 2019-12-19 20:33:49 +08:00
taiyang-li
e9d4d2cf26
rename error to err
because "error" is conflict with keyword "error" in golang
2019-12-19 20:00:47 +08:00
alesapin
aaa8032e83 Push packages to lts 2019-12-11 14:17:47 +03:00
Alexey Milovidov
f74aca4c2e Removed useless tool 2019-12-09 00:32:15 +03:00
Alexander Kuzmenkov
233212ac68
Merge pull request #7531 from amosbird/getkeymapped
Unify hash tables interface (separated for review)
2019-11-06 13:49:39 +03:00
Alexander Kuzmenkov
bfc611b1a2 Changelog script: add rev-parse & fix category regex. 2019-11-06 13:32:49 +03:00
Amos Bird
fbfbe161ec
Unify hash tables interface. 2019-11-06 00:08:04 +08:00
Alexander Kuzmenkov
a8731a9597 Update category regex in changelog script 2019-11-05 18:41:27 +03:00
Alexander Kuzmenkov
bba08b585d Update changelog script.
* support python3
* synchronize with Description Check
2019-11-05 16:20:33 +03:00
alexey-milovidov
fc845b3b92
Update README.md 2019-11-03 14:12:36 +03:00
Alexey Milovidov
c23a1cb9a5 Added ANTLR4 grammar #7595 2019-11-03 14:10:03 +03:00
alexey-milovidov
d7e17e28f8
Merge pull request #7580 from ClickHouse/blinkov-patch-12
fix python issue reported by lgtm.com
2019-11-02 00:51:29 +03:00
alexey-milovidov
db536fdc12
Merge pull request #7581 from ClickHouse/blinkov-patch-13
remove unused format argument
2019-11-02 00:51:09 +03:00
alexey-milovidov
7e16805437
Merge pull request #7583 from ClickHouse/blinkov-patch-14
[make_changelog] avoid except without specifying class
2019-11-02 00:50:52 +03:00
Ivan Blinkov
6ae6707eda
Update status.py 2019-11-01 19:14:58 +03:00
Ivan Blinkov
d0c65b491a
Update status.py 2019-11-01 19:10:50 +03:00
Ivan Blinkov
659b467290
Update produce.py 2019-11-01 19:10:15 +03:00
Ivan Blinkov
ac7fb00849
Update manage.py 2019-11-01 19:09:35 +03:00
Ivan Blinkov
4765b7bee5
[utils/kafka] provide some exit code from main 2019-11-01 19:08:29 +03:00
Ivan Blinkov
9af95b9d7a
[make_changelog] avoid except without specifying class 2019-11-01 19:06:33 +03:00
Ivan Blinkov
9fd7fee9ba
remove unused format argument 2019-11-01 18:57:14 +03:00
Ivan Blinkov
c13e330a1d
fix python issue reported by lgtm.com
`Call to ArgumentError.__init__ with too few arguments; should be no fewer than 2.`
2019-11-01 18:53:14 +03:00
proller
0006f2a370 Fix build without submodules (#7295)
* Build fixes

*            fix

* Fix

* fix

* Fix install(export..

* Freebsd fixes

* Freebsd fixes

* Fix warning

* fix

* More PRIVATE linking

* Fix review

* Timmy

* Timmy

* fix

* Try fix jemalloc link

* style
2019-10-30 23:34:06 +03:00
tavplubix
0046b9f137 Wait for jobs to finish on exception (fixes rare segfaults) (#7350) 2019-10-17 17:41:27 +03:00
Ivan Lezhankin
340705f1ca Fix backporting script
Rename yandex → ClickHouse
2019-10-09 14:37:20 +03:00
alesapin
e31f33bc1c Fix category search in changelog script 2019-10-08 11:59:29 +03:00
proller
594c535bd4 Build fixes (#7063)
* Build fixes

*            fix

* Fix

* fix

* Fix install(export..

* Freebsd fixes

* Freebsd fixes

* Fix warning

* fix

* More PRIVATE linking

* Fix review

* Timmy

* fix

* fix
2019-10-05 22:25:31 +03:00
Alexey Milovidov
abbd451131 Updated default repository. 2019-10-02 00:47:07 +03:00
filimonov
40c9d44a66
rpm: preserve existing configs on package upgrade 2019-09-26 07:10:41 +02:00
alexey-milovidov
d4df1030c9
Merge pull request #7073 from filimonov/patch-4
add obsoletes section to clickhouse-server spec
2019-09-25 21:46:34 +03:00
Alexey Milovidov
ff07ffbbae Merge branch 'merging_redis' of https://github.com/CurtizJ/ClickHouse into CurtizJ-merging_redis 2019-09-25 02:27:05 +03:00
alexey-milovidov
2f195ddb03
Merge pull request #7028 from abyss7/issue-6459
Implement cross-compilation support Linux → Darwin
2019-09-24 02:20:17 +03:00
filimonov
c9252964c3
add obsoletes section to clickhouse-server spec 2019-09-23 23:36:51 +02:00
Alexey Milovidov
8579c26efb Changed repository URL 2019-09-23 19:18:19 +03:00
Ivan Lezhankin
4b143c3e0f Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-23 16:07:19 +03:00
Ivan Lezhankin
9e46118edd Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Ivan Lezhankin
8cb0e58bc7 Fix build for all targets 2019-09-20 21:13:51 +03:00
Ivan
5526f33a5e
Implement auto-labelling for the backporting script (#7001) 2019-09-19 21:01:47 +03:00
CurtizJ
79a08ef8ea Merge remote-tracking branch 'upstream/master' into merging_redis 2019-09-18 12:58:22 +03:00
alexey-milovidov
fe9e110a6a
Merge pull request #6965 from azat-archive/sparsehash-c11
Replace libsparsehash with sparsehash-c11
2019-09-18 12:46:13 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
proller
5d08a7b353 Remove gcc-7 from build scripts 2019-09-17 13:37:35 +03:00
proller
bcffa17b92 better 2019-09-14 12:20:17 +03:00
proller
25fdaefcae remove gcc-7 2019-09-14 12:11:52 +03:00
CurtizJ
3b3657ff1e Merge branch 'add-ext-dict-redis' of https://github.com/comunodi/ClickHouse into merging_redis 2019-09-09 13:51:50 +03:00
Ivan Lezhankin
6f1a8c37ab Print API costs in utils/github 2019-09-06 15:42:15 +03:00
Ivan Lezhankin
89a444c4a0 Fix script for releases 2019-09-06 13:37:04 +03:00
Ivan
b4339f266d
Make a better build scheme (#6500)
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
b42f85e16b Added a check for double whitespaces 2019-08-23 21:30:04 +03:00
Alexey Milovidov
5fd649e663 Check for broken symlinks #6625 2019-08-23 18:10:33 +03:00
Alexey Milovidov
dd73996073 Added instruction for "list_backports" script 2019-08-21 01:52:57 +03:00
Ivan
a502424c33
Implement support for insertion into Kafka tables (#6012)
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
Alexey Milovidov
8ff4c38751 Added option to generate changelog from a list of PRs 2019-08-05 22:24:51 +03:00
Alexey Milovidov
acd6651f60 Better changelog script 2019-08-05 03:23:42 +03:00
Alexey Milovidov
ff1be9755f Removing extra whitespaces 2019-08-05 02:36:02 +03:00
Alexey Milovidov
ea22e8fb09 Allowed unknown authors; substituting links to issues 2019-08-05 02:04:22 +03:00
Alexey Milovidov
39f711d895 Allowed unknown authors; substituting links to issues 2019-08-05 02:02:44 +03:00
Alexey Milovidov
3f2d0dfcec Sorting categories in desired order; skipping documentation fixes 2019-08-05 00:42:32 +03:00
Alexey Milovidov
17766bf141 Make changelog script more sane 2019-08-05 00:31:52 +03:00
Alexey Milovidov
58d5e58eed Avoid finding commits in forks 2019-08-04 23:32:16 +03:00
Alexey Milovidov
95b0ec46b9 Attempt to make changelog generator better 2019-08-04 23:17:51 +03:00
Alexey Milovidov
d4002a7188 Moved "ci" directory to "utils", because we are actually using different CI, but these scripts are still usable 2019-08-04 22:10:14 +03:00
alexey-milovidov
fe3831b6ef
Update build_macos.sh 2019-07-25 23:32:13 +03:00
alexey-milovidov
20a8914858
Merge pull request #6132 from vitlibar/allow-protobuf-message-with-all-fields-by-default
Allow protobuf message with all fields by default
2019-07-25 04:12:23 +03:00
Vitaly Baranov
2068e1f0e0 Add more protobuf IO tests. 2019-07-23 16:57:25 +03:00
Vitaly Baranov
4f91e3e4b7 Fix protobuf format tests. 2019-07-23 16:51:22 +03:00
alesapin
6ff1dce79a Backquote key in debsign 2019-07-23 12:46:54 +03:00
Vitaly Baranov
e6aebb5b13 Fix after review. 2019-07-19 12:19:47 +03:00
Vitaly Baranov
9fb3135c23 Improve utility zookeeper-adjust-block-numbers-to-parts.
Add filter on shards and tables.
Add flag --dry-run.
The utility now checks cversion before doing anything.
2019-07-19 03:39:22 +03:00
alesapin
f32b3975c7 Fix version 2019-07-16 13:02:31 +03:00
alesapin
458a171fef Add dependencies to rpm packages 2019-07-16 12:33:47 +03:00
alesapin
3f0df28109
Merge pull request #5977 from yandex/sign_rpms
Add ability to sign rpm packages
2019-07-11 19:03:21 +03:00
alesapin
a6220e289a Add ability to sign rpm packages 2019-07-11 15:50:41 +03:00
Alexey Milovidov
8abe0990b2 Remove "clickhouse_compression" library because it is not a library (cyclic dependency via IDataType) 2019-07-10 00:43:04 +03:00
alexey-milovidov
3571011a49
Merge pull request #5719 from excitoon-favorites/arch-package
Added Arch linux package generation.
2019-06-28 15:00:15 +03:00
Vladimir Chebotarev
b0b821e5e3 Moved Arch Linux package template to a proper folder. 2019-06-28 07:22:03 +03:00
alesapin
ab8dd1d4e3
Merge pull request #5769 from yandex/add_rpm_build_to_packager
Add ability to build rpm and tgz packages via packager
2019-06-27 23:14:19 +03:00
alesapin
265c18b45f Fix tgz-release in push packages 2019-06-27 19:00:26 +03:00
proller
1bb911f742 release --rpm: Fix redefining version 2019-06-27 18:37:13 +03:00
proller
0bd65f49a2 Better release --rpm 2019-06-27 17:12:53 +03:00
proller
3149b57100
release script: convert .deb to .rpm and .tgz (#5740) 2019-06-25 16:55:31 +03:00
alexey-milovidov
f9cab91447
Merge pull request #5617 from proller/fix15
19.8 build fixes
2019-06-14 17:29:51 +03:00
proller
09f3d68f6e Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540)
* Try fix macos server run

* Doc macos build
 # Please enter the commit message for your changes. Lines starting

* CLICKHOUSE-3957 start wip

* tests wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* Making logger for clickhouse-local

* fixes

* wip

* wip

* wip

* wip

* clean

*      cf

* wip

* fix

* Update CMakeLists.txt

* Update argsToConfig.h

* Update argsToConfig.cpp

* Update ExtendedLogChannel.h

* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
proller
fc7ae399c4 Use system rapidjson; Fix types for macos; 2019-06-14 13:28:30 +03:00
Alexey Milovidov
f38042f006 Check for namespace comments in "check-style" tool #5561 2019-06-13 13:45:32 +03:00
alesapin
d4f474cd19 Add prestable releases to packages pusher 2019-05-31 14:42:36 +03:00
Alexey Milovidov
f406eb17ae Added a tool to calculate checksums caused by bit flips 2019-05-19 01:48:28 +03:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
Ivan
4a5832b18a
Check the time limit every (flush_interval / poll_timeout) number of rows from Kafka (#5249) 2019-05-14 18:52:03 +03:00
proller
cc3de4115f
Build fixes (#5261) 2019-05-14 12:58:33 +03:00
Ivan
1eb835be35
Reduce maximum page size (#5140) 2019-04-29 17:22:04 +03:00
proller
fd63093032 Add gperf to build requirements (for upcoming pull request #5030 ) 2019-04-25 17:31:08 +03:00
alesapin
8d808aedf3 Fix bug in s3uploader 2019-04-23 14:50:43 +03:00
Alexey Milovidov
720f911379 Removed obsolete files 2019-04-22 22:28:10 +03:00
alexey-milovidov
0cf40e0029
Merge pull request #5082 from yandex/pvs-studio-fixes-3
Resolved some of PVS-Studio warnings
2019-04-22 22:06:07 +03:00
alexey-milovidov
b1cf026b5b
Merge pull request #5080 from abyss7/issue-4736
Do not drop Kafka Consumer buffers after deletion of stream
2019-04-22 19:18:33 +03:00
Alexey Milovidov
58d7d1e451 Resolved some of PVS-Studio warnings 2019-04-22 19:07:09 +03:00
Ivan Lezhankin
7723a63d0a Add helper utils to interact with Kafka broker 2019-04-18 17:36:51 +03:00
proller
525726a5e2
Remove pocoext (#5036) 2019-04-17 20:36:58 +03:00
alesapin
ed47aa109d
Merge pull request #4998 from abyss7/release-helpers
Detect backports by PRs to stable branches with `pr-backport` label
2019-04-16 20:05:18 +03:00
alesapin
faeb95cfd7
Merge branch 'master' into adaptive_index_granularity 2019-04-15 19:36:36 +03:00
Ivan Lezhankin
31a566c4f2 Detect backports by PRs to stable branches with pr-backport label
Also add some fancy colors.
2019-04-12 19:08:38 +03:00
alesapin
3accb16cc6
Merge pull request #4949 from abyss7/release-helpers
Add python util to help with releases
2019-04-11 19:28:58 +03:00
Ivan Lezhankin
722e022e54 Allow to filter PRs by login 2019-04-11 19:16:57 +03:00
Ivan Lezhankin
af7ab86ab6 Refactor queries 2019-04-11 18:08:25 +03:00
alesapin
9544784b71 Retry 500-error codes in changelog script 2019-04-11 13:54:19 +03:00
Ivan Lezhankin
1311244203 Detect backports via manually set labels. 2019-04-09 14:57:46 +03:00
Ivan Lezhankin
78d5de9dd3 Respect label color to check for backporting 2019-04-09 12:55:10 +03:00
Ivan Lezhankin
40be310fa0 Prettify output 2019-04-09 12:25:18 +03:00
Ivan Lezhankin
692c5a6ed2 Better filter associated pull-requests 2019-04-08 22:28:08 +03:00
Ivan Lezhankin
5a909b01b0 Print more problems 2019-04-08 19:11:13 +03:00
Ivan Lezhankin
be23dff3b0 Initial implementation.
Prints "good" and "bad" commits.
2019-04-08 18:33:05 +03:00
alesapin
a53b002973 Merge remote-tracking branch 'origin' into adaptive_index_granularity 2019-04-08 14:29:33 +03:00
Danila Kutenin
37d70ac558 MarkCache and UncompressedCache use different allocator to catch segfaults more reliable 2019-04-06 18:27:39 +03:00
alesapin
1291ecbed7 Better logging in adjust block util 2019-04-04 22:44:04 +03:00
alesapin
43ed0a8e7f Style fix 2019-04-04 16:03:20 +03:00
alesapin
ee49252160 Add util for adjust block numbers in zookeper 2019-04-04 16:01:48 +03:00
alesapin
7b67200258 Merge remote-tracking branch 'origin' into adaptive_index_granularity 2019-04-01 11:54:19 +03:00
proller
1584fd4367
Fix hyperscan library find and use (#4798) 2019-03-26 00:31:00 +03:00
alesapin
b5d6813604 Fix vertical merge again 2019-03-20 20:04:34 +03:00
alesapin
2b2a637a38 Simpliest write/merge/select test works 2019-03-18 18:54:58 +03:00
Alexey Milovidov
825f0aab48 Fixed typo 2019-03-15 21:31:36 +03:00
proller
8c70de3bc7
Build fixes (freebsd) (#4696) 2019-03-14 23:52:10 +03:00
proller
cf8001b6a9
Fix includes (#4673) 2019-03-13 16:58:04 +03:00
proller
d2e18d47fb
Fix link in split mode (#4574) 2019-03-04 20:47:31 +03:00
alesapin
11a3a4bf68 Add first version of script for packages push 2019-03-04 15:56:46 +03:00
Amos Bird
26ab5dd7a7 A Proper lookup table that uses HashTable's API
This is the first step of allowing heterogeneous cells in hash tables.

performance test results are

```

1. HashMap<UInt16, UInt8, TrivialHash, HashTableFixedGrower<16>>;
2. NewLookupMap<UInt16, UInt8>

ResolutionWidth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................223550276.46
ResolutionWidth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................248772721.24
Best: 2 - 24877272124

ResolutionWidth 100000 1 ..........................................................................................................................................................................................................................................................238498413.99
ResolutionWidth 100000 2 ..........................................................................................................................................................................................................................................................261808889.98
Best: 2 - 26180888998

ResolutionWidth 300000 1 ...................................................................................239307348.81
ResolutionWidth 300000 2 ...................................................................................257592761.30
Best: 2 - 25759276130

ResolutionWidth 1000000 1 .........................240144759.26
ResolutionWidth 1000000 2 .........................257093531.91
Best: 2 - 25709353191

ResolutionWidth 5000000 1 .....241573260.35
ResolutionWidth 5000000 2 .....259314162.79
Best: 2 - 25931416279

ResolutionDepth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................217108119.84
ResolutionDepth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................249459504.41
Best: 2 - 24945950441

ResolutionDepth 100000 1 ..........................................................................................................................................................................................................................................................229065162.17
ResolutionDepth 100000 2 ..........................................................................................................................................................................................................................................................253769105.64
Best: 2 - 25376910564

ResolutionDepth 300000 1 ...................................................................................233079225.18
ResolutionDepth 300000 2 ...................................................................................256316273.78
Best: 2 - 25631627378

ResolutionDepth 1000000 1 .........................234184633.51
ResolutionDepth 1000000 2 .........................261100491.57
Best: 2 - 26110049157

ResolutionDepth 5000000 1 .....233118795.66
ResolutionDepth 5000000 2 .....252436160.41
Best: 2 - 25243616041

```
2019-03-01 16:47:13 +08:00
Vitaly Baranov
2e8669211a Improve test: check input/output with protobuf schema containing nested messages. 2019-02-27 14:37:17 +03:00
Vitaly Baranov
78c808da10 Add a test for checking reading data from protobuf messages. 2019-02-20 07:28:18 +03:00
proller
e20c77e4c6 Add parquet support. Fixes, tests, ... 2019-02-19 23:51:44 +03:00
proller
f5560660be Fix brotli (unbundled, missing, ...) 2019-02-13 18:35:11 +03:00
Alexey Milovidov
57e038c754 Added a script to check for ungrouped includes 2019-02-10 20:40:18 +03:00
Alexey Milovidov
fdf69f38c0 Added a script to check for duplicate includes 2019-02-10 20:00:29 +03:00
proller
e4f3713102 Fix link in split mode 2019-02-06 17:14:16 +03:00
alesapin
1c2087d3b8 Read revision from files only if it was not specified explicitly 2019-02-05 14:07:28 +03:00
alesapin
9d61d09c8c Add ability to set version in release_lib.sh via env variables 2019-02-04 18:14:44 +03:00
alexey-milovidov
012bd5267b
Merge pull request #4195 from yandex/convert-parts-from-old-format
А tool to convert an old month-partition part to the custom-partitioned format
2019-01-31 22:45:44 +03:00
Alexey Zatelepin
8957e73681 a tool to convert an old month-partition part to the custom-partitioned format [#CLICKHOUSE-4231] 2019-01-30 16:51:39 +03:00
alesapin
0531722fc9 Better logging in script 2019-01-29 19:29:03 +03:00
alesapin
b7583337a8 Add s3uploader script in tools 2019-01-29 15:12:28 +03:00
alexey-milovidov
a175c9734a
Merge pull request #4173 from yandex/make-chengelog-script
make_changelog.py review fixes.
2019-01-28 23:37:51 +03:00
Nikolai Kochetov
8263b66510 make_changelog.py review fixes. 2019-01-28 21:06:13 +03:00
alexey-milovidov
25e0f56e39
Merge pull request #4169 from yandex/make-chengelog-script
Added script for changelog.
2019-01-28 19:48:39 +03:00
Nikolai Kochetov
b82c34f0c2 Added script for changelog. 2019-01-28 18:33:34 +03:00
Alexey Milovidov
4e3d9a0f15 Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool 2019-01-28 14:20:24 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
Vitaly Baranov
ed1136e49e Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter,
rename variant=>varint.
2019-01-25 17:15:44 +03:00
Alexey Milovidov
65f8e4d4a8 Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
Vitaly Baranov
2e383bfdeb Added tests for writing protobufs. 2019-01-24 17:54:57 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
Alexey Milovidov
a7c468da8e Merge remote-tracking branch 'origin/master' into global-thread-pool 2019-01-17 21:57:01 +03:00
Alexey Zatelepin
0f8e5f8522 Merge branch 'master' into zk-columns-compact-storage
Conflicts:
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2019-01-16 17:45:16 +03:00
Alexey Milovidov
00a4b2cf8a Removing garbage, part 1 2019-01-13 21:51:57 +03:00
proller
497b6ec2ad
Better compile with low memory; Fix macos build, add utils/build/build_debian_unbundled_split.sh test script (#4030) 2019-01-11 15:40:19 +03:00
alexey-milovidov
a739edc239
Merge pull request #4013 from yandex/pvs-studio-fixes-2
Fixed bugs found by PVS-Studio
2019-01-09 22:55:11 +03:00
proller
64c2c3650c
cmake: Dont cache version; macos: fix build; /release_lib.sh move to utils (#4016) 2019-01-09 21:32:43 +03:00
Alexey Milovidov
19f4652959 Fixed bugs found by PVS-Studio 2019-01-09 18:44:20 +03:00
proller
300bbdfb43 Fix cyclic lib depend ppart 2: clean 2018-12-28 21:15:26 +03:00
proller
0c78ef8573 Fix cyclic lib depend (make clickhouse_compression lib) 2018-12-28 20:27:53 +03:00
Alexey Zatelepin
46621aea32 add util to copy zookeeper trees [#CLICKHOUSE-4024] 2018-12-28 16:20:35 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
Custom compression codecs
2018-12-28 08:29:09 +03:00
proller
1a0a879a51 Build fixes 2018-12-27 18:23:37 +03:00
alesapin
1e771a4aec Fix error codes 2018-12-24 14:34:50 +03:00
proller
bebaf9d861 Fix includes, Faster compile (#3898)
* Fix includes

* Faster compile

* WTFix

* Limit compile and linking jobs according to available memory

* Add comment

* fix

* Remove ALL from copy-headers target

* Freebsd fix

* Better

* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
alesapin
42b9735760 Add LZ4HC 2018-12-21 17:03:53 +03:00
proller
6869771ae4 Fix includes 2018-12-19 20:57:51 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ (#2443) 2018-11-27 19:11:46 +03:00
Alexey Milovidov
7d6fffff48 More style checks [#CLICKHOUSE-3] 2018-11-24 04:48:06 +03:00
Alexey Milovidov
5ec3db20cd More style checks [#CLICKHOUSE-2] 2018-11-23 21:55:43 +03:00
Alexey Milovidov
dbbacf4f87 Added more style checks [#CLICKHOUSE-3] 2018-11-23 21:52:00 +03:00
Alexey Milovidov
ab5d76fc42 Fixed error introduced in #3553 and prevent it happening 2018-11-21 23:56:37 +03:00
proller
1d40c2c871 Better link and deps (#3631)
* try fix 1

* Better deps

* fix

* fix

* fix

* Update CMakeLists.txt

* Update CMakeLists.txt

* fix

* fix

* fix

* disable old

* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
proller
2deb523265 Fix build with old capnp 2018-11-20 18:10:28 +03:00
proller
5678d1ed98 Build fixes (#3545)
* StorageSystemContributors clean

* Fix

* ARM fixes

* Fix arm compile

* fix

* Fix macos?

* Fix includes

* fix

* fix

* Try fix apple build part 1

* Fix identation

* Fix static libc++ in clang

* fix arm build

* better

* fix

* fix

*  better check-include
2018-11-10 23:09:07 +03:00
proller
7dafcacd15
Build fixes (#3459) 2018-10-24 20:20:27 +03:00
proller
ff1598e972
Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos) (#3382) 2018-10-16 12:30:51 +03:00
Alexey Milovidov
35d3a65881 Fixed postprocess-traces script [#CLICKHOUSE-4017] 2018-09-28 07:35:59 +03:00
alexey-milovidov
3fd0edefb9
Merge pull request #2992 from proller/fix13
Start making code quality tests : cmake .. -DENABLE_CODE_QUALITY=1 && ninja && ctest
2018-08-29 23:18:30 +03:00
proller
0f16160cb7 stderr.log fixes 2018-08-29 22:52:04 +03:00
proller
0ce1a9c095 Start making code quality tests : cmake .. -DENABLE_CODE_QUALITY=1 && ninja && ctest 2018-08-29 22:43:58 +03:00
proller
18044995ba Fix includes 2018-08-28 22:36:27 +03:00
proller
3acce3bff9 Build fix (#2944)
* Build fix

* Better sample build scripts

* zlib apple fix

* fix

* fix

* better so version

* SPLIT_SHARED -> LINK_MODE

* clean
2018-08-27 17:39:20 +03:00
Alexey Milovidov
3475ef5304 Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2] 2018-08-25 04:58:14 +03:00
proller
744b310a0f Debian: Dont build utils 2018-08-23 19:06:45 +03:00
proller
518f1f41a3 clean 2018-08-23 15:28:45 +03:00
proller
300457da7a fix 2018-08-21 21:35:47 +03:00
proller
87de8db717 fix 2018-08-21 19:35:54 +03:00
proller
fc2925b567 Squashed commit of the following:
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date:   Tue Aug 21 18:34:18 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date:   Tue Aug 21 17:00:20 2018 +0300

    fix

commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:57:17 2018 +0300

    fix

commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:50:21 2018 +0300

    freebsd fixes

commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:17:19 2018 +0300

    fix

commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:35:21 2018 +0300

    fix

commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:25:57 2018 +0300

    fix

commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:20:41 2018 +0300

    fix

commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:58:07 2018 +0300

    SPLIT_SHARED

commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:52:39 2018 +0300

    fix

commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:46:31 2018 +0300

    fix

commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:25:32 2018 +0300

    fix

commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:45:18 2018 +0300

    Travis: try fail on ninja fail

commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:25:15 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:57:24 2018 +0300

    fix

commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:57:03 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:49:58 2018 +0300

    Apple fixes

commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:25:05 2018 +0300

    apple fix

commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:20:06 2018 +0300

    fixes

commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:11:11 2018 +0300

    fix

commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:41:53 2018 +0300

    fix

commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:35:49 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:34:32 2018 +0300

    Do not use poco types

commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:20:42 2018 +0300

    Try fix apple build

commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:03:24 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date:   Mon Aug 20 21:56:06 2018 +0300

    travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00