Commit Graph

46257 Commits

Author SHA1 Message Date
Amos Bird
de4a070d6a
log error message 2020-08-14 09:54:51 +08:00
alexey-milovidov
e1a25053dd
Merge pull request #13681 from azat/optimize_move_functions_out_of_any-arrayJoin
Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any
2020-08-14 04:39:06 +03:00
alexey-milovidov
6ac1534f21
Merge pull request #13684 from azat/exceptions-from-signal-handlers
Reset signal handlers just before closing signal pipe to avoid EBADF after
2020-08-14 04:37:54 +03:00
Alexey Milovidov
baa85f0a88 Fix timeout in sql_fuzzy test 2020-08-14 04:35:02 +03:00
alexey-milovidov
c06cfda3cb
Merge pull request #13678 from ClickHouse/fix-typo-2
Fix typo due to copy-paste
2020-08-14 04:15:23 +03:00
alexey-milovidov
c1d10d9d09
Merge pull request #13685 from ClickHouse/fix-build
Fix clang build of example tools.
2020-08-14 04:15:05 +03:00
alexey-milovidov
eeefcd6493
Merge pull request #13337 from ClickHouse/refactor-pipes-3
Refactor Pipe
2020-08-14 04:12:22 +03:00
alexey-milovidov
3b05c315e4
Update Pipe.h 2020-08-14 04:10:10 +03:00
alexey-milovidov
4dc12873b9
Merge pull request #13616 from hagen1778/max-insert-block-size-docs
[docs]: explicitly mention unit of measurement for `max_insert_block_size`
2020-08-14 03:14:49 +03:00
Alexey Milovidov
ad20a384c1 Remove useless code 2020-08-14 02:55:10 +03:00
Alexey Milovidov
52cf85eaee Fix clang build 2020-08-13 23:13:13 +03:00
Azat Khuzhin
b7ba0b64dc Reset signal handlers just before closing signal pipe to avoid EBADF after
stack trace:

    (gdb) bt
    0  0x00007ffff7dda355 in raise () from /usr/lib/libc.so.6
    1  0x00007ffff7dc3853 in abort () from /usr/lib/libc.so.6
    2  0x0000000013a78180 in abort_message (format=format@entry=0x5781e10 "terminate_handler unexpectedly threw an exception") at abort_message.cpp:76
    3  0x0000000013a899ff in std::__terminate (func=<optimized out>) at cxa_handlers.cpp:67
    4  0x0000000013a771a1 in __cxxabiv1::call_terminate (native_exception=native_exception@entry=true, unwind_exception=unwind_exception@entry=0x7ffff70e9060) at cxa_personality.cpp:323
    5  0x0000000013a77669 in __cxxabiv1::scan_eh_tab (results=..., actions=<optimized out>, native_exception=native_exception@entry=true, unwind_exception=0x7ffff70e9060, context=context@entry=0x7fffffffc3a0) at cxa_personality.cpp:887
    6  0x0000000013a77bde in __cxxabiv1::__gxx_personality_v0 (version=<optimized out>, actions=<optimized out>, exceptionClass=<optimized out>, unwind_exception=0x7ffff70e9060, context=0x7fffffffc3a0) at cxa_personality.cpp:969
    7  0x0000000013a962d7 in unwind_phase1 (exception_object=0x7ffff70e9060, cursor=0x7fffffffc3a0, uc=0x7fffffffc2f0) at UnwindLevel1.c:98
    8  _Unwind_RaiseException (exception_object=exception_object@entry=0x7ffff70e9060) at UnwindLevel1.c:363
    9  0x0000000013a8929b in __cxxabiv1::__cxa_rethrow () at cxa_exception.cpp:607
    10 0x000000000f170ad2 in DB::WriteBuffer::next (this=0x7fffffffc510) at WriteBuffer.h:52
    11 writeSignalIDtoSignalPipe (sig=<optimized out>) at BaseDaemon.cpp:111
    12 <signal handler called>
    13 0x00007ffff7e9895b in munmap () from /usr/lib/libc.so.6
    14 0x00007ffff7f7e255 in free_stacks () from /usr/lib/libpthread.so.0
    15 0x00007ffff7f7e6aa in __deallocate_stack () from /usr/lib/libpthread.so.0
    16 0x00007ffff7f80898 in __pthread_clockjoin_ex () from /usr/lib/libpthread.so.0
    17 0x0000000013a759f7 in std::__1::__libcpp_thread_join (__t=0x7fff0aa2b090) at __threading_support:409
    18 std::__1:🧵:join (this=this@entry=0x7fff0aa2b090) at thread.cpp:56
    19 0x000000000a4c9399 in ThreadPoolImpl<std::__1::thread>::finalize (this=this@entry=0x7ffff7053900) at list:355
    20 0x000000000a4c9426 in ThreadPoolImpl<std::__1::thread>::~ThreadPoolImpl (this=0x7ffff7053900, __in_chrg=<optimized out>) at ThreadPool.cpp:172
    21 0x000000000a4c8a9c in GlobalThreadPool::~GlobalThreadPool (this=0x7ffff7053900, __in_chrg=<optimized out>) at ThreadPool.h:132
    22 std::__1::default_delete<GlobalThreadPool>::operator() (__ptr=0x7ffff7053900, this=<optimized out>) at memory:2363
    23 std::__1::unique_ptr<GlobalThreadPool, std::__1::default_delete<GlobalThreadPool> >::reset (__p=0x0, this=<optimized out>) at memory:2618
    24 std::__1::unique_ptr<GlobalThreadPool, std::__1::default_delete<GlobalThreadPool> >::~unique_ptr (this=<optimized out>, __in_chrg=<optimized out>) at memory:2572
    25 0x00007ffff7ddcc57 in __run_exit_handlers () from /usr/lib/libc.so.6
    26 0x00007ffff7ddcdfe in exit () from /usr/lib/libc.so.6
    27 0x00007ffff7dc5009 in __libc_start_main () from /usr/lib/libc.so.6
    28 0x000000000a48702e in _start () at new:340
