Commit Graph

952 Commits

Author SHA1 Message Date
Alexey Milovidov
e8919c49fb Merge branch 'master' into replace-memcpy 2021-03-13 09:39:58 +03:00
robot-clickhouse
ede0031dc4 Update version_date.tsv after release 21.3.2.5 2021-03-12 18:08:46 +03:00
Alexey Milovidov
14d92edf96 Maybe GitHub API has changed 2021-03-11 08:47:41 +03:00
Alexey Milovidov
39dbc11a3d Fix style check 2021-03-09 03:21:38 +03:00
Alexey Milovidov
f0342eda9c Add experimental memcpy implementation 2021-03-08 13:05:18 +03:00
Alexey Milovidov
940ce5884e Add memcpy-bench tool 2021-03-08 12:04:52 +03:00
Alexey Milovidov
2c86bc4ea3 Addition to prev. revision 2021-03-08 10:00:54 +03:00
Alexey Milovidov
4e8239e098 Merge branch 'master' into DateTime64_extended_range 2021-03-03 23:43:20 +03:00
alesapin
15a29dd3e6 Stop yelling 2021-03-03 19:28:46 +03:00
alesapin
eb5e416fd5 Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-03 19:19:02 +03:00
robot-clickhouse
6a6bc3924d Update version_date.tsv after release 20.8.14.4 2021-03-03 16:53:26 +03:00
alesapin
07e39ef47a Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-03 11:12:01 +03:00
robot-clickhouse
d9e22ba646 Update version_date.tsv after release 20.12.8.5 2021-03-02 15:53:39 +03:00
robot-clickhouse
24860bd291 Update version_date.tsv after release 21.1.6.13 2021-03-02 15:17:44 +03:00
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