Commit Graph

49344 Commits

Author SHA1 Message Date
alexey-milovidov
f60ccb4edf
Merge pull request #14295 from ClickHouse/write_structure_of_table_functions
Write structure of table functions to metadata
2020-10-13 23:56:09 +03:00
alexey-milovidov
3744547e2c
Merge pull request #15845 from kitaisreal/setting-date-time-output-format
Added OutputFormat setting date_time_output_format
2020-10-13 23:48:36 +03:00
alexey-milovidov
fc83bd1088
Merge branch 'master' into setting-date-time-output-format 2020-10-13 23:48:27 +03:00
alexey-milovidov
173ee78122
Merge pull request #15876 from azat/connections_with_failover_max_tries-endless-loop
Fix query hang with connections_with_failover_max_tries = 0 (endless loop)
2020-10-13 23:47:34 +03:00
alexey-milovidov
c87cc24d65
Merge pull request #15937 from ClickHouse/fix-bad-docs
Fix broken links in docs
2020-10-13 23:05:39 +03:00
alexey-milovidov
b4701c9488
Update adopters.md 2020-10-13 23:02:51 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
alexey-milovidov
c30bcd79e3
Fix trash #15935 2020-10-13 19:17:04 +03:00
damozhaeva
e1fcbe749c
Edit and translate to Russian. (#15462)
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
2020-10-13 18:29:28 +03:00
alexey-milovidov
37c2a57202
Update WriteHelpers.h 2020-10-13 15:23:50 +03:00
alesapin
f64344f7c5
Merge pull request #15890 from ClickHouse/fix_test_many_parallel_quorum_inserts
Fix test 01509_check_many_parallel_quorum_inserts
2020-10-13 14:29:55 +03:00
Maksim Kita
adaae8a12c Added OutputFormat setting date_time_output_format 2020-10-13 13:59:43 +03:00
Vitaly Baranov
13896cf4c9
Merge pull request #15875 from vitlibar/rbac-fix-deadlock
Fix possible deadlocks in RBAC
2020-10-13 12:58:57 +03:00
Nikita Mikhaylov
835c480056
Merge pull request #15858 from ClickHouse/fix_alter_default_validation
Fix alter default validation
2020-10-13 12:47:18 +03:00
tavplubix
6c1d59cd49
Merge pull request #15743 from azat/Atomic-DROP-TABLE-hang-fix
Fix DROP TABLE hangs with Atomic engine
2020-10-13 12:40:36 +03:00
alesapin
700b6b8a38 Fix test 01509_check_many_parallel_quorum_inserts 2020-10-13 10:14:31 +03:00
alesapin
321a7ae6bf
Merge pull request #15852 from ClickHouse/fix_reverse_processor
Fix block structure mismatch after ALTER
2020-10-13 09:49:26 +03:00
Vitaly Baranov
6a58bb5c23 Enable rbac tests with thread sanitizer. 2020-10-13 01:03:51 +03:00
Vitaly Baranov
eddd26cf3a Fix deadlock in InterpreterGrantQuery. 2020-10-13 01:03:47 +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
Azat Khuzhin
9613144fa8 Move 01521_connections_with_failover_max_tries_0 to 01521_distributed_query_hang
This will fix style check error:

    /place/sandbox-data/tasks/4/8/795063184/ClickHouse/tests/queries/0_stateless/01521_connections_with_failover_max_tries_0.reference
    /place/sandbox-data/tasks/4/8/795063184/ClickHouse/tests/queries/0_stateless/01521_connections_with_failover_max_tries_0.sql
    Tests should not be named with "fail" in their names. It makes looking at the results less convenient when you search for "fail" substring in browser.
2020-10-12 23:30:37 +03:00
alexey-milovidov
03f8d59bfb
Merge pull request #15844 from azat/WEVERYTHING-exclude-zero-as-null-pointer-constant
Exclude zero-as-null-pointer-constant for libstdc++ under WEVERYTHING
2020-10-12 23:10:41 +03:00
Azat Khuzhin
2947eff878 Fix query hang with connections_with_failover_max_tries = 0 (endless loop) 2020-10-12 22:07:26 +03:00
Azat Khuzhin
bba44d0f0e Add IF EXISTS for removing inner table of the materialized view
Instead of playing with has_inner_table flag, which looks a bit icky.
2020-10-12 21:46:07 +03:00
Azat Khuzhin
d16adddb41 Fix drop of materialized view with inner table in Atomic database
Materialized view drop the inner table (if any) drop the drop() method,
and this will lead to essure recursive drop() from the drop worker
thread, which will hang:

    3  std::__1::condition_variable::wait<> ()
    4  DB::DatabaseCatalog::waitTableFinallyDropped (this=0x7ffff7831500, uuid=...) at ../src/Interpreters/DatabaseCatalog.cpp:828
    5  DB::InterpreterDropQuery::executeToTable (this=this@entry=0x7fff16ff88a0, table_id_=..., query=...) at ../src/Interpreters/InterpreterDropQuery.cpp:135
    6  DB::InterpreterDropQuery::execute (this=this@entry=0x7fff16ff88a0) at ../contrib/libcxx/include/string:1474
    7  DB::executeDropQuery (kind=kind@entry=DB::ASTDropQuery::Drop, global_context=..., target_table_id=...) at ../src/Storages/StorageMaterializedView.cpp:156
    8  DB::StorageMaterializedView::drop (this=0x7ffefc348f40) at ../src/Storages/StorageMaterializedView.cpp:169
    9  DB::DatabaseCatalog::dropTableFinally (this=this@entry=0x7ffff7831500, table=...) at ../src/Interpreters/DatabaseCatalog.cpp:775
    10 DB::DatabaseCatalog::dropTableDataTask (this=0x7ffff7831500) at ../src/Interpreters/DatabaseCatalog.cpp:745

Fix this by dropping the inner table just before scheduling job the the
drop worker thread.
2020-10-12 21:46:07 +03:00
Azat Khuzhin
91787e6a7e Add a test with recursive DROP TABLE (mv w/o explicit inner table) 2020-10-12 21:46:07 +03:00
Azat Khuzhin
ea12ca42c7 Add a stress test for DROP TABLE 2020-10-12 21:46:07 +03:00
Vitaly Baranov
b8019f2bc7 Fix deadlocks in RoleCache. 2020-10-12 21:40:05 +03:00
robot-clickhouse
a21b42f1f8 Update version_date.tsv after release 20.6.8.5 2020-10-12 19:37:10 +03:00
tavplubix
748b75ab1b
Merge pull request #15767 from ClickHouse/fix_materialize_mysql_count_v2
Try fix select count() for MaterializeMySQL (another way)
2020-10-12 14:41:38 +03:00
Nikolai Kochetov
2a62a91af4
Merge pull request #15662 from ClickHouse/fix-15529
Fix read from Buffer table with empty nested table with different types.
2020-10-12 14:12:11 +03:00
alesapin
6732e5c217 Fix alter default validation 2020-10-12 14:02:35 +03:00
alesapin
5b5dd4fb28 Fix order by desc after alter 2020-10-12 11:28:47 +03:00
alesapin
38c7132c0f
Merge pull request #15850 from ClickHouse/disable_rbac_tests_with_tsan
Disable some RBAC tests with thread sanitizer
2020-10-12 10:06:21 +03:00
alesapin
106040a720 Disable rbac tests with thread sanitizer 2020-10-12 10:04:46 +03:00
Nikolai Kochetov
190fd88af9
Merge pull request #15785 from amosbird/e1
Code refactor.
2020-10-12 00:36:36 +03:00
Nikolai Kochetov
9b42bfdc36
Merge pull request #15817 from ClickHouse/new-block-for-functions-2
Use `ColumnsWithTypeAndName` instead of `Block` for function calls [part 2]
2020-10-12 00:32:58 +03:00
Nikolai Kochetov
23aec1f954 Fix build. 2020-10-11 22:44:20 +03:00
Nikolai Kochetov
3a17c2a7ac Rename FunctionArguments to ColumnsWithTypeAndName 2020-10-11 22:20:20 +03:00
Azat Khuzhin
0f5ba33be8 Exclude zero-as-null-pointer-constant for libstdc++ under WEVERYTHING 2020-10-11 22:11:18 +03:00
Nikolai Kochetov
0df08dcb36 Rename columns() to size(). 2020-10-11 21:11:39 +03:00
alexey-milovidov
557002262f
Merge pull request #15828 from azat/unbundled-INTERFACE_COMPILE_DEFINITIONS
Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
2020-10-11 19:28:18 +03:00
Alexey Milovidov
c23c7e3bba Check for executable bit on non-executable files 2020-10-11 19:26:11 +03:00
Alexey Milovidov
78c42d5dcd Remove executable bit from non-executable files 2020-10-11 19:21:29 +03:00
alexey-milovidov
4721c764ea
Merge pull request #15842 from amosbird/betterinput
Prettify clickhouse-client's query_id output
2020-10-11 19:19:38 +03:00
Amos Bird
e2643d881e
Prettify 2020-10-12 00:12:36 +08:00
alexey-milovidov
2e3046991b
Merge pull request #15757 from filimonov/fix-kafka-no-holes-flap
fix flap in no_holes_when_write_suffix_failed
2020-10-11 14:38:45 +03:00
alexey-milovidov
a8708338f2
Merge pull request #15809 from amosbird/c1
add print_query_id support for native client
2020-10-11 13:29:35 +03:00
alexey-milovidov
1aafa19146
Update Client.cpp 2020-10-11 13:27:09 +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