Nikolai Kochetov
322cb241b9
Merge pull request #13887 from ClickHouse/fix-fixed-string-partial-sort
...
Fix fixed string partial sort
2020-08-19 21:41:25 +03:00
Azat Khuzhin
42dd661b6a
Fix gcc10 build by reducing storage of the lambdas in executeQuery
...
There is no need to capture query AST for the status_info_to_query_log,
since callers already captured it anyway.
gcc10 reports:
../src/Interpreters/executeQuery.cpp: In member function ‘void std::__1::function<_Rp(_ArgTypes ...)>::swap(std::__1::function<_Rp(_ArgTypes ...)>&) [with _Rp = void; _ArgTypes = {DB::IBlockInputStream*, DB::IBlockOutputStream*, DB::QueryPipeline*}]’:
../src/Interpreters/executeQuery.cpp:490:49: error: array subscript 35 is outside array bounds of ‘std::__1::aligned_storage<32, 16>::type [1]’ [-Werror=array-bounds]
490 | auto status_info_to_query_log = [ast](QueryLogElement &element, const QueryStatusInfo &info) mutable
| ^
In file included from ../contrib/libcxx/include/algorithm:644,
from ../contrib/libcxx/include/__string:57,
from ../contrib/libcxx/include/string_view:175,
from ../contrib/libcxx/include/string:504,
from ../src/Common/formatReadable.h:3, from ../src/Interpreters/executeQuery.cpp:1:
../contrib/libcxx/include/functional:1877:60: note: while referencing ‘__tempbuf’
1877 | typename aligned_storage<sizeof(__buf_)>::type __tempbuf;
| ^~~~~~~~~
2020-08-19 21:25:28 +03:00
tavplubix
de3a6d78fc
Merge pull request #13822 from zhang2014/fix/materialize_integration_test
...
ISSUES-4006 try fix materialize mysql database integration test
2020-08-19 17:32:38 +03:00
Vitaly Baranov
fb5f98e800
Merge pull request #13863 from vitlibar/fix-handling-embedded-config
...
Fix handling embedded config.
2020-08-19 15:27:51 +03:00
Nikolai Kochetov
8ad82a38a8
Fix ColumnString::updatePermutationWithCollation.
2020-08-19 15:10:14 +03:00
Nikita Mikhaylov
21a50aab30
Merge branch 'master' into cache-dictionary-bugfix
2020-08-19 15:53:23 +04:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
tavplubix
3b8ac01ed0
Merge pull request #13756 from ClickHouse/test-drop-database-race
...
Fix race condition in DROP DATABASE
2020-08-19 13:27:50 +03:00
alexey-milovidov
1a33f6d0b8
Merge pull request #13866 from ClickHouse/remove-useless-code-zkutil
...
Remove useless code around zkutil
2020-08-19 12:32:08 +03:00
Alexey Milovidov
5a00941303
Fix "Arcadia"
2020-08-19 12:31:28 +03:00
alexey-milovidov
6d72777b6e
Merge pull request #13868 from ClickHouse/stratify-array-compact-nan
...
Stratify nans comparison in arrayCompact function
2020-08-19 11:53:58 +03:00
hcz
4bbcec3d33
Add defaultValueOfTypeName
2020-08-19 14:44:11 +08:00
BohuTANG
26525a5eb1
Merge remote-tracking branch 'origin/master' into mysql_replica_gtid_issue_4006
2020-08-19 08:04:02 +08:00
myrrc
5ef5c889fd
moved the LC stuff to its implementations (some bugs remaining)
2020-08-18 23:09:41 +03:00
alexey-milovidov
23ccb0b6be
Merge pull request #13677 from hagen1778/merge-tree-fail-fast-on-rows-limit
...
[mergeTree]: fail fast if max_rows_to_read limit exceeded on parts scan
2020-08-18 22:24:39 +03:00
Alexey Milovidov
acf312467e
Stratify nans comparison in arrayCompact function
2020-08-18 22:16:53 +03:00
Alexey Milovidov
5c0a9648fb
Remove even more useless code
2020-08-18 22:03:23 +03:00
Alexey Milovidov
eeb769d2d4
Remove useless code around zkutil
2020-08-18 22:02:07 +03:00
Alexander Tokmakov
e686616756
add exclusive DDLGuard for database
2020-08-18 18:15:27 +03:00
Vitaly Baranov
c800941ab7
Fix handling embedded config.
2020-08-18 18:08:50 +03:00
BohuTANG
30b8159bb0
ISSUES-4006 fix empty gtid format when sets parse
2020-08-18 23:01:21 +08:00
Mark Papadakis
734f57462b
Update PipelineExecutor.cpp
...
Should have used back_edges instead of direct_edges
2020-08-18 15:09:23 +03:00
Alexey Milovidov
9615b1f06a
Generate ya.make
2020-08-18 12:46:02 +03:00
BohuTANG
a78604db2b
ISSUES-4006 add constructor to initialize number member
2020-08-18 11:56:40 +08:00
hexiaoting
ddbfe0ce21
Deprecate ODBCDriver format
2020-08-18 11:29:40 +08:00
BohuTANG
34975d1dd3
ISSUES-4006 try to fix PVS check error
2020-08-18 08:56:18 +08:00
myrrc
3337d206ba
some bugs remaining
2020-08-18 01:55:41 +03:00
myrrc
69a0ca2564
checking other const approach
2020-08-18 01:43:20 +03:00
Azat Khuzhin
2e933a94a6
Handle Protocol::Server::Log in the RemoteQueryExecutor::finish()
...
Even when finish() is called, there can be no EndOfStream sent, so it is
100% correct to handle Log packages there.
W/o fix in RemoteQueryExecutor:
Code: 100, e.displayText() = DB::Exception: Unknown packet 10 from one of the following replicas: : While executing Remote (version 20.8.1.1) (from [::1]:56960) (in query: select * from remote('127.{2,3}', system.numbers) where number = 10 limit 1; ), Stack trace (when copying this message, always include the lines below):
0. Common/StackTrace.cpp:291: StackTrace::tryCapture() @ 0x28b80a
1. Common/StackTrace.cpp:256: StackTrace::StackTrace() @ 0x28b6ab
2. Common/Exception.cpp:42: DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) @ 0x2481ba
3. Common/Exception.h:28: DB::Exception::Exception<>() @ 0x334d48
4. DataStreams/RemoteQueryExecutor.cpp:288: DB::RemoteQueryExecutor::finish() @ 0x330314
5. Processors/Sources/RemoteSource.cpp:46: DB::RemoteSource::generate() @ 0x6fce5
2020-08-17 21:55:09 +03:00
Alexander Tokmakov
f5c14a0766
Merge branch 'master' into fix/materialize_integration_test
2020-08-17 21:47:53 +03:00
Azat Khuzhin
3c6a8ed7be
Improve error message on unknown packet for distributed queries
...
Although replica information is likely already empty (since it was
reseted due to error or disconnect), but let's keep it for now.
2020-08-17 21:38:24 +03:00
Alexey Milovidov
ba4c42abfe
Support UUID aliases in normalizeQuery
2020-08-17 21:17:20 +03:00
Artem Zuikov
bc6ddac52c
one more unroll for arerage.cpp
2020-08-17 19:23:05 +03:00
BohuTANG
8c9236fefd
ISSUES-4006 adapted GTID replication to Materialize MySQL
2020-08-17 22:12:41 +08:00
alexey-milovidov
abf3cb8746
Merge pull request #13816 from ClickHouse/normalize-query
...
Add function "normalizeQuery"
2020-08-17 16:23:24 +03:00
Vitaly Baranov
695c2aafba
Merge pull request #13425 from vitlibar/user-directories
...
user_directories in the main config
2020-08-17 15:49:24 +03:00
zhang2014
ead3d34323
ISSUES-4006 try fix build
2020-08-17 18:11:50 +08:00
roman
35e28b4c6b
[mergeTree]: make exception message more clear
2020-08-17 09:52:04 +01:00
BohuTANG
c3561cd7e8
ISSUES-4006 add BIT/SET field type support
2020-08-17 16:30:13 +08:00
BohuTANG
ee6ac28773
ISSUES-4006 fix up meta parse
2020-08-17 16:27:34 +08:00
Alexey Milovidov
59b8153506
Fix "Arcadia" and "Unbundled" builds
2020-08-17 11:20:20 +03:00
BohuTANG
6557e706c9
ISSUES-4006 fix special build check errors #4006
2020-08-17 16:01:18 +08:00
Javi Santana
ce64a73342
fixed tests and style
2020-08-17 09:46:38 +02:00
BohuTANG
adc6cce96e
ISSUES-4006 fetch executed_gtid_set from replication position #4006
2020-08-17 15:38:09 +08:00
BohuTANG
a8465cfce6
ISSUES-4006 move MySQL command to the PacketsGeneric.h #4006
2020-08-17 15:27:35 +08:00
BohuTANG
cfc1fea619
ISSUES-4006 add startBinlogDumpGTID api for MySQLClient #4006
2020-08-17 15:21:20 +08:00
BohuTANG
059bf166ae
ISSUES-4006 add GTID unit tests #4006
2020-08-17 14:45:43 +08:00
zhang2014
2cbc1df3ce
ISSUES-4006 try fix bad integration test
2020-08-17 13:14:02 +08:00
BohuTANG
3ccc650995
ISSUES-4006 add position.Dump() #4006
2020-08-17 09:30:16 +08:00
BohuTANG
e90679707a
ISSUES-4006 add MySQL replication GTIDEvent #4006
2020-08-17 09:23:54 +08:00
BohuTANG
b4d18b1a52
ISSUES-4006 add MySQL replication GTID module #4006
2020-08-17 09:02:59 +08:00
Alexey Milovidov
ab435f0610
Fix style
2020-08-16 22:50:50 +03:00
Alexey Milovidov
9cd2ddb646
Add normalizedQueryHash function with tests
2020-08-16 22:38:56 +03:00
Azat Khuzhin
0eac96972c
Fix topK/topKWeighted merge (wtih non-default parameters)
2020-08-16 22:32:56 +03:00
Alexey Milovidov
e733c0b96a
Add function "normalizeQuery"
2020-08-16 21:17:16 +03:00
Vitaly Baranov
29a6558d33
Add system table system.user_directories
2020-08-16 19:15:39 +03:00
Vitaly Baranov
0759dff12b
Support <user_directories> section in the main config.
2020-08-16 19:15:38 +03:00
Vitaly Baranov
2909ed1bc0
Better initialization of access storages. Make list of access storages dynamic.
2020-08-16 19:15:34 +03:00
Vitaly Baranov
ad03ff3887
Rename storages users.xml=>users_xml, disk=>local_directory.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
a77b262444
Fix typo.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
25d463f257
Fix renaming in MemoryAccessStorage.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
d1e193f02e
Check name of inserted entities in precedent storages.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
35158f8bfe
Prefer users from users.xml in case of duplication.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
0caf592941
Remove exception about duplicates when multiple access storages keeps entities with the same name.
2020-08-16 16:42:57 +03:00
alexey-milovidov
810829d5e0
Merge pull request #13513 from ClickHouse/codespell-2
...
Enable codespell
2020-08-16 16:28:37 +03:00
alexey-milovidov
f3755fecb7
Merge pull request #13793 from amosbird/fnc
...
Fix set index with const column pred
2020-08-16 15:18:31 +03:00
Alexey Milovidov
09846a92cd
Fix typos
2020-08-16 15:09:41 +03:00
tavplubix
18ef911fe8
Merge pull request #13672 from zhang2014/refactor/materialize_mysql_database
...
ISSUES-4006 split mysql protocol to multiple packets
2020-08-16 13:55:11 +03:00
Alexey Milovidov
44fb1ec107
Fix typo
2020-08-16 13:15:35 +03:00
alexey-milovidov
751cce6dfc
Update gtest_thread_pool_schedule_exception.cpp
2020-08-16 11:10:36 +03:00
Alexey Milovidov
1b929ec54a
Fix flaky unit test
2020-08-16 11:07:36 +03:00
Amos Bird
ae2c50e9e8
Fix set index with const column pred
2020-08-16 15:16:37 +08:00
alexey-milovidov
8535e30bd4
Merge pull request #13753 from ClickHouse/avoid-too-slow-queries-with-arrays
...
Avoid too slow queries with arrays
2020-08-16 10:16:08 +03:00
alexey-milovidov
cd417bb066
Merge pull request #13757 from ClickHouse/fix-flaky-test-3
...
Fix flaky test 01305_replica_create_drop_zookeeper
2020-08-16 10:15:30 +03:00
feng lv
aaedf02d2b
fix conflict
2020-08-16 12:38:39 +08:00
Azat Khuzhin
e9d373b5b7
Fix step overflow in range()
2020-08-16 00:26:47 +03:00
vdimir
df63ada6cc
Fix Darwin build (std::max candidate template)
2020-08-15 20:08:59 +00:00
vdimir
8fc470d1c5
Fix compilcation errror in MultiMatchAnyImpl.h
2020-08-15 18:08:00 +00:00
alexey-milovidov
82a6c0a4b6
Merge pull request #13752 from ClickHouse/h3kRing-fix
...
Range check for h3KRing
2020-08-15 19:28:52 +03:00
Alexey Milovidov
4e88ba9a3e
Fix typo
2020-08-15 17:50:56 +03:00
alexey-milovidov
0e3b9d0da6
Merge pull request #13747 from ClickHouse/fix-race-condition-in-test
...
Fix race condition in test
2020-08-15 15:55:47 +03:00
alexey-milovidov
8c34cc3df6
Merge pull request #13746 from ClickHouse/fix-race-condition-detach-merge
...
Fix race condition in DETACH and background merge
2020-08-15 15:53:26 +03:00
alexey-milovidov
faa0d50d67
Merge pull request #13737 from azat/query_log-Settings-logging-fix
...
Fix logging Settings.Names/Values when log_queries_min_type > QUERY_START
2020-08-15 15:51:19 +03:00
Alexey Milovidov
476c90b623
Merge branch 'master' into avoid-too-slow-queries-with-arrays
2020-08-15 15:49:21 +03:00
Alexey Milovidov
8c5e5ec1cf
Fix flaky test 01305_replica_create_drop_zookeeper
2020-08-15 15:30:17 +03:00
Alexey Milovidov
eee3cb6887
Add a test reproducing race condition in DROP DATABASE
2020-08-15 14:16:43 +03:00
alexey-milovidov
b0ffde5825
Merge pull request #13743 from ClickHouse/fix-stress-test
...
Fix server restart after stress test
2020-08-15 12:16:01 +03:00
Alexey Milovidov
57b8d3f89b
Avoid too slow queries with arrays
2020-08-15 12:13:52 +03:00
Alexey Milovidov
1d51d9e8b6
Range check for h3KRing
2020-08-15 11:49:54 +03:00
alexey-milovidov
c5c79e9408
Merge pull request #13590 from azat/TSV-fix-CR-assertion
...
Fix assertion for carriage return in TSV format header
2020-08-15 11:15:23 +03:00
zhang2014
fe49bd3414
Merge branch 'master' of github.com:yandex/ClickHouse into refactor/materialize_mysql_database
2020-08-15 16:12:46 +08:00
alexey-milovidov
d95b9f73a4
Update TabSeparatedRowInputFormat.cpp
2020-08-15 11:11:10 +03:00
alexey-milovidov
ea79c53ed2
Merge pull request #13735 from azat/gcc10-build-fixes-20.7
...
Fix compilation with gcc10 and libstdc++
2020-08-15 11:01:14 +03:00
Alexey Milovidov
9e6d4802ac
Do not drop cache if DROP/RENAME in Atomic database
2020-08-15 09:56:47 +03:00
Alexey Milovidov
ee084f0ec9
Fix race condition in DETACH and background merge
2020-08-15 08:21:02 +03:00
Alexey Milovidov
696f773267
Remove ZooKeeper from unit tests
2020-08-15 07:29:02 +03:00
Alexey Milovidov
0c75ebcba3
Fix typo
2020-08-15 06:28:48 +03:00
Alexey Milovidov
c260ecb58e
Remove debug output
2020-08-15 06:27:36 +03:00
zhang2014
2f3042ba86
ISSUES-4006 try fix build
2020-08-15 11:16:55 +08:00
Alexey Milovidov
52c3857225
Fix server restart after stress test
2020-08-15 06:10:57 +03:00
alexey-milovidov
7e72437b9d
Merge pull request #13680 from ClickHouse/use_atomic_engine_for_system_db
...
Use Atomic engine for system database
2020-08-15 01:15:09 +03:00
alexey-milovidov
9e33f41dec
Merge pull request #13709 from ClickHouse/fix-array-combinator
...
Fix error with batch aggregation and -Array combinator
2020-08-15 01:10:34 +03:00
Azat Khuzhin
df359bd289
Fix logging Settings.Names/Values when log_queries_min_type > QUERY_START
2020-08-15 00:42:59 +03:00
Azat Khuzhin
6fd0faa00f
Fix performance-no-automatic-move in InterpretersMySQLDDLQuery
2020-08-14 23:41:22 +03:00
myrrc
54f5c0e35a
fixed the String impl non-const offset bug
2020-08-14 23:07:31 +03:00
Azat Khuzhin
c97a9de7e2
Fix -Wpessimizing-move in InterpretersMySQLDDLQuery
...
gcc10 reports:
../src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp:354:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
354 | return std::move(column_declaration);
2020-08-14 22:15:42 +03:00
Azat Khuzhin
194d1d514c
Fix compilation MySQLReplication with gcc10 and libstdc++
...
gcc10 reports:
../src/Core/MySQLReplication.cpp:62:46: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char8_t) [with _Traits = std::char_traits<char>]’
2020-08-14 22:15:17 +03:00
Nikolai Kochetov
8e631a98ea
Refactor ActionsChain.
2020-08-14 21:24:58 +03:00
Nikolai Kochetov
246c2cafb7
Refactor splitActionsBeforeArrayJoin.
2020-08-14 21:24:03 +03:00
Nikolai Kochetov
6934974fc5
Lift up ARRAY JOIN step.
2020-08-14 21:24:31 +03:00
Nikolai Kochetov
85d0f1a480
Add ARRAY JOIN to ActionsChain
2020-08-14 21:24:19 +03:00
Nikolai Kochetov
95bbda3667
Specify columns after ARRAY JOIN and JOIN.
...
Add ArrayJoinTransform and ArrayJoinStep.
2020-08-14 21:24:03 +03:00
myrrc
a519559644
updated ColumnVector to compare with other U, cleaned ImplString
2020-08-14 21:08:30 +03:00
Nikolai Kochetov
4af4d25db4
Merge pull request #13690 from ClickHouse/sql_fuzzy_timeout
...
Fix timeout in sql_fuzzy test
2020-08-14 19:21:47 +03:00
zhang2014
b49c3cebb5
ISSUES-4006 try fix build
2020-08-14 23:52:47 +08:00
Alexander Tokmakov
03eb8f5f21
fix sync 2
2020-08-14 16:51:32 +03:00
Nikolai Kochetov
76df13c31c
Fix tests.
2020-08-14 16:16:36 +03:00
roman
b637699ccd
[mergeTree]: fail fast if max_rows_to_read limit exceeded on parts scan
...
The motivation behind this change is to skip ranges scan for all selected parts
if it is clear that `max_rows_to_read` is already exceeded. The change is quite
noticeable for queries over big number of parts.
2020-08-14 13:53:48 +01:00
Javi Santana
c6780148ec
return 200 when replicas status is ok and verbose = 1
2020-08-14 14:29:16 +02:00
tavplubix
e6df1f4868
Merge pull request #13676 from amosbird/bd
...
Make drop table a little bit more robust
2020-08-14 14:14:58 +03:00
Alexander Tokmakov
d8d50f20fd
fix sync 1
2020-08-14 14:04:47 +03:00
Alexander Tokmakov
128b19fdba
Merge branch 'master' into use_atomic_engine_for_system_db
2020-08-14 13:47:44 +03:00
Artem Zuikov
89e9673336
Hotfix for pushdown with StorageMerge ( #13679 )
2020-08-14 12:38:18 +03:00
Alexey Milovidov
8c85ab3753
Fix error with batch aggregation and -Array combinator
2020-08-14 09:52:28 +03:00
Alexey Milovidov
1c939b6d89
Merge branch 'master' into sql_fuzzy_timeout
2020-08-14 08:32:25 +03:00
zhang2014
4199baf69d
Merge branch 'master' of github.com:yandex/ClickHouse into refactor/materialize_mysql_database
2020-08-14 13:30:12 +08:00
Alexey Milovidov
7a6e0deea5
Fix build after merge
2020-08-14 08:28:26 +03:00
zhang2014
7ff62b090e
ISSUES-4006 try fix build and style failure
2020-08-14 09:59:59 +08:00
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
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
52cf85eaee
Fix clang build
2020-08-13 23:13:13 +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
0f1c4bc9c4
attach all system tables
2020-08-13 20:09:40 +03:00
zhang2014
e3b78c5a31
ISSUES-4006 try fix build and style failure
2020-08-14 00:51:51 +08: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
myrrc
a9c9bae47e
fixed the columnvector test
2020-08-13 17:17:49 +03:00
myrrc
0edf3a693d
fixing the processGeneric ColumnVector type bug
2020-08-13 16:44:13 +03:00
zhang2014
57bf007b82
ISSUES-4006 add ya make
2020-08-13 20:51:29 +08:00
zhang2014
96bd3ac34b
ISSUES-4006 split mysql protocol
2020-08-13 20:41:36 +08:00
zhang2014
34f4c8972e
ISSUES-4006 split replication packets
2020-08-13 20:07:02 +08:00
Nikita Mikhaylov
9765588b9f
better
2020-08-13 14:12:16 +03:00
Nikita Mikhaylov
7082baa96c
add locks to fix datarace
2020-08-13 14:12:16 +03:00
zhang2014
4061254cb1
ISSUES-4006 split authentication
2020-08-13 18:39:15 +08:00
zhang2014
c76d7e3121
ISSUES-4006 split generic packets
2020-08-13 18:17:13 +08:00
zhang2014
57c772e3aa
ISSUES-4006 split connection packets
2020-08-13 17:38:00 +08:00
zhang2014
c0d42b764e
ISSUES-4006 split protocol text packet
2020-08-13 17:20:45 +08:00
zhang2014
4fcc178deb
ISSUES-4006 split mysql protocol
2020-08-13 16:17:33 +08:00
zhang2014
688836cdc4
ISSUES-4006 split msql protocol & fix build
2020-08-13 14:30:29 +08:00
zhang2014
0162c39838
ISSUES-4006 split mysql protocol
2020-08-13 13:02:16 +08:00
zhang2014
a8d3b5f65d
ISSUES-4006 better exception message
2020-08-13 10:14:59 +08: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
Alexander Tokmakov
a6ff049eec
use Atomic for system database
2020-08-12 23:40:13 +03:00
myrrc
e2e38e30d0
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-12 19:12:08 +03:00
myrrc
1ed406dfd8
empty commit to restart CI
2020-08-12 19:11:35 +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
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
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
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
alexey-milovidov
90a5dface3
Merge pull request #13631 from amosbird/roc
...
remove obsolete comments
2020-08-12 06:01:41 +03:00
Amos Bird
ffcbfc383b
remove obsolete comments
2020-08-12 09:30:40 +08:00
Alexander Tokmakov
829f7e65de
try fix sync, add experimetal flag
2020-08-12 00:59:46 +03:00
Alexander Tokmakov
e4da1d8e51
fix deadlock and logical error in replication queue
2020-08-12 00:36:02 +03:00
Nikita Mikhaylov
4c89fb8f84
better
2020-08-11 22:50:48 +03:00
Nikita Mikhaylov
519c5c500e
first attempt
2020-08-11 22:39:48 +03:00
Pavel Kovalenko
ea46ee74ae
Don't allocate Executor instance on each disk->getExecutor() call.
2020-08-11 22:08:32 +03:00
zhang2014
e3b51835ff
ISSUES-4006 try fix ci
2020-08-11 21:35:50 +08:00
Alexander Kazakov
6e0d536327
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-08-11 16:25:20 +03:00
myrrc
eabcc293eb
fixed generic LC impl
2020-08-11 14:15:43 +03:00
Alexander Kuzmenkov
8b3e239957
Merge pull request #13589 from ClickHouse/aku/podarray
...
Do not overallocate when creating PODArray with given size
2020-08-11 14:04:27 +03:00
Alexander Kuzmenkov
70f0ba1c1f
Merge pull request #13343 from azat/format-fixes-20.7
...
WithNames format fixes
2020-08-11 13:31:45 +03:00
zhang2014
93d73c78c9
ISSUES-4006 resolve review comment & add test case
2020-08-11 17:03:43 +08:00
Vladimir Chebotarev
7371cf6bd1
Proper remote host checking in S3 redirects ( #13404 )
...
* Proper remote host checking in S3 redirects.
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-08-11 09:09:08 +03:00
Azat Khuzhin
72205cd326
Call writePrefix() from ctor in SinkToOutputStream
...
This will fix lack of headers for the following formats if there are
zero rows:
- TSVWithNames
- CSVWithNames
- TSVWithNamesAndTypes
2020-08-11 00:52:35 +03:00
Azat Khuzhin
d5a2e1e61c
Call doWritePrefix() if IOutputFormat works as Processor (i.e. clickhouse-local)
...
This fixes the *WithNames output format (lack of header before this
patch).
2020-08-11 00:52:35 +03:00
Azat Khuzhin
ba92213d21
Write header only once in TSVWithNames*
2020-08-11 00:52:35 +03:00
Alexander Kuzmenkov
d42dbfce98
Do not overallocate when creating PODArray with given size
...
Another part of #12278
2020-08-10 23:36:52 +03:00
myrrc
659c78c7ab
more canonical resize
2020-08-10 18:37:04 +03:00
myrrc
8562c36ea4
fix: false processing
2020-08-10 18:32:02 +03:00
zhang2014
2311cda334
ISSUES-4006 convert _sign & _version to materialized column
2020-08-10 22:32:05 +08:00
myrrc
565cedbf1c
updating functions
2020-08-10 17:22:35 +03:00
tavplubix
bb832f204c
Merge pull request #13495 from vitlibar/fix-getting-query-settings
...
Fix getting settings specified in query.
2020-08-10 16:28:55 +03:00
Pavel Kovalenko
bece61b1cc
Fix codestyle.
2020-08-10 14:40:31 +03:00
Pavel Kovalenko
f503273d41
Merge remote-tracking branch 'origin/master' into s3-multithreaded-disk-copy
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
2020-08-10 14:35:26 +03:00
myrrc
403a47bd1e
reverted the code back to constant args handling
2020-08-10 13:34:19 +03:00
Nikolai Kochetov
9b67cd9faf
Merge branch 'master' into refactor-pipes-3
2020-08-10 10:50:17 +03:00
Alexey Milovidov
0c15f3b6c8
Allow server to startup if there are leftovers from unsuccessfull database creations
2020-08-10 05:58:08 +03:00
zhang2014
90b7628496
ISSUES-4006 try fix test failure & add some test
2020-08-10 10:25:08 +08:00
Alexey Milovidov
84584659b6
Better error messages
2020-08-10 04:06:06 +03:00
Alexey Milovidov
8054a08c55
Fix build after merge
2020-08-10 03:44:21 +03:00
alexey-milovidov
8912a1cda3
Merge pull request #13082 from CurtizJ/fix-redis
...
Fix access to redis dictionary after connection was dropped once
2020-08-10 03:29:17 +03:00
Vitaly Baranov
3b9f5a827c
Fix getting settings specified in query.
2020-08-10 01:07:23 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
alexey-milovidov
180ea39bf8
Merge pull request #13099 from ClickHouse/fixed-hash-map-implicit-zero-6
...
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 6
2020-08-09 23:13:53 +03:00