Alexander Kuzmenkov
f7f59ca23f
Merge pull request #15982 from vitlibar/fix-ambiguity-in-parsing-of-settings-profiles
...
Fix ambiguity in parsing of settings profiles.
2020-10-15 16:23:32 +03:00
Alexander Kuzmenkov
f366b366ae
Merge pull request #15987 from filimonov/background-pool-count_no_work_done-bug
...
Fix the bug when NOTHING_TO_DO events wrongly increment count_no_work_done
2020-10-15 16:11:57 +03:00
alesapin
2002289003
Fix bug in alter primary key for replicated versioned collapsing merge tree
2020-10-15 16:02:39 +03:00
Nikolai Kochetov
963ce315b2
Merge pull request #15454 from azat/dict-prealloc
...
Speedup hashed/sparse_hashed dictionary loading by preallocating the hash table
2020-10-15 15:03:53 +03:00
Anton Popov
424dd3147c
allow to use direct layout for dictionaries with complex keys
2020-10-15 14:59:41 +03:00
Nikolai Kochetov
ee7b32c283
Fix tests and build.
2020-10-15 14:52:25 +03:00
alexey-milovidov
af7d70c9bb
Merge pull request #15646 from excitoon-favorites/betters3storageinitialization
...
Better initialization of S3 storage
2020-10-15 13:31:43 +03:00
Nikolai Kochetov
40f62719ff
Move event to stack.
2020-10-15 13:24:18 +03:00
Nikolai Kochetov
e8038ae84f
Merge pull request #15857 from amosbird/e2
...
Refactor processors.
2020-10-15 10:45:00 +03:00
Mikhail Filimonov
ace2e99cb3
Fix the bug when NOTHING_TO_DO events wrongly increment count_no_work_done
2020-10-14 23:08:47 +02:00
tavplubix
04206db7da
Merge pull request #15974 from ClickHouse/merging_14295
...
Merging #14295
2020-10-14 23:51:42 +03:00
Nikolai Kochetov
d0112c5dc4
Merge branch 'master' into new-block-for-functions-3
2020-10-14 23:37:10 +03:00
Nikolai Kochetov
04476c533e
Fix ya.make
2020-10-14 23:33:25 +03:00
Anton Popov
3050b2e67b
add support of cache layout for redis dictionaries with complex key
2020-10-14 22:57:07 +03:00
Alexander Kuzmenkov
1cbb26e6e4
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-14 22:41:25 +03:00
Nikolai Kochetov
26158ebc94
Fix tests
2020-10-14 22:25:36 +03:00
Vitaly Baranov
2f13fcb4b7
Fix ambiguity in parsing of settings profiles.
2020-10-14 20:30:24 +03:00
Denis Glazachev
bf14cb58e2
Use count()
2020-10-14 20:54:09 +04:00
Nikolai Kochetov
e2f826c22d
Rename block to columns.
2020-10-14 17:44:22 +03:00
Nikolai Kochetov
1f49d83622
Rename block to columns.
2020-10-14 17:32:43 +03:00
Nikolai Kochetov
e64eba88da
Rename block to columns.
2020-10-14 17:19:39 +03:00
Nikolai Kochetov
7108a0423f
Rename block to columns.
2020-10-14 17:15:57 +03:00
Nikolai Kochetov
31898fc5ce
Rename block to columns.
2020-10-14 17:14:13 +03:00
Nikolai Kochetov
77323962ec
Rename block to columns.
2020-10-14 17:07:54 +03:00
Nikolai Kochetov
959424f28a
Rename block to columns.
2020-10-14 17:04:50 +03:00
Alexey Milovidov
ac670d6868
Merge with master
2020-10-14 16:52:59 +03:00
Nikolai Kochetov
f81af6c958
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:50:18 +03:00
Vasily Nemkov
8984f4b8c2
Empty string optimization for encryption
2020-10-14 16:33:07 +03:00
Alexey Milovidov
5e502c52b3
Merge branch 'master' into AES_encrypt_decrypt
2020-10-14 16:30:23 +03:00
Vitaly Baranov
997570780d
Merge branch 'master' into non_delimited_protobuf
2020-10-14 16:26:57 +03:00
Alexander Tokmakov
7d58992ea8
fix select count()
2020-10-14 16:15:15 +03:00
Nikolai Kochetov
966b1d6cf5
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:09:11 +03:00
Amos Bird
1bcacde8d5
Eagerly move data out of sink
2020-10-14 21:05:20 +08:00
Denis Glazachev
f26b7573a2
Fix pre-C++20 compiler builds
2020-10-14 16:58:54 +04:00
Alexey Milovidov
298b321f4a
Merge with master
2020-10-14 15:51:53 +03:00
Denis Glazachev
6eec447a64
Merge branch 'master' into ldap-any-user-authentication
...
* master: (189 commits)
Fix ugly links in docs
Update Internals.cpp
Whitespace
Fix ugliness in docs
better
better backticks
Try fix tests.
Fetch helper image before run
Fetch helper image before run
Fetch helper image before run
Update version_date.tsv after release 20.7.4.11
Update version_date.tsv after release 20.8.4.11
Update 01515_with_global_and_with_propagation.sql
fix compilation error
Supress pvs
Update version_date.tsv after release 20.9.3.45
Add missed file
fix thread restart for parallel quorum inserts
Update openssl
Fix race in openssl
...
2020-10-14 16:46:37 +04:00
Alexey Milovidov
87fe8f2a00
Merge branch 'master' into filipecaixeta-master
2020-10-14 15:27:58 +03:00
Anton Popov
7470ac98bb
Merge pull request #15855 from hexiaoting/dev_fetch
...
Add Support for OFFSET_FETCH_CLAUSE
2020-10-14 15:21:28 +03:00
Alexander Tokmakov
72b1339656
Revert "Revert "Write structure of table functions to metadata""
...
This reverts commit c65d1e5c70
.
2020-10-14 15:19:29 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:29 +03:00
hexiaoting
2c72cdef44
Fix error for offset_fetch without only/with ties
2020-10-14 15:05:02 +08:00
zhang2014
a00bcbb8ba
ISSUES-15265 try fix crash when create failure
2020-10-14 13:26:28 +08:00
Denis Glazachev
e3ef8bbc48
GCC 9/10 compilation fix
2020-10-14 05:29:25 +04:00
alexey-milovidov
56e7e6ed62
Merge pull request #15886 from zhang2014/fix/ISSUES-12513
...
ISSUES-12513 fix difference expressions with same alias when analyze queries again
2020-10-14 00:55:11 +03:00
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
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
dbd4366aa4
Merge branch 'master' of github.com:filipecaixeta/ClickHouse into filipecaixeta-master
2020-10-13 23:45:43 +03:00
Alexey Milovidov
da4e4c5cdb
Merge branch 'master' into filipecaixeta-master
2020-10-13 23:44:48 +03:00
Nikolai Kochetov
534b60e242
Fix build.
2020-10-13 18:10:30 +03:00
Nikolai Kochetov
23afd74e1c
Update InterpreterSelectQuery.
2020-10-13 17:55:22 +03:00
Nikolai Kochetov
1af0792f67
Update InterpreterSelectQuery.
2020-10-13 17:33:34 +03:00
Nikolai Kochetov
2bbdfc77ea
Update creating sets.
2020-10-13 16:48:00 +03:00
alexey-milovidov
37c2a57202
Update WriteHelpers.h
2020-10-13 15:23:50 +03:00
alexey-milovidov
3e001e7ef1
Update Settings.h
2020-10-13 15:19:38 +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
321a7ae6bf
Merge pull request #15852 from ClickHouse/fix_reverse_processor
...
Fix block structure mismatch after ALTER
2020-10-13 09:49:26 +03:00
zhang2014
72f8153f01
ISSUES-12513 add stateless test
2020-10-13 13:48:16 +08:00
zhang2014
d79d0127ad
ISSUES-12513 try fix difference expressions with same alias
2020-10-13 13:30:56 +08:00
hexiaoting
dea965832a
Fix error for previous offset test
2020-10-13 11:32:43 +08:00
Amos Bird
1c3fe943e0
Fix DelayedSource
2020-10-13 10:18:30 +08:00
Amos Bird
ca7a5ccd0d
More resize
2020-10-13 09:56:35 +08:00
Vitaly Baranov
eddd26cf3a
Fix deadlock in InterpreterGrantQuery.
2020-10-13 01:03:47 +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
Vitaly Baranov
b8019f2bc7
Fix deadlocks in RoleCache.
2020-10-12 21:40:05 +03:00
Mikhail Filimonov
87a8ba63f7
Few more CR fixes
2020-10-12 15:05:40 +02: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
Amos Bird
47fcd8bffb
Fix some problems introduced by refactoring.
2020-10-12 17:58:09 +08:00
Amos Bird
d2dcfc3f0d
Refactor processors.
2020-10-12 17:30:05 +08:00
hexiaoting
39367be57a
Add Support for OFFSET_FETCH_CLAUSE
2020-10-12 16:46:49 +08:00
alesapin
5b5dd4fb28
Fix order by desc after alter
2020-10-12 11:28:47 +03:00
Mikhail Filimonov
7fb329713a
Avoid shadowing class member, set first_row flag after write
2020-10-12 07:52:38 +02:00
Mikhail Filimonov
f6b00f2cb6
After CR fixes
2020-10-12 07:52:09 +02:00
Mikhail Filimonov
c37a456c49
Refactoring WriteCallback->RowOutputFormatParams
2020-10-12 07:52:06 +02:00
Mikhail Filimonov
e17d4e1eeb
Tests and some docs
2020-10-12 07:51:46 +02:00
Mikhail Filimonov
6df42c580b
ProtobufSingle output format
2020-10-12 07:51:45 +02:00
Mikhail Filimonov
b602d18dd8
ProtobufSingle input format
...
Allows to read Single protobuf message at once (w/o length-delemeters).
2020-10-12 07:51:36 +02: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
alexey-milovidov
760e2ca29c
Update formatReadableTimeDelta.cpp
2020-10-11 22:43:04 +03:00
Nikolai Kochetov
3a17c2a7ac
Rename FunctionArguments to ColumnsWithTypeAndName
2020-10-11 22:20:20 +03:00
Nikolai Kochetov
0df08dcb36
Rename columns() to size().
2020-10-11 21:11:39 +03:00
Alexey Milovidov
c8ae1d097a
Add comments
2020-10-11 18:24:20 +03:00
Alexey Milovidov
8a252ebef8
Merge remote-tracking branch 'origin/master' into filipecaixeta-master
2020-10-11 17:29:50 +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
10e9d14466
Merge pull request #15818 from ClickHouse/style-pragma-once
...
Check for #pragma once in headers
2020-10-11 13:14:09 +03:00
alexey-milovidov
e16c1c781e
Merge pull request #15816 from ClickHouse/change-level-of-some-log-messages
...
Change level of some log messages
2020-10-11 13:13:13 +03:00
Amos Bird
ff665c362f
Add print query id support to client
2020-10-11 10:09:08 +08:00
alexey-milovidov
39e58128cd
Merge pull request #15812 from ClickHouse/bigint-hash
...
Minor changes in BigInt hash
2020-10-11 01:11:30 +03:00
alexey-milovidov
1187903b44
Merge pull request #15813 from ClickHouse/remove-useless-metrics
...
Remove useless metrics to avoid confusion
2020-10-11 01:11:17 +03:00
alexey-milovidov
717c48cbf3
Merge pull request #15814 from ClickHouse/cleanups
...
Cleanups
2020-10-11 01:11:03 +03:00
Alexey Milovidov
452a1b5218
Simplifications
2020-10-11 01:03:03 +03:00