2020-08-13 23:12:36 +03:00
alexey-milovidov
04a0ac66d8
Merge pull request #13683 from ClickHouse/revert-13540-forcers
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration"
2020-08-13 23:11:05 +03:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration" 2020-08-13 23:10:06 +03:00
Alexander Tokmakov
d1ef34adff fix 2020-08-13 22:41:06 +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
Azat Khuzhin
17b27b6c28 Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any
Otherwise the following query will be optimized incorrectly:

    SELECT
        *,
        any(arrayJoin([[], []]))
    FROM numbers(1)
    GROUP BY number

And the result will be:

    ┌─number─┬─arrayJoin(array(array(), array()))─┐
    │      0 │ []                                 │
    │      0 │ []                                 │
    └────────┴────────────────────────────────────┘

While should be:

    ┌─number─┬─any(arrayJoin(array(array(), array())))─┐
    │      0 │ []                                      │
    └────────┴─────────────────────────────────────────┘
2020-08-13 22:17:49 +03:00
Alexander Tokmakov
cd3155ff19 fix 2020-08-13 21:05:31 +03:00
Alexander Tokmakov
a5d74c44f1 run stress tests with Atomic database 2020-08-13 20:55:12 +03:00
Vitaly Baranov
e95da509bb
Merge pull request #13656 from vzakaznikov/ldap_create_user_identified_with_ldap_server
Updating LDAP user authentication suite to check that it works with RBAC
2020-08-13 20:34:59 +03:00
Alexander Tokmakov
0f1c4bc9c4 attach all system tables 2020-08-13 20:09:40 +03:00
Alexey Milovidov
bcd29dc9f8 Fix typo due to copy-paste 2020-08-13 18:41:26 +03:00
Amos Bird
3b92692458
Make drop table a little bit more robust 2020-08-13 22:22:04 +08:00
Vitaliy Zakaznikov
64e9095b9a Fixing issue with CREATE and DROP USER command by quoting user argument. 2020-08-13 09:54:12 -04:00
Vitaliy Zakaznikov
67df35962e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ldap_create_user_identified_with_ldap_server 2020-08-13 08:49:33 -04:00
Vitaliy Zakaznikov
55c70e6ecb Fixing test clickhouse/ldap authentication/user authentications/rbac=True/login after user cn changed in ldap. 2020-08-13 07:40:11 -04:00
Alexey Milovidov
2bed8bed80 Added a log of running benchmark of MonetDB on AWS m5a.8xlarge #13632 2020-08-13 03:34:59 +03:00
alexey-milovidov
77b7d71ffb
Merge pull request #13661 from ClickHouse/aws-results
Add results from AWS m5a.8xlarge
2020-08-13 03:33:58 +03:00
Alexey Milovidov
83a3f58943 Add results from AWS m5a.8xlarge 2020-08-13 01:46:40 +03:00
alexey-milovidov
080ea281bc
Merge pull request #13612 from vzakaznikov/testflows_enable_log_collection_on_docker_compose_up_failure
testflows: increasing health-check timeouts for clickhouse nodes
2020-08-13 00:53:53 +03:00
alexey-milovidov
b243a0c37a
Merge pull request #13626 from ClickHouse/fix_deadlock_in_replication_queue
Fix deadlock and logical error in replication queue
2020-08-13 00:53:09 +03:00
Vitaliy Zakaznikov
034c680a05 * Adding Markdown source for the requirements
* Adding a requirement to be able to add users identified
  with an LDAP server using RBAC
