Commit Graph

3630 Commits

Author SHA1 Message Date
alexey-milovidov
b358c796f1
Update moduloOrZero.cpp 2020-07-21 17:06:40 +03:00
alesapin
daaa5cc382 Add setting allow_non_metadata_alters 2020-07-21 17:05:30 +03:00
Nikolai Kochetov
e4689ce302 Make IFunction::executeImpl const. 2020-07-21 16:58:07 +03:00
Alexander Kuzmenkov
b26de8d2d1 Query fuzzer 2020-07-21 16:53:50 +03:00
Alexey Milovidov
fe5fb271dc Fix "There is no supertype" error on ALTER UPDATE #7306 2020-07-21 16:31:59 +03:00
alexey-milovidov
e4e642e24f
Merge pull request #12593 from CurtizJ/fix-any-with-aliases
Fix lack of aliases with function 'any'
2020-07-21 14:37:37 +03:00
alesapin
a3262cceee Better exception during directories creation 2020-07-21 14:21:13 +03:00
alesapin
18eef29217
Merge pull request #12624 from ClickHouse/fix_error_message
Fix error message about granularity
2020-07-21 14:11:09 +03:00
alesapin
379a5a750a Fix error message about granularity 2020-07-21 14:10:23 +03:00
Alexey Milovidov
e4c652ec28 Fix test; modify return type of Date or DateTime % Float to Float64 2020-07-21 13:36:04 +03:00
Alexey Milovidov
e93e0afd52 Added a comment 2020-07-21 13:20:09 +03:00
Nikolai Kochetov
a93a7d3a75 Remove unused error code. 2020-07-21 13:10:16 +03:00
Nikolai Kochetov
cc7ebfac78 Fix Pipeline stuck for external sort. 2020-07-21 12:23:54 +03:00
Nikolai Kochetov
9a414a090c Fix style. 2020-07-21 11:52:02 +03:00
alexey-milovidov
16e8c61438
Merge pull request #12566 from ClickHouse/race_condition_cache_dictionaries
Fix race condition in clickhouse cache dictionary
2020-07-21 11:27:08 +03:00
alesapin
1d8cab3379 Better function name and comment 2020-07-21 11:13:23 +03:00
Nikolai Kochetov
cab9146ff3 Remove SortDescription from IBlockInputStream. 2020-07-21 11:05:52 +03:00
Vitaly Baranov
e3ee555c57
Merge pull request #12606 from vitlibar/improve-json-internal-interface
Improve JSON internal interface.
2020-07-20 23:35:09 +03:00
Vitaly Baranov
1fb4d9002d Improve JSON internal interface. 2020-07-20 20:56:04 +03:00
alesapin
5978c9720d Better exception message in CheckingSortedBlockInputStream 2020-07-20 17:57:01 +03:00
alesapin
82c5ff6e9b Remove redundant new line 2020-07-20 16:48:17 +03:00
alesapin
9881c60fdb Better comment 2020-07-20 16:45:18 +03:00
alesapin
b9a0d0802c Better code 2020-07-20 16:44:07 +03:00
alesapin
6b7d1033e6 Comments for ugly fix 2020-07-20 16:06:44 +03:00
alesapin
479048cf69 Ugly code without races 2020-07-20 15:34:29 +03:00
Alexander Kuzmenkov
232cd2648f
Merge pull request #12522 from ClickHouse/aku/std-logic-error
Abort on std::logic_error in debug builds
2020-07-20 14:50:03 +03:00
Alexander Kuzmenkov
40ee6eba19
Merge pull request #12545 from ClickHouse/fix_load_part_without_checksums
Fix loading parts without checksums
2020-07-20 14:40:53 +03:00
Anton Popov
d4783f8f19 fix lack of aliases with function 'any' 2020-07-20 12:04:03 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
Update simdjson
2020-07-20 10:15:38 +03:00
Alexey Milovidov
10355a2850 Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323 2020-07-20 04:03:46 +03:00
Vitaly Baranov
61e43c3ef9 Make conversion std::string_view => StringRef explicit. 2020-07-19 12:50:24 +03:00
Vitaly Baranov
8bcaf7908e Rework JSON functions to use the new simdjson interface. 2020-07-19 12:50:19 +03:00
alexey-milovidov
7aee5abb83
Merge pull request #12569 from ClickHouse/aku/numa-metric
Add perf metric for NUMA-local memory access
2020-07-19 03:21:24 +03:00
alexey-milovidov
504783fe2b
Update ProfileEvents.cpp 2020-07-19 03:20:45 +03:00
Alexander Kuzmenkov
5a662ca48c Add perf metric for NUMA-local memory access 2020-07-17 20:10:59 +03:00
tavplubix
5634482393
Merge pull request #12556 from azat/distributed-remove-files-on-drop
Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE
2020-07-17 19:29:57 +03:00
Alexander Kuzmenkov
a4a23673cc fixup 2020-07-17 17:25:13 +03:00
Alexander Kuzmenkov
4089f761e1 fix one out_of_range 2020-07-17 17:20:33 +03:00
Alexander Kuzmenkov
fb7743d8f5 Merge remote-tracking branch 'origin/master' into HEAD 2020-07-17 16:19:05 +03:00
Alexander Kuzmenkov
aa54101c21
Merge pull request #12553 from ClickHouse/aku/fuzzer-fixes
Minor fixes for query fuzzer
2020-07-17 14:52:32 +03:00
alexey-milovidov
51f539d3fb
Merge pull request #12480 from azat/fix-SETTINGS-parse-after-FORMAT
[RFC] Fix SETTINGS parse after FORMAT
2020-07-17 14:11:24 +03:00
alexey-milovidov
9fb40a3f7b
Merge pull request #12386 from fastio/master
COS (Tencent Cloud Object Storage) integration
2020-07-17 14:09:16 +03:00
alexey-milovidov
f3db2f3c3d
Update S3Common.cpp 2020-07-17 14:07:26 +03:00
alexey-milovidov
0f6599c9e5
Merge pull request #12541 from BohuTANG/mysql_explain
Fix EXPLAIN format for MySQL client
2020-07-17 14:04:01 +03:00
Artem Zuikov
c6e3e9b1ff
String convertion to enum in if() and transform() (#12515) 2020-07-17 12:28:51 +03:00
alesapin
ac802a8e96
Merge pull request #12543 from ClickHouse/fix_marks_type_on_mutation
Fix incorrect adaptive granularity by default
2020-07-17 11:09:54 +03:00
Vitaly Baranov
4cc101f1d4 Fix build scripts. 2020-07-17 10:30:13 +03:00
Azat Khuzhin
6ea1b19476 Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE 2020-07-17 08:59:57 +03:00
Peng Jian
2fc58e8f10 Fix code sytle check & build check 2020-07-17 11:33:29 +08:00
Azat Khuzhin
781f1597f2 Fix SETTINGS parsing after FORMAT for SELECT queries
There are two possible ways to pass the SETTINGS clause:

  - SELECT 1 FORMAT Null SETTINGS max_block_size = 1
  - SELECT 1 SETTINGS max_block_size = 1[ FORMAT Null]

And when the SETTINGS goes after FORMAT it is parsed in
ParserQueryWithOutput, and these settings are not applied for the query
from the ASTSelectQuery::initSettings()

So propagate settings from the ParserQueryWithOutput to the
ASTSelectQuery settings.
2020-07-17 00:28:52 +03:00
alexey-milovidov
fde8c87a1f
Merge pull request #12426 from ClickHouse/log-engine-rollback-on-insert-error
Rollback insertion error in Log engines
2020-07-16 22:50:48 +03:00
Alexander Kuzmenkov
039cf36acb Minor fixes for query fuzzer 2020-07-16 21:05:34 +03:00
Anton Popov
97e8a88b30
Merge pull request #12277 from bobrik/ivan/exact-range-speedup
WIP: Optimize PK lookup for queries that match exact PK range
2020-07-16 19:17:50 +03:00
alesapin
21d3a79794 Fix arcadia build for msgpack 2020-07-16 14:08:26 +03:00
alesapin
b3ec3b1ed1 Fix loading parts without checksums 2020-07-16 13:54:49 +03:00
Nikita Mikhaylov
1bef33f04f
Merge pull request #12452 from ClickHouse/system-log-dont-log-under-mutex
SystemLog: do not log under mutex
2020-07-16 14:44:28 +04:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
alesapin
42983c5416 Fix incorrect adaptive granularity by default 2020-07-16 12:10:15 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position (#12520) 2020-07-16 11:56:45 +03:00
Alexey Milovidov
6df282e813 Fixup 2020-07-16 11:33:51 +03:00
BohuTANG
bae11968de Fix EXPLAIN format for MySQL/PG client #12432 2020-07-16 16:29:17 +08:00
alesapin
f7792d0145
Merge pull request #12294 from ClickHouse/fasttest
Add image for fast tests run (with clone, build, etc.)
2020-07-16 11:21:53 +03:00
alexey-milovidov
8966c09ed6
Merge pull request #12519 from vzakaznikov/fix_data_duplication_and_tests_for_live_view
Fixing race condition in live view tables which could cause data duplication and live view tests
2020-07-16 11:03:28 +03:00
alexey-milovidov
6e9af5f179
Merge pull request #12529 from CurtizJ/fix-12521
Better exception for function 'in' with invalid number of arguments
2020-07-16 11:01:55 +03:00
alexey-milovidov
47e41b82b6
Merge pull request #12505 from ClickHouse/testkeeper-improve-performance
Improve performance of TestKeeper
2020-07-16 10:51:01 +03:00
Alexey Milovidov
68f9fd3767 Debug tests 2020-07-16 06:02:20 +03:00
Alexey Milovidov
82ea884d01 Fix incorrect unit test 2020-07-16 05:37:12 +03:00
Alexey Milovidov
a6016b95ce Fix clang-tidy 2020-07-16 05:34:43 +03:00
Alexey Milovidov
3408b7e259 Merge branch 'master' into log-engine-rollback-on-insert-error 2020-07-16 05:34:02 +03:00
Alexey Milovidov
83b2db4e5b Fixup 2020-07-16 05:09:02 +03:00
Alexey Milovidov
d75d982da9 Merge branch 'master' into fix-avg-serialization 2020-07-16 05:02:10 +03:00
Alexey Milovidov
e1173bc3f7 Fixup 2020-07-16 05:00:21 +03:00
Alexey Milovidov
1bf679703d Merge branch 'master' into testkeeper-improve-performance 2020-07-16 04:58:35 +03:00
Denis Glazachev
59cb758cf7 Merge branch 'master' into ldap-per-user-authentication 2020-07-16 02:29:24 +04:00
alesapin
e35c49faa2 Merge branch 'master' into fasttest 2020-07-15 22:35:46 +03:00
Alexander Kuzmenkov
f785837b1d
Merge pull request #12518 from ClickHouse/aku/android
Some provisions for Android build
2020-07-15 22:05:41 +03:00
Alexey Milovidov
d380ff83e2 Merge branch 'master' into testkeeper-improve-performance 2020-07-15 19:38:06 +03:00
Alexey Milovidov
e1e2204279 Whitespace 2020-07-15 19:37:52 +03:00
alexey-milovidov
e7cf3f4e70
Merge pull request #12464 from ianton-ru/s3_profile_events
add profiling events from S3 request to system.events and system.quer…
2020-07-15 19:33:15 +03:00
Anton Popov
de7b0c2424 better exception for function 'in' with invalid number of arguments 2020-07-15 17:25:09 +03:00
Vitaliy Zakaznikov
370dd3396b Fixing clang build. 2020-07-15 16:18:53 +02:00
Vladimir Chebotarev
ed4da4bec6
Separated AWSAuthV4Signer into different logger, removed "AWSClient: AWSClient" (#12320) 2020-07-15 17:16:45 +03:00
Alexander Kuzmenkov
9d728d60d0 Abort on std::logic_error in debug builds
This helps notice them in tests, same as assert() and LOGICAL_ERROR.
2020-07-15 15:08:01 +03:00
Vitaliy Zakaznikov
560151f6cd * Fix bug in StorageLiveView.cpp
* Fixing synchronization of the first insert in live view tests
2020-07-15 13:24:33 +02:00
Anton Ivashkin
4c8498c115 Merge master 2020-07-15 14:16:10 +03:00
Alexander Kuzmenkov
3e6b9f297f Some provisions for Android build 2020-07-15 14:16:00 +03:00
Anton Ivashkin
fbd80e8d67 Fix codestyle 2020-07-15 14:15:12 +03:00
Artem Zuikov
5f01a587f6
Optimize monotonous ORDER BY (#12467) 2020-07-15 13:10:21 +03:00
alesapin
614540eddf
Merge pull request #12382 from ClickHouse/clear-all-columns
Better errors for CLEAR/DROP columns (possibly in partitions)
2020-07-15 12:52:06 +03:00
alesapin
00d2219808 Merge branch 'master' into fasttest 2020-07-15 11:35:15 +03:00
alexey-milovidov
9c68124110
Merge pull request #12302 from azat/kafka-error-in-the-batch-SIGSEGV
kafka: fix SIGSEGV if there is a message with error in the middle of the batch
2020-07-15 05:20:26 +03:00
Amos Bird
6017a33722
Fix 2020-07-15 10:20:05 +08:00
alexey-milovidov
156be5e270
Update HashJoin.cpp 2020-07-15 10:19:50 +08:00
Amos Bird
46c2bb57ec
Refactor joinGet and implement multi-key lookup. 2020-07-15 10:12:04 +08:00
Alexey Milovidov
b665413869 Improve performance of TestKeeper 2020-07-15 01:53:34 +03:00
tavplubix
7a5fb2dade
Merge pull request #12466 from ClickHouse/aku/fuzzer-fixes
Fuzzing-related fixes
2020-07-14 22:56:57 +03:00
Artem Zuikov
e8057387cb
Fix crash in 'JOIN dict ON expr(dict_key) = k' (#12458) 2020-07-14 17:06:11 +03:00
alesapin
9e41fbca55 Remove check for drop detached partition 2020-07-14 16:56:30 +03:00
Anton Ivashkin
52fea6a5a3 Merge master 2020-07-14 15:56:38 +03:00
Alexander Kuzmenkov
b515dd5b83 Merge remote-tracking branch 'origin/master' into HEAD 2020-07-14 15:40:27 +03:00