Alexey Milovidov
2c6d1eebf2
Chaos sanitizer: development
2020-03-01 19:06:08 +03:00
Alexey Milovidov
cf7b4a12f1
Chaos Sanitizer: experiment
2020-02-28 21:12:52 +03:00
Nikita Mikhaylov
56d3cd535d
Merge pull request #9413 from nikitamikhaylov/cache_dict_update_queue_size
...
CacheDictionaryUpdateQueueSize metric added
2020-02-28 20:29:11 +03:00
alexey-milovidov
6691302e4f
Generic constructor of ColumnVector from initializer list ( #9393 )
...
* Generic constructor of ColumnVector from initializer list #9367
* Fixed build
* Fixed error
2020-02-28 15:57:04 +03:00
Nikita Mikhaylov
e06432af60
CacheDictionary datarace on exception_ptr ( #9379 )
...
* datarace on exceptionptr fixed
* better
* monkey test added
* comment to test added
* add new line to reference file
* bump tests
* q
2020-02-28 15:34:39 +03:00
Nikita Mikhaylov
aaffe31613
split metric
2020-02-28 13:53:59 +03:00
Nikita Mikhaylov
6d583ff66e
first
2020-02-27 15:22:23 +03:00
alexey-milovidov
25e26f0029
Merge pull request #9370 from ClickHouse/errorcodes-style
...
Ensure style of ErrorCodes by style check.
2020-02-26 23:10:19 +03:00
alexey-milovidov
ab0bb7a48e
Merge pull request #9367 from huiwangcs/cow_sof
...
fix stack overflow issue when using initializer_list
2020-02-26 21:45:01 +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
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
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
d0fea62079
Merge pull request #8290 from CurtizJ/polymorphic-parts
...
Polymorphic parts (compact format).
2020-02-23 04:01:07 +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
Amos Bird
693cf211fa
Build fix
2020-02-22 16:44:23 +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
5cf3414b8a
More strict aliasing
2020-02-22 10:17:52 +08:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
...
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexey Milovidov
396e9c57d0
Fixed OptimizedRegularExpression in case of empty regexp
2020-02-21 18:55:36 +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
Vitaly Baranov
e017bacc48
Implement SQL queries for creating and controlling roles.
2020-02-21 06:03:09 +03:00
Vitaly Baranov
ae18d443c8
Introduce roles.
2020-02-21 06:03:03 +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
Alexey Milovidov
2c8a6a2885
Fixed bad code
2020-02-20 22:38:18 +03:00
Alexey Milovidov
d87e25aeab
Merge branch 'master' of github.com:yandex/ClickHouse into match-zero-byte-fix
2020-02-20 21:52:50 +03:00
alexey-milovidov
5c097f842f
Merge pull request #9247 from ClickHouse/aku/logical-error-message
...
Log error message before aborting on LOGICAL_ERROR.
2020-02-20 21:45:01 +03:00
Pavel Kovalenko
e5b81aefe3
WriteBufferFromFileBase interface refactoring.
...
Disk->writeFile() returns WriteBufferFromFileBase.
DiskMemory read/write buffers refactoring.
2020-02-20 19:39:32 +03:00
CurtizJ
3f7f13ce05
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-02-20 15:36:55 +03:00
Alexander Kuzmenkov
642e21e8e1
Log error message before aborting on LOGICAL_ERROR.
2020-02-20 15:29:53 +03:00
alexey-milovidov
eceabbfc3f
Merge pull request #9221 from nvartolomei/nv/advertise-a-stack-trace-will-follow
...
Improve stack trace formatting for Poco and std exceptions
2020-02-20 12:59:58 +03:00
Nicolae Vartolomei
811197558c
Improve stack trace formatting for Poco and std exceptions
...
Before:
```
<Error> Application: Caught exception while loading metadata: Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Access to file denied: boo0. /home/nv/clickhouse-master-clion/contrib/poco/Foundation/src/Exception.cpp:27: Poco::FileAccessDeniedException::FileAccessDeniedException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xbb598cc in /state/home/nv/clickhouse-builds/clickhouse-master-clion-gcc/dbms/programs/clickhous
```
After:
```
<Error> Application: Caught exception while loading metadata: Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Access to file denied: boo, Stack trace (when copying this message, always include the lines below):
0. /home/nv/clickhouse-master-clion/contrib/poco/Foundation/src/Exception.cpp:27: Poco::FileAccessDeniedException::FileAccessDeniedException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xbb5987c in /state/home/nv/clickhouse-builds/clickhouse-master-clion-gcc/dbms/programs/clickhous
```
2020-02-19 13:33:31 +00:00
chertus
48ac7d35ae
Merge branch 'master' into joins
2020-02-19 14:21:40 +03:00
alexey-milovidov
77f9a358ff
Update ProfileEvents.cpp
2020-02-19 11:55:29 +03:00
alexey-milovidov
e90124dc24
Update ProfileEvents.cpp
2020-02-19 11:54:23 +03:00
Mikhail f. Shiryaev
fdc00e3562
Add description for some profiling events
2020-02-19 09:50:58 +01:00
chertus
74a5227ac4
add join_algorithm setting
2020-02-18 20:31:22 +03:00
alexey-milovidov
b688fc5895
Merge pull request #9174 from azat/O_CLOEXEC
...
[RFC] Set O_CLOEXEC
2020-02-18 12:50:19 +03:00
Azat Khuzhin
aa252e48b8
Set O_CLOEXEC
...
Since clickhouse allows to execute user-specified command (i.e.
for dictionary loading), it is better not to expose them.
But there is something left for now:
- 10 -> socket:[14422712]
- 11 -> socket:[14422714]
- 12 -> anon_inode:[eventpoll]
- 13 -> anon_inode:[eventpoll]
- 14 -> anon_inode:[eventpoll]
- 15 -> socket:[14426310]
- 16 -> anon_inode:[eventpoll]
- 3 -> /proc/2739071/fd
- 6 -> socket:[14422708]
- 9 -> socket:[14422710]
And most of these (eventpoll) went from poco, for which O_CLOEXEC cannot
be passed.
2020-02-18 00:28:11 +03:00
Alexey Milovidov
a1ccd14032
Fixed error with zero bytes in haystack for constant case #9160
2020-02-17 21:53:59 +03:00
Ivan Lezhankin
102dad0ca0
Merge branch 'master' into arcadia
2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034
More clean-up
2020-02-17 17:27:09 +03:00
Alexey Milovidov
07479236d7
Implement #9137
2020-02-15 03:11:09 +03:00