* Updating requirements.py
2020-08-12 16:55:46 -04:00
Alexander Tokmakov
a6ff049eec use Atomic for system database 2020-08-12 23:40:13 +03:00
Vitaliy Zakaznikov
96d10a76d8 Updating LDAP user authentication suite to check user
authentications when users are added using RBAC.
2020-08-12 16:30:26 -04:00
Alexey Milovidov
5ecb9c1988 Fix a bug on the website: bad place of horizontal scroll bar 2020-08-12 21:31:26 +03:00
Alexey Milovidov
74832999cc Update a story 2020-08-12 21:23:33 +03:00
alexey-milovidov
190d991346
Merge pull request #13628 from excitoon/patch-1
Removed `-DENABLE_CURL_CLIENT` for `contrib/aws`
2020-08-12 19:25:57 +03:00
Alexander Kuzmenkov
fad9ef3671 Fix the 01428_hash_set_nan_key test not to rely on backwards-incompatible changes
in `modulo` made in https://github.com/ClickHouse/ClickHouse/pull/12585
2020-08-12 19:02:36 +03:00
Ilya Yatsishin
e6420c82ca
mysql/postgresql: move Dockerfiles and docker_compose to docker/test (#13448)
* mysql/postgresql: move Dockerfiles and docker_compose to docker/test
* Build client containers in CI
* pass tag to docker_compose
2020-08-12 18:04:36 +03:00
tavplubix
4aff48dc3f
Merge pull request #10851 from zhang2014/feature/materialize_mysql_database
ISSUES-4006 support MaterializeMySQL database engine
2020-08-12 15:59:28 +03:00
Alexander Kuzmenkov
6fdfe65694 performance comparison 2020-08-12 11:55:51 +03:00
Azat Khuzhin
6097f769c7 Fix assertion for carriage return in the header in TSVWithNames* format.
TabSeparatedRowInputFormat::readPrefix() tries to check for carriage
return (via checkForCarriageReturn()), however it does the check after
checking the column is exists, reorder the codepath a little bit to
run checkForCarriageReturn() before.
2020-08-12 11:13:19 +03:00
alexey-milovidov
2db6eb37d2
Merge pull request #13627 from ClickHouse/clickhouse-install-fixes
Minor fixes in clickhouse install
2020-08-12 11:12:20 +03:00
robot-clickhouse
ada19e97a1
Merge pull request #13645 from ClickHouse/dependabot/pip/docs/tools/pymdown-extensions-8.0
Bump pymdown-extensions from 7.1 to 8.0 in /docs/tools
2020-08-12 10:56:45 +03:00
alexey-milovidov
aca156f43b
Merge pull request #13632 from ClickHouse/monetdb-benchmark-update
MonetDB benchmark update
2020-08-12 10:56:19 +03:00
dependabot-preview[bot]
adf84b19c0
Bump pymdown-extensions from 7.1 to 8.0 in /docs/tools
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 7.1 to 8.0.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/7.1...8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 07:19:28 +00:00
BohuTANG
c31f4f013a Add MergeTree Write-Ahead-Log(WAL) dump tool 2020-08-12 13:50:22 +08:00
Alexander Kuzmenkov
89b712a180 performance comparison 2020-08-12 08:40:03 +03:00
Alexander Kuzmenkov
57eb912fa6
Merge pull request #13620 from ClickHouse/aku/hash-set-order
Fixed result order in hash set test
2020-08-12 07:43:53 +03:00
Alexander Kuzmenkov
ef5882639b
Merge pull request #13459 from Jokser/s3-multithreaded-disk-copy
Move parts from DiskLocal to DiskS3 in parallel
2020-08-12 07:36:03 +03:00