Commit Graph

586 Commits

Author SHA1 Message Date
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