Commit Graph

25857 Commits

Author SHA1 Message Date
Nikolai Kochetov
2338f16637
Update README.md 2020-02-26 15:33:06 +03:00
alesapin
46e05bfdca Decrease test timeout 2020-02-26 15:08:57 +03:00
alexey-milovidov
d8c692199f
Merge pull request #9365 from ClickHouse/ubsan-index-set
Fixed UBSan report in MergeTreeIndexSet
2020-02-26 13:19:01 +03:00
alesapin
65f5435ed4 Move segfault test to bugs directory 2020-02-26 13:10:40 +03:00
Nikolai Kochetov
edca7d1588
Merge pull request #9371 from ClickHouse/try-fix-hdfs-tests
Fry fix StorageHDFS.
2020-02-26 12:52:06 +03:00
alexey-milovidov
93c5062782
Merge pull request #9355 from amosbird/client2
Better cmdline client
2020-02-26 01:11:47 +03:00
Alexey Milovidov
681454175f Fixed ErrorCodes, part 5 2020-02-25 22:05:15 +03:00
Alexey Milovidov
029bcc7cd3 Fixed ErrorCodes, part 4 2020-02-25 21:58:28 +03:00
Nikolai Kochetov
f012ae38e4 Fry fix StorageHDFS. 2020-02-25 21:48:25 +03:00
Amos Bird
ce28d2eb82
Better cmdline client 2020-02-26 02:40:52 +08:00
Alexey Milovidov
7228c48be5 Added missing ErrorCodes, part 4 2020-02-25 21:20:38 +03:00
Alexey Milovidov
8f90c6ec12 Fixed ErrorCodes, part 3 2020-02-25 21:20:08 +03:00
Alexey Milovidov
cb6cd2ffbb Added missing ErrorCodes, part 2 2020-02-25 21:10:48 +03:00
Alexey Milovidov
766ae8261a Added some missing ErrorCodes 2020-02-25 21:02:41 +03:00
Nikolai Kochetov
442ec8a98e
Merge pull request #9356 from ClickHouse/fix-possible-race-in-block-io
Fix possible race in BlockIO.
2020-02-25 19:19:20 +03:00
Hui Wang
7be4e3c89a fix stack overflow issue when using initializer_list 2020-02-25 16:22:35 +01:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
Alexey Milovidov
757be55238 Added a test from Anton Popov 2020-02-25 17:01:28 +03:00
Alexey Milovidov
88f0be8933 dbms/src/Storages/StorageMergeTree.cpp 2020-02-25 16:57:33 +03:00
Nikolai Kochetov
15fdf80dc8 Added test with max_execution_time. 2020-02-25 15:28:06 +03:00
Alexey Milovidov
86c28d9731 Minor modifications 2020-02-25 15:21:11 +03:00
Alexey Milovidov
c7aba07dfe Minor modifications 2020-02-25 15:19:47 +03:00
Alexey Milovidov
4e935c684a Removed strange code from MergeTreeIndexSet 2020-02-25 15:12:16 +03:00
Nikolai Kochetov
035865895a Fix possible race in BlockIO. 2020-02-25 12:51:20 +03:00
alexey-milovidov
749c41a545
Merge pull request #9348 from filimonov/docker_for_odbc_driver
adjust dockerfile used in tests to allow odbc roundtrip
2020-02-25 12:06:11 +03:00
alexey-milovidov
94b52c0858
Merge pull request #9343 from ClickHouse/every_function_in_own_file_11
Every function in own file, part 11
2020-02-25 09:08:07 +03:00
alexey-milovidov
48238a108a
Merge branch 'master' into patch-0225 2020-02-25 09:07:22 +03:00
hcz
ba35ba01cf Fix intDiv of const divider 2020-02-25 12:58:26 +08:00
filimonov
5a717ce8d9
missed edit 2020-02-25 01:55:00 +01:00
Mikhail Filimonov
80abb99723 adjust dockerfile used in tests to allow odbc roundtrip 2020-02-25 01:51:28 +01:00
Alexey Milovidov
0ebc406a62 Merge branch 'every_function_in_own_file_11' of github.com:yandex/ClickHouse into every_function_in_own_file_11 2020-02-25 01:48:13 +03:00
Alexey Milovidov
4ddb38d587 Fixed error 2020-02-25 01:47:56 +03:00
Alexey Milovidov
a12f6795df Merge branch 'master' of github.com:yandex/ClickHouse into every_function_in_own_file_11 2020-02-25 01:35:52 +03:00
alexey-milovidov
f2cbfb0fc2
Merge pull request #9342 from ClickHouse/improve-performance-reinterpret-as-fixed-string
Improve performance of "reinterpretAsFixedString" function
2020-02-25 01:33:55 +03:00
alexey-milovidov
c51c4c40a2
Merge pull request #9344 from ClickHouse/update-simdjson-2
Update SIMDJSON to master
2020-02-25 01:33:08 +03:00
Alexey Milovidov
455f98cb99 Added test 2020-02-24 21:53:58 +03:00
Alexey Milovidov
cdceae856f Fixed ASan report in extractAll function 2020-02-24 21:52:03 +03:00
Alexey Milovidov
16ae06c8dd Fixed ASan report in extractAll function 2020-02-24 21:49:38 +03:00
alexey-milovidov
13e434500d
Merge pull request #9341 from ClickHouse/another-perf-test-bit-ops-fixed-string
Added another performance test for bit operations on FixedString
2020-02-24 21:25:38 +03:00
Alexey Milovidov
539c15ae32 Added a test 2020-02-24 21:22:01 +03:00
alexey-milovidov
6c9991ae43
Using std::string::starts_with (#9321)
* Using std::string::starts_with

* Fixed error

* Fixed error
2020-02-24 21:11:21 +03:00
Alexey Milovidov
57579f64d7 Every function in its own file, part 11 2020-02-24 20:51:06 +03:00
Alexey Milovidov
fb8e7d42cc Improve performance of "reinterpretAsFixedString" function 2020-02-24 20:28:04 +03:00
Alexey Milovidov
cf9c7f16f0 Added another performance test for bit operations on FixedString #9091 2020-02-24 19:39:44 +03:00
alexey-milovidov
0a75acaeff
Merge pull request #9327 from ClickHouse/restrict-functions-comparison
__restrict in comparison functions
2020-02-24 19:36:30 +03:00
Alexey Milovidov
792f8a29f6 Merge branch 'master' of github.com:yandex/ClickHouse into restrict-functions-comparison 2020-02-24 18:50:08 +03:00
Alexey Milovidov
8e18b9d431 Merge branch 'master' of github.com:yandex/ClickHouse into restrict-functions-arithmetic 2020-02-24 18:49:49 +03:00
Alexey Milovidov
21270b587e Remove unused headers files 2020-02-24 18:11:54 +03:00
alexey-milovidov
0a24aff994
Merge pull request #9316 from oandrew/parquet-improvements
Parquet performance improvements
2020-02-24 16:27:28 +03:00
alexey-milovidov
716dc1cd0b
Update ParquetBlockInputFormat.cpp 2020-02-24 16:27:05 +03:00
alexey-milovidov
1e0198aa34
Added performance test for arithmetic functions (#9326)
* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions

* Added fat performance test for arithmetic functions
2020-02-24 16:22:32 +03:00
alexey-milovidov
a4f63929a2
Merge pull request #9328 from amosbird/dumpdebug
add USE_DEBUG_HELPERS flag to enable DUMP
2020-02-24 16:06:37 +03:00
Yuriy
09b746a63e fixed golang test 2020-02-24 15:02:19 +03:00
alexey-milovidov
bf0533eb7d
Merge pull request #9324 from ClickHouse/functions-comparison-remove-garbage
Remove garbage from FunctionsComparison; better build time and less template instantiations
2020-02-24 12:19:10 +03:00
Andrew Onyshchuk
d92490a29c Fix style and tests 2020-02-23 20:02:15 -06:00
Amos Bird
e23b15f78e
add USE_DEBUG_HELPERS flag to enable DUMP 2020-02-24 08:44:38 +08:00
Alexey Milovidov
81602fd249 Added __restrict in FunctionsComparison 2020-02-24 03:12:47 +03:00
alexey-milovidov
1803656b9f
Merge pull request #9322 from ClickHouse/processors-inconsistent-whitespaces
Fixed inconsistent whitespaces in log messages of Processors
2020-02-24 03:09:03 +03:00
Alexey Milovidov
e30064dbfa Added suggestion from Amos Bird 2020-02-24 02:48:38 +03:00
Alexey Milovidov
07d272764d __restrict in arithmetic functions 2020-02-24 02:14:27 +03:00
Alexey Milovidov
7ff3dc0337 Remove garbage from FunctionsComparison; better build time and less template instantiations 2020-02-24 01:46:52 +03:00
Alexey Milovidov
2001bcbf6a Whitespaces 2020-02-24 00:53:16 +03:00
Alexey Milovidov
dbfbc38fe8 Whitespaces 2020-02-24 00:45:31 +03:00
Alexey Milovidov
40ae72b543 Fixed inconsistent whitespaces in log message of Processors 2020-02-24 00:40:57 +03:00
CurtizJ
e5fad6d753 Merge remote-tracking branch 'upstream/master' into alter-ttl 2020-02-23 18:40:42 +03:00
Andrew Onyshchuk
d15ff3e8d5 Parquet improvements
- Read only required columns
- Avoid reading the entire file to RAM when possible
- Allow using internal parquet on darwin
2020-02-23 00:04:58 -06:00
alexey-milovidov
afc306091b
Merge pull request #9262 from ClickHouse/fix_expressions_in_metadata
Fix expressions in metadata
2020-02-23 04:32:55 +03:00
alexey-milovidov
b5e9e922fb
Update test.py 2020-02-23 04:31:12 +03:00
alexey-milovidov
cb89bcae25
Update PushingToViewsBlockOutputStream.cpp 2020-02-23 04:30:53 +03:00
alexey-milovidov
4a0873a93f
Update Settings.h 2020-02-23 04:30:22 +03:00
alexey-milovidov
c9cf1656b9
Merge branch 'master' into fix/ISSUES-8971 2020-02-23 04:16:23 +03:00
Alexey Milovidov
c902b27e25 Whitespaces 2020-02-23 04:04:59 +03:00
alexey-milovidov
d0fea62079
Merge pull request #8290 from CurtizJ/polymorphic-parts
Polymorphic parts (compact format).
2020-02-23 04:01:07 +03:00
Alexey Milovidov
55787391c6 Merge branch 'master' of github.com:yandex/ClickHouse into amosbird-char8_t 2020-02-23 00:30:19 +03:00
Alexey Milovidov
21647ed842 Fixed warning 2020-02-22 23:22:38 +03:00
Alexey Milovidov
6325d7514c Fixed warning 2020-02-22 23:07:22 +03:00
Alexey Milovidov
1ba67b1bb4 Fixed bad code 2020-02-22 22:44:31 +03:00
Alexey Milovidov
4c504ffda3 Fixed errors 2020-02-22 22:35:39 +03:00
Anton Popov
b736029828
Update ErrorCodes.cpp 2020-02-22 22:11:44 +03:00
alexey-milovidov
1950923433
Merge branch 'master' into polymorphic-parts 2020-02-22 20:56:27 +03:00
Alexey Milovidov
9e9cba6eb7 Merge remote-tracking branch 'origin/master' into amosbird-char8_t 2020-02-22 20:49:25 +03:00
alexey-milovidov
5d2bf946ee
Update Types.h 2020-02-22 20:42:00 +03:00
Vitaly Baranov
e026258f42
Update InterpreterSetRoleQuery.h 2020-02-22 19:32:15 +03:00
Alexander Tokmakov
852043c8d9 better configs 2020-02-22 17:26:39 +03:00
Alexander Tokmakov
ac0e2c2256 Merge branch 'master' into fix_expressions_in_metadata 2020-02-22 16:42:45 +03:00
alexey-milovidov
af3e296df5
Merge pull request #9306 from Vxider/build-fix
build fix on GCC 9.2.0
2020-02-22 14:41:34 +03:00
tavplubix
8358c952c3
Merge pull request #9302 from ClickHouse/fix_tests_with_secure_sockets
Try fix tests with secure sockets
2020-02-22 13:32:12 +03:00
Amos Bird
693cf211fa
Build fix 2020-02-22 16:44:23 +08:00
Vxider
ecd72b8478 build fix 2020-02-22 16:11:20 +08:00
Amos Bird
f5d6043a5d
Strict aliasing in c++20 2020-02-22 13:46:35 +08:00
Alexey Milovidov
c3e80485da
More strict aliasing 2020-02-22 10:19:39 +08:00
Alexey Milovidov
52153d15cc
More strict aliasing 2020-02-22 10:19:17 +08:00
Alexey Milovidov
cce1e46b45
More strict aliasing 2020-02-22 10:19:17 +08:00
Alexey Milovidov
ac83a28285
More strict aliasing 2020-02-22 10:17:52 +08:00
Alexey Milovidov
5cf3414b8a
More strict aliasing 2020-02-22 10:17:52 +08:00
Alexey Milovidov
3bf1e6f6c1
More strict aliasing 2020-02-22 10:17:25 +08:00
Alexey Milovidov
d3867ac5fa
More strict aliasing 2020-02-22 10:17:25 +08:00
Alexey Milovidov
e1b3c58746
More strict aliasing 2020-02-22 10:17:24 +08:00
Alexander Tokmakov
21e0eb5f11 try fix tests with secure sockets 2020-02-22 04:37:03 +03:00
Alexander Tokmakov
a13495485f try fix tests with secure sockets 2020-02-22 04:35:28 +03:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexander Tokmakov
62e14bece0 revert changes in config 2020-02-22 03:45:53 +03:00
Alexander Tokmakov
d6205fa4fa Merge branch 'master' into fix_expressions_in_metadata 2020-02-22 03:17:15 +03:00
alexey-milovidov
66e7965381
Merge pull request #9294 from ClickHouse/colors-in-logs-sent-to-client
Colors in logs sent to client
2020-02-22 02:24:08 +03:00
alexey-milovidov
5cc112e3d3
Merge pull request #9293 from ClickHouse/akz/column_vector_replicate_faster
Made ColumnVector::replicate() implementation 3x faster
2020-02-22 02:23:49 +03:00
alexey-milovidov
55520b9629
Merge pull request #9289 from ClickHouse/fix-9134
Fix 9134
2020-02-22 02:23:00 +03:00
tavplubix
d720db86e5
Merge pull request #9288 from ClickHouse/enable_ssl_in_functional_tests
Enable secure sockets in stateless tests
2020-02-22 00:46:38 +03:00
robot-clickhouse
473e1eac6f Auto version update to [20.3.1.1] [54433] 2020-02-22 00:35:33 +03:00
robot-clickhouse
8646aaa261 Auto version update to [20.2.1.2443] [54432] 2020-02-22 00:35:00 +03:00
alexey-milovidov
67cb5c8fab
Merge pull request #9287 from ClickHouse/reading-the-code-of-alter-move-partition
Reading the code of ALTER MOVE PARTITION
2020-02-22 00:28:43 +03:00
alexey-milovidov
49b46fd897
Merge pull request #9257 from millb/disk_scheme_4
Space check from path/data/ for default disk
2020-02-22 00:27:49 +03:00
alexey-milovidov
716a7e907f
Merge pull request #9275 from 4ertus2/joins
Negative test for partial_merge_join variants
2020-02-22 00:26:05 +03:00
Alexey Milovidov
5f9a56a38a Colorize logs that are send to client with "send_logs_level" setting 2020-02-21 23:01:38 +03:00
alexey-milovidov
baf90fcfa2
Revert "Make SPLIT_SHARED_LIBRARIES=OFF more robust" 2020-02-21 22:52:18 +03:00
Alexander Kazakov
1c86a31431 Faster ColumnVector::replicate() 2020-02-21 22:47:20 +03:00
Alexander Kazakov
2e8dd9d9fc A unit test for ColumnVector::replicate() 2020-02-21 22:46:08 +03:00
Nikolai Kochetov
fddb021951 Added comment. 2020-02-21 22:17:09 +03:00
Nikolai Kochetov
23c5c6f874 Make more deterministic test. 2020-02-21 22:03:45 +03:00
Nikolai Kochetov
82489a4ba2 Added integration test from #9134 2020-02-21 22:01:43 +03:00
Alexander Tokmakov
9415ed821c enable secure sockets in stateless tests 2020-02-21 22:00:32 +03:00
Nikolai Kochetov
e7d2ff6d7a Added test from #9134. 2020-02-21 20:48:37 +03:00
Alexey Milovidov
0dbd885679 Reading the code of ALTER MOVE PARTITION 2020-02-21 19:57:40 +03:00
Nikolai Kochetov
350881a3da Copy block info in ConvertingBlockInputStream. 2020-02-21 19:57:22 +03:00
CurtizJ
14daa51cec add comments 2020-02-21 19:53:33 +03:00
Alexander Tokmakov
0201b485a7 enable secure ports for tests 2020-02-21 19:07:18 +03:00
Alexey Milovidov
396e9c57d0 Fixed OptimizedRegularExpression in case of empty regexp 2020-02-21 18:55:36 +03:00
Alexander Tokmakov
db669cef63 Merge branch 'master' into fix_expressions_in_metadata 2020-02-21 18:22:52 +03:00
alexey-milovidov
ee710dd1f7
Merge pull request #9235 from zhang2014/fix/ISSUES-9230
ISSUES-9230 pushed SelectQueryOption into join expression
2020-02-21 17:55:57 +03:00
alexey-milovidov
1e8389eceb
Merge pull request #8929 from ClickHouse/more-processors-for-storages
More processors for storage::read
2020-02-21 17:39:12 +03:00
alexey-milovidov
abe8315861
Merge pull request #9258 from Jokser/disk-s3-read-write-buffers-refactoring
Disk->writeFile() returns WriteBufferFromFileBase.
2020-02-21 17:28:49 +03:00
alexey-milovidov
bc910d3489
Trigger CI 2020-02-21 17:05:57 +03:00
Alexander Tokmakov
e117e5838e fixes 2020-02-21 16:44:44 +03:00
chertus
759d137162 add negative test for partial_merge_join variants 2020-02-21 16:16:59 +03:00
alesapin
2f6e22b4fd Fix failed integration tests 2020-02-21 11:53:29 +03:00
Nikolai Kochetov
30d41b34ba Merged with master 2020-02-21 11:47:56 +03:00
Vitaly Baranov
cf25d225c6 Add tests for roles. 2020-02-21 06:03:09 +03:00
Vitaly Baranov
e017bacc48 Implement SQL queries for creating and controlling roles. 2020-02-21 06:03:09 +03:00
Vitaly Baranov
6671ca67eb Add access type ROLE_ADMIN. 2020-02-21 06:03:09 +03:00
Vitaly Baranov
ae18d443c8 Introduce roles. 2020-02-21 06:03:03 +03:00
Vitaly Baranov
fc8aa5efe7 Separate access-controlling access types. 2020-02-21 03:27:29 +03:00
Vitaly Baranov
543587fc46 Remove ATTACH and DETACH access types, check CREATE and DROP access types instead of them. 2020-02-21 03:27:29 +03:00
Vitaly Baranov
4f85c148b5 Move event handling away from Context. 2020-02-21 03:27:23 +03:00
alexey-milovidov
0f72781b1e
Trigger CI 2020-02-21 02:02:52 +03:00
alexey-milovidov
d1e26f5b35
Merge pull request #9163 from ClickHouse/match-zero-byte-fix
Fixed `match` and `extract` when haystack has zero bytes.
2020-02-21 02:01:50 +03:00
alexey-milovidov
219f94ca97
Merge pull request #9082 from 4ertus2/joins
Switch JOIN algo on the fly
2020-02-21 02:01:23 +03:00
Vitaly Baranov
6cac4a919b Improve behaviour of row policies, now it applies for a table always when defined for that table (even for another user). 2020-02-21 00:57:42 +03:00
Vitaly Baranov
5849dd2236 Slightly better solution for checking row policy for distributed tables,
now it checks both current user's and initial user's filters.
2020-02-21 00:57:42 +03:00
Vitaly Baranov
244c9d5325 Add class GenericRoleSet to represent a set of IDs of users and roles. 2020-02-21 00:57:42 +03:00
Vitaly Baranov
ed2061db8a Better pointers: std::shared_ptr<const QuotaContext> instead of std::shared_ptr<QuotaContext>, boost::atomic_shared_ptr instead of std::atomic_load/store. 2020-02-21 00:57:42 +03:00
Vitaly Baranov
9edea08b6d Improve parsers of access managing SQL. 2020-02-21 00:57:42 +03:00