Andy Yang
ab8d2058c6
Fix code styles
2019-06-19 09:25:17 +08:00
Andy Yang
e2216555dd
Fix build error which g++-8
2019-06-18 19:29:28 +08:00
Andy Yang
5db11932d7
Fix code styles
2019-06-18 18:08:12 +08:00
Andy Yang
6085fce8d7
some review fixes and add new function toStartOfWeek
2019-06-18 17:48:07 +08:00
proller
2a6c7cda0b
CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked ( #5622 )
...
* wip
* fix
* clean
2019-06-15 22:14:17 +03:00
proller
09f3d68f6e
Use logging in clickhouse-local. Use config options in command line in clickhouse-client ( #5540 )
...
* Try fix macos server run
* Doc macos build
# Please enter the commit message for your changes. Lines starting
* CLICKHOUSE-3957 start wip
* tests wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* Making logger for clickhouse-local
* fixes
* wip
* wip
* wip
* wip
* clean
* cf
* wip
* fix
* Update CMakeLists.txt
* Update argsToConfig.h
* Update argsToConfig.cpp
* Update ExtendedLogChannel.h
* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
Andy Yang
7c15a32ef3
Merge branch 'master' into custom_week_functions
...
Update the latest code
2019-06-10 09:40:43 +08:00
Andy Yang
365d85e1f9
add week(), yearweek()
2019-06-09 23:19:15 +08:00
Orivej Desh
5ec179377a
DEVTOOLS-5170 Delete Y_IGNORE markers ( #5533 )
...
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Andy Yang
ff7bcd127e
Merge branch 'master' into custom_week_functions
...
update laster code
2019-05-31 23:54:54 +08:00
alexey-milovidov
6cdb4e2aeb
Merge pull request #5443 from abyss7/fix-default-timezone
...
Use contents of environment variable TZ as the name for timezone
2019-05-28 20:11:34 +03:00
Ivan Lezhankin
a390428cd8
Use contents of env TZ as the name for timezone
2019-05-28 14:33:21 +03:00
Георгий Кондратьев
707ca25007
Delete port/memrchr.h
...
Its last user was deleted in 141e9799e4
2019-05-27 23:41:23 +00:00
proller
51ca4cbaa4
Build fixes ( #5278 )
2019-05-15 20:19:39 +03:00
Andy Yang
92b0c9a668
Add document and test sql
2019-05-07 19:27:20 +08:00
Andy Yang
3d583dafea
toCustomWeek, toCustomYear, toStartOfCustomYear functions
2019-05-06 20:14:45 +08:00
Andy Yang
eb4d85e964
toCustomWeek, toCustomYear, toStartOfCustomYear functions
2019-05-05 15:54:51 +08:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) ( #5091 )
2019-04-24 12:06:28 +03:00
proller
29c3433322
Freebsd build fixes ( #5083 )
2019-04-23 15:51:27 +03:00
proller
525726a5e2
Remove pocoext ( #5036 )
2019-04-17 20:36:58 +03:00
proller
1b020827f0
Move Poco/Ext/ThreadNumber.h to common/getThreadNumber.h ( #5016 )
2019-04-17 17:53:54 +03:00
Danila Kutenin
e346758cea
Merge pull request #4995 from danlark1/master
...
LFAlloc added to clickhouse to allocate MarkCache and UncompressedCache data in different ways
2019-04-14 16:00:35 +03:00
Danila Kutenin
622b2c8472
Enable LFAlloc for MarkCache and UncompressedCache
2019-04-13 15:07:43 +03:00
Danila Kutenin
7f230cc134
LFAlloc added to clickhouse
2019-04-12 17:10:42 +03:00
Alexey Milovidov
1610bcca89
Fixed wrong toISOWeek result for 1970 year
2019-04-12 02:21:52 +03:00
alexey-milovidov
14b8e64992
Disable usage of "mremap" when compiled with Thread Sanitizer. ( #4859 )
...
* Disable mremap under Thread Sanitizer
* Disable mremap under Thread Sanitizer
* Disable mremap under Thread Sanitizer
2019-03-30 13:47:25 +03:00
Alexey Milovidov
312148a40d
Merge branch 'master' into libcxx-as-submodule
2019-03-14 06:30:00 +03:00
proller
cf8001b6a9
Fix includes ( #4673 )
2019-03-13 16:58:04 +03:00
Alexey Milovidov
7e6623316e
Fixed build
2019-03-12 22:20:32 +03:00
Alexey Milovidov
880cbbb632
Merge branch 'master' into libcxx-as-submodule
2019-03-11 04:03:13 +03:00
alexey-milovidov
6db73152d2
Hardening debug build (experimental) ( #4632 )
...
* Hardening debug build: more granular memory mappings and ASLR; add memory protection for mark cache and index
* Addition to prev. revision
* Addition to prev. revision
* Addition to prev. revision
2019-03-10 06:16:51 +03:00
proller
23d70b2e04
Add Y_IGNORE ( #4521 )
2019-02-27 19:52:08 +03:00
proller
211ec436c5
Build fixes ( #4516 )
2019-02-27 15:52:24 +03:00
Alexey Milovidov
2c8535e2ec
Make the code less weird
2019-02-26 16:13:00 +03:00
Alexey Milovidov
eca885f754
Make the code less weird
2019-02-26 16:11:19 +03:00
Alexey Milovidov
d6db735e9d
Simplifications
2019-02-25 06:19:18 +03:00
Alexey Milovidov
eb5376a0a8
Addition to prev. revision.
2019-02-25 04:26:37 +03:00
Alexey Milovidov
280f5a71c3
Addition to prev. revision.
2019-02-25 04:22:54 +03:00
Alexey Milovidov
0b7c5ab061
Decrypted code because it was impossible to read.
2019-02-25 04:05:05 +03:00
Alexey Milovidov
ee24678f5d
Fixed bad code (but the bug still exists)
2019-02-25 02:28:52 +03:00
alexey-milovidov
4e12697e1c
Merge pull request #4304 from vitlibar/add-function-to-start-of-interval
...
Add time function toStartOfInterval().
2019-02-11 17:21:48 +03:00
Vitaly Baranov
0dd1dc242a
Add time function toStartOfInterval().
2019-02-11 14:59:17 +03:00
Alexey Milovidov
eb39f6b653
Cleanup #4240
2019-02-10 01:38:26 +03:00
Vitaly Baranov
7cbdb17f5b
Add function toStartOfTenMinutes().
2019-02-07 01:50:04 +03:00
Alexey Milovidov
7f8ac2d26b
Fixed bad function name
2019-02-02 03:25:12 +03:00
proller
ff30a156c9
Fix compile on ARM
...
Freebsd fix
2019-01-31 18:38:21 +03:00
proller
343b31af66
More link with Threads::Threads
2019-01-28 21:21:20 +03:00
Alexey Milovidov
4e3d9a0f15
Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-28 14:20:24 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka ( #4152 )
2019-01-25 23:02:03 +03:00
Alexey Milovidov
65f8e4d4a8
Merge branch 'master' into global-thread-pool
2019-01-25 16:33:50 +03:00
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
...
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
Danila Kutenin
784c3e5fda
fix of ppc64le definitions
2019-01-23 18:24:14 +03:00
Danila Kutenin
f6e6f99737
fix
2019-01-23 17:26:05 +03:00
Danila Kutenin
f5f5674cd6
fix
2019-01-23 17:21:42 +03:00
Danila Kutenin
7f4b0f3c04
added powerpc build support
2019-01-23 17:18:19 +03:00
Alexey Milovidov
f1bb9fc05a
Removed useless code
2019-01-20 00:05:20 +03:00
Alexey Milovidov
a7c468da8e
Merge remote-tracking branch 'origin/master' into global-thread-pool
2019-01-17 21:57:01 +03:00
Alexey Milovidov
4b84f2c781
Miscellaneous
2019-01-16 02:56:54 +03:00
Alexey Milovidov
f40e0fcd8e
Revert "Attempt to implemnt global thread pool #4018 "
...
This reverts commit 510b15540c
.
2019-01-15 21:57:42 +03:00
Alexey Milovidov
a6bf5a7e28
Addition to prev. revision
2019-01-13 20:49:21 +03:00
Alexey Milovidov
abcd5a2a49
Attempt to implemnt global thread pool #4018
2019-01-11 22:12:36 +03:00
Alexey Milovidov
13dd877026
Attempt to implemnt global thread pool #4018
2019-01-11 21:38:11 +03:00
Alexey Milovidov
43774a38b8
Attempt to implemnt global thread pool #4018
2019-01-11 20:20:06 +03:00
Alexey Milovidov
9031be381a
Attempt to implemnt global thread pool #4018
2019-01-11 19:59:15 +03:00
Alexey Milovidov
510b15540c
Attempt to implemnt global thread pool #4018
2019-01-11 19:58:43 +03:00
Alexey Milovidov
6cfa68d9da
Investigation of performance degradation of jemalloc
2019-01-10 18:01:22 +03:00
Alexey Milovidov
7fc85d1ff0
Investigation of performance degradation of jemalloc
2019-01-10 16:26:57 +03:00
Alexey Milovidov
b4a310b22e
Investigation of performance degradation of jemalloc
2019-01-10 16:22:37 +03:00
Alexey Milovidov
c93b54a88d
Removed obsolete tweak, because KDevelop has migrated to clang parser long time ago
2019-01-09 19:32:34 +03:00
Alexey Milovidov
43bd57eaf1
Addition to prev. revision
2019-01-09 18:47:25 +03:00
Alexey Milovidov
19f4652959
Fixed bugs found by PVS-Studio
2019-01-09 18:44:20 +03:00
Amos Bird
8ea4d7987b
Add join_overwrite settings for StorageJoin.
...
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Amos Bird
df5b735894
Better writeInt
2019-01-01 19:36:50 +08:00
Alexey Milovidov
2fb94dabae
Merge branch 'master' of github.com:yandex/ClickHouse into libcxx-as-submodule
2018-12-29 01:55:44 +03:00
Alexey Milovidov
3c82dd8809
Fixed exception safety of ThreadPool constructor [#CLICKHOUSE-4113]
2018-12-28 20:15:42 +03:00
Alexey Milovidov
4c3b16390a
Preparations for MSan [#CLICKHOUSE-2]
2018-12-28 08:08:44 +03:00
Alexey Milovidov
130b427ff7
Using libcxx as a submodule [#CLICKHOUSE-2]
2018-12-28 06:24:03 +03:00
Alexey Milovidov
701dfd83bf
Addition to prev. revision #3926
2018-12-27 03:02:38 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
14e1dfa0ea
Fixed UB #3926
2018-12-26 08:11:53 +03:00
Alexey Milovidov
ee953b4653
Fixed UB (requires performance testing) #3569
2018-12-26 03:31:51 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
Alexey Milovidov
4f9630fd03
Fixed error #3913
2018-12-24 05:57:22 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
Alexey Milovidov
344d610ef0
DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2]
2018-12-24 00:45:28 +03:00
Alexey Milovidov
8367c99720
DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2]
2018-12-24 00:38:19 +03:00
Alexey Milovidov
86c2d0f329
Fixed buffer overflow in function addDays [#CLICKHOUSE-2]
2018-12-23 23:01:17 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
proller
c63ca042ba
Fix macos build ( #3861 )
2018-12-18 16:37:00 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
alexey-milovidov
9eca78e764
Merge pull request #3819 from yandex/fix-tehran-time
...
Fix daylight saving time conversion if it was at midnight and clock was adjusted backwards.
2018-12-13 00:06:50 +03:00
Alexey Milovidov
bc165e4504
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-13 00:05:56 +03:00
alesapin
282b303a1c
Link libglibc-compatibility to dbms at last position ( #3816 )
...
* Link libglibc-compatibility to dbms at last position
* Don't replace getrandom if it doesn't exists in libc
2018-12-12 15:51:40 +03:00
Alexey Milovidov
8b7a71d6c6
Attempt to fix #3220
2018-12-12 13:08:53 +03:00
Alexey Milovidov
43d922cc37
Fix for Tehran time #3220
2018-12-11 22:13:44 +03:00
Alexey Milovidov
ae1b748bdf
Fixed global variable buffer read overflow [#CLICKHOUSE-4191]
2018-12-10 21:18:50 +03:00
alexey-milovidov
acb4feef26
Merge pull request #3760 from yandex/fix-database-ordinary-load-table-deadlock
...
Fix database ordinary load table deadlock
2018-12-07 07:13:58 +03:00
alexey-milovidov
7030b9be00
Update ThreadPool.h
2018-12-07 07:13:50 +03:00