Commit Graph

46775 Commits

Author SHA1 Message Date
Azat Khuzhin
07923cd7cd Fix 01085_max_distributed_connections flackiness
1.8 seconds is too small delay, which eventually can lead to
false-positive if the machine will be slow enough.

Increase number of remote streams and the delay, to avoid
false-positive.
2020-08-28 02:41:11 +03:00
Ivan Blinkov
25eb53636d
Update README.md 2020-08-26 10:17:25 +03:00
alexey-milovidov
31460db37c
Merge pull request #14028 from ClickHouse/hczhcz-patch-0819-2
Merging #13877
2020-08-26 04:24:24 +03:00
alexey-milovidov
5a8bd865ee
Merge pull request #14065 from ClickHouse/adjust_test_time
Adjust test time
2020-08-26 04:23:36 +03:00
alexey-milovidov
6d80255bca
Merge pull request #14055 from ClickHouse/investigate-test
Fix test `01056_prepared_statements_null_and_escaping.sh`
2020-08-26 03:47:47 +03:00
alexey-milovidov
2d9c806f1b
Merge pull request #14066 from ClickHouse/fix-flacky-test-10
Fix error in clickhouse-benchmark test
2020-08-26 03:41:16 +03:00
alexey-milovidov
f904664742
Merge pull request #14063 from azat/bump-zlib-ng-gcc10
Bump zlib-ng (to fix gcc10 build)
2020-08-26 03:40:53 +03:00
alexey-milovidov
f40b80ed45
Merge pull request #12756 from sundy-li/hotfix/dict-access
Fix ClickHouseDictionarySource wrong access check
2020-08-26 03:33:42 +03:00
alexey-milovidov
7271c9c983
Merge pull request #14059 from azat/gcc10-fixes
gcc10 build fixes
2020-08-26 03:31:03 +03:00
alexey-milovidov
729f601601
Merge pull request #13849 from olgarev/revolg-DOCSUP-997-lock_acquire_timeout_setting
DOCSUP-997: Documented the lock_acquire_timeout setting
2020-08-26 03:03:47 +03:00
alexey-milovidov
7edb911e91
Merge pull request #13687 from podshumok/forcers
cmake: Add option to fail configuration instead of auto-reconfiguration. And make it default
2020-08-26 03:00:26 +03:00
alexey-milovidov
2c45c27e0e
Merge pull request #14057 from azat/clickhouse-copier-cmd-args-width
Use terminal width for the formatted help text of the clickhouse-copier
2020-08-26 02:27:12 +03:00
alexey-milovidov
c1c5474730
Merge pull request #14051 from javisantana/fix/info_in_read_only_table
adds some info to the exception about zookeeper path
2020-08-26 02:27:01 +03:00
alexey-milovidov
00c697df06
Merge pull request #14005 from ClickHouse/ucasFL-new-branch
Merging #12195
2020-08-26 01:33:54 +03:00
Alexey Milovidov
86d99f7c7f Disable "optimize_trivial_insert_select" for one perf test 2020-08-26 01:33:31 +03:00
alexey-milovidov
75a3bbf5b2
Merge pull request #13722 from javisantana/fix/replicas_status_verbose
return 200 when replicas status is ok and verbose = 1
2020-08-26 00:35:47 +03:00
alexey-milovidov
421faed3f5
Merge pull request #14047 from 4ertus2/some
Test for AST optimizations with Distributed query
2020-08-26 00:11:44 +03:00
Alexey Milovidov
e2721e95d8 Merge branch 'master' into hczhcz-patch-0819-2 2020-08-25 23:50:41 +03:00
alexey-milovidov
5405a258a4
Merge pull request #14038 from drag0nglass/patch-1
Update json-import.md
2020-08-25 23:36:06 +03:00
alexey-milovidov
b98f39312c
Merge pull request #14048 from vitlibar/add-test-for-changing-column-type
Add test for changing column's type by performing ADD COLUMN + UPDATE + DROP COLUMN
2020-08-25 23:34:04 +03:00
Alexey Milovidov
e05ad381ce Fix error in clickhouse-benchmark test 2020-08-25 23:33:03 +03:00
alexey-milovidov
e3b1d5e513
Merge pull request #14050 from ClickHouse/fix_no_space_left_message
Fix "no space left" extra info for Poco::Exception
2020-08-25 23:29:38 +03:00
Alexey Milovidov
f77e2149fc Adjust test time 2020-08-25 23:28:38 +03:00
alexey-milovidov
0567a2ce9c
Merge pull request #14058 from Octonica/master
Fixed formatting in en docs , updated client libraries links in all other languages
2020-08-25 23:24:06 +03:00
Alexey Milovidov
8864356f33 Kludge 2020-08-25 23:09:23 +03:00
Azat Khuzhin
9971cf2eff Bump zlib-ng (to fix gcc10 build)
[1] is required for gcc10 build, due to incorrect `static_ltree` declaration:

    ld.lld: error: duplicate symbol: static_ltree
    >>> defined at trees.h:6 (../contrib/zlib-ng/trees.h:6)
    >>>            trees.c.o:(static_ltree) in archive contrib/zlib-ng/libzlib.a
    >>> defined at deflate_quick.c:168 (../contrib/zlib-ng/arch/x86/deflate_quick.c:168)
    >>>            deflate_quick.c.o:(.rodata+0x0) in archive contrib/zlib-ng/libzlib.a
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.

  [1]: https://github.com/ClickHouse-Extras/zlib-ng/pull/2
2020-08-25 22:31:19 +03:00
Sergey Mirvoda
40c9e87aa2
updated client libraries in ja docs 2020-08-25 23:22:11 +05:00
Sergey Mirvoda
8e50bdd6c0
updated client libraries in zh docs 2020-08-25 23:21:32 +05:00
Sergey Mirvoda
0286974f6e
updated client libraries in tr docs 2020-08-25 23:20:52 +05:00
Azat Khuzhin
99db9341a2 Fix -Werror=type-limits in AggregateFunctionTimeSeriesGroupSum.h (size_t() >= 0)
gcc10 reports:

    In file included from ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.cpp:1:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h: In instantiation of ‘void DB::AggregateFunctionTimeSeriesGroupSumData<rate>::add(DB::UInt64, DB::Int64, DB::Float64) [with bool rate = true; DB::UInt64 = long unsigned int; DB::Int64 = long int; DB::Float64 = double]’:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:246:34:   required from ‘void DB::AggregateFunctionTimeSeriesGroupSum<rate>::add(DB::AggregateDataPtr, const DB::IColumn**, size_t, DB::Arena*) const [with bool rate = true; DB::AggregateDataPtr = char*; size_t = long unsigned int]’
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:239:10:   required from here
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:113:71: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
      113 |         while (result[i].first > it_ss->second.dps.front().first && i >= 0)
          |                                                                     ~~^~~~
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h: In instantiation of ‘void DB::AggregateFunctionTimeSeriesGroupSumData<rate>::add(DB::UInt64, DB::Int64, DB::Float64) [with bool rate = false; DB::UInt64 = long unsigned int; DB::Int64 = long int; DB::Float64 = double]’:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:246:34:   required from ‘void DB::AggregateFunctionTimeSeriesGroupSum<rate>::add(DB::AggregateDataPtr, const DB::IColumn**, size_t, DB::Arena*) const [with bool rate = false; DB::AggregateDataPtr = char*; size_t = long unsigned int]’
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:239:10:   required from here
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:113:71: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
2020-08-25 21:20:04 +03:00
Sergey Mirvoda
a792129723
updated client libraries in fr docs 2020-08-25 23:20:02 +05:00
Azat Khuzhin
9071457d3f Fix C++20 comparison calls recursively with reversed arguments in UInt128.h (over.match.oper#3.4.4 in gcc10)
Due to [1], gcc10 reports:

    ../src/Common/UInt128.h:92:81: error: in C++20 this comparison calls the current function recursively with reversed arguments [-Werror]
       92 | template <typename T> bool inline operator == (T a, const UInt128 b) { return b == a; }

  [1]: http://eel.is/c++draft/over.match.oper#3.4.4
2020-08-25 21:19:57 +03:00
Sergey Mirvoda
e0adbf5d6a
updated client libraries in fa docs 2020-08-25 23:19:19 +05:00
Sergey Mirvoda
e8d24ae204
updated client libraries in es docs 2020-08-25 23:18:34 +05:00
Sergey Mirvoda
e7a3ae3e4a
updated client libraries in Russian docs 2020-08-25 23:17:46 +05:00
Azat Khuzhin
0a34ae85a3 Use terminal width for the formatted help text of the clickhouse-copier
Like other utils, clickhouse-client and so on (since copier uses Poco,
while other uses boost).
Otherwise clickhouse-copier --help is unreadable.
2020-08-25 21:17:21 +03:00
Sergey Mirvoda
d6ae1a80bf
fixed formatting 2020-08-25 23:14:59 +05:00
Konstantin Podshumok
cbdedc39f2
REVERSE ME: workaround for docker/packager/unbundled
Please, reverse this commit after docker/packager/deb image update

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:34:36 +03:00
alexey-milovidov
0b07121177
Merge pull request #14054 from SergeyMirvoda/patch-1
Yet another .net core client library
2020-08-25 20:30:18 +03:00
Konstantin Podshumok
f4383389d5
sync unbundled/build.sh with a0ae1b2b42
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
cda4472ebc
dockerfiles: verify 3rd party apt repos, disable LLVM in PVS check
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
8ce844a40d
cmake: when USE_STATIC_LIBRARIES prefer bundled brotli
even if UNBUNDLED=ON because libbrotli*.a and similar are not
available in most of the systems

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
e296997b6c
cmake: fix potential curl linking problems
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
68a921cdea
cmake: use bundled rdkafaka for in unbundled tests for now
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5097793872
cmake: Fix odbc in unbudled
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
8479da3033
cmake: unbundled protobuf: don't expect old c++ API by default
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5d13c1f03f
cmake: unbundled: libxml2 requires liblzma when building static
Squashed:
- fixup hdfs3-libxml2

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
ef858027d4
unbundled: fix detection of mariadb headers
Squashed:
- unbundled: add warning about mariadbclient dependencies

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
45e089e0c3
re-enable replxx in packager for unbundled
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
b3180437da
test builds: docker/packager/packager: re-enable mysql
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00