Commit Graph

802 Commits

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