alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
chertus
16ad0caf37
move int exp from decimal scale to libcommon
2018-08-08 13:56:24 +03:00
Alexey Milovidov
bdf2e826ce
Addition to prev. revision [#CLICKHOUSE-2]
2018-08-08 08:54:45 +03:00
Alexey Milovidov
22fc1fcd54
Better way to enable sanitizers in CMake [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
0e557b47fa
Better way to enable sanitizers in CMake [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
Alexey Milovidov
1b1754e598
Fixed build #2794
2018-08-04 00:13:54 +03:00
proller
010350a088
Build fixes ( #2794 )
...
* More information in 'Cannot read all data' errors
* Build fixes
* Apple version fix
* Fix
* clean
* New libs fixes
* Freebsd fixes
* macos fix
* Fix macos build
* fix
* fix
* Update CMakeLists.txt
* freebsd fix
* fix
* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. ( #2773 )
...
* Added jemalloc as submodule [#CLICKHOUSE-2]
* Imported jemalloc-cmake [#CLICKHOUSE-2]
* Added README for jemalloc-cmake [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
proller
f477942c66
Cmake: test for liblld
2018-07-21 03:11:56 +03:00
proller
7be750afe9
Apple build fixes
2018-07-20 20:21:03 +03:00
Alexey Milovidov
c8f5443257
Registered test [#CLICKHOUSE-2]
2018-07-18 22:39:42 +03:00
Alexey Milovidov
9c8f4d86c1
Fixed build [#CLICKHOUSE-2]
2018-07-18 22:04:01 +03:00
Alexey Milovidov
10e97374a4
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-18 21:57:07 +03:00
Alexey Milovidov
dabbad9e42
Fixed build [#CLICKHOUSE-2]
2018-07-18 20:20:35 +03:00
Alexey Milovidov
0ead1facb7
Added test [#CLICKHOUSE-2]
2018-07-18 20:12:12 +03:00
Alexey Milovidov
d6cd502cc0
Fixed error with LocalDateTime [#CLICKHOUSE-2]
2018-07-18 20:02:47 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
Alexey Milovidov
7c80743c86
Non significant change: removed unused constructor [#CLICKHOUSE-3]
2018-06-04 17:16:49 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
proller
68ba523b23
Compile and doc fixes ( #2410 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
* termcap fix
* Better llvm version detect
* fix
* Debian postinst fix
Tests: use /usr/local if exists
* Compile and doc fixes
* fix
* fix
* fix
* macos fixes
* fix
* wip
* Update demangle.h
* Update demangle.cpp
2018-05-25 21:13:48 +03:00
Alexey Milovidov
13762471da
Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3]
2018-05-25 16:29:15 +03:00
Vitaliy Lyudvichenko
863b105975
Fixed build on Clang. [#CLICKHOUSE-2]
2018-05-23 21:29:35 +03:00
alexey-milovidov
42a0e1e0c7
Update SetTerminalEcho.cpp
2018-05-21 22:53:46 +03:00
proller
051395a761
clickhouse-client
: option --ask-password for interactively ask for credentials #1044
2018-05-21 20:27:18 +03:00
Alexey Milovidov
3ffa269c0c
Fixed build [#CLICKHOUSE-2]
2018-05-17 03:26:29 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
proller
eb772b8001
gcc8 fixes (memset, uncaught_exception)
2018-05-08 22:44:54 +03:00
proller
7781492624
Fix user name on distributed queries ( #2292 )
...
* Fix user name on distributed queries
* wip
* fix
2018-05-05 00:21:23 +03:00
proller
f9cd6a09e6
sql: initial EXTRACT(... FROM ...) support ( #2196 )
...
* start
* wip
* wip
* wip
* wip
* wip
* Fix clickhouse-server.postinst
* clean
* wip
* clean
* clean
* clean
* wip
* clean
* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs ( #2191 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
e655cb0bff
Better debug helpers [#CLICKHOUSE-2]
2018-04-06 07:46:18 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
proller
fd4c0403ba
Tests compile fix
2018-03-14 19:38:42 +03:00
alexey-milovidov
bfc5687410
Update DateLUTImpl.h
2018-03-14 19:19:22 +03:00
Vitaliy Lyudvichenko
56bfb05ebb
Fix insane DateTime in system.parts. [#CLICKHOUSE-3]
2018-03-14 19:00:02 +03:00
Alexey Milovidov
8b59db58c3
Fixed uneven code #2032
2018-03-14 02:44:23 +03:00
Marsel Arduanov
c4138f6486
Correct MacOS version detection
...
First version of MacOS Sierra have Darwin version 16.0.0, not 16.1.0
Wiki info https://ru.wikipedia.org/wiki/Darwin#Хронология_версий
2018-03-03 20:05:21 +05:00
Alexey Milovidov
78bceb6e32
Miscellaneous [#CLICKHOUSE-2]
2018-02-28 21:15:53 +03:00
proller
c12d93a873
Allow build without rt library ( #1963 )
...
* Allow build without rt library
* fix
2018-02-26 03:19:42 +03:00
Alexey Milovidov
f36dfe42a5
Miscellaneous [#CLICKHOUSE-2]
2018-02-21 22:35:10 +03:00
Alexey Milovidov
9e1638e1dd
Header in every stream: development [#CLICKHOUSE-2]
2018-02-17 20:09:18 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings ( #1915 )
...
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Zatelepin
87b72b8e39
rename musl_exp10 -> preciseExp10 for coding style compatibility
2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79
add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm
2018-02-16 17:01:50 +03:00
proller
82d74f5ab3
Allow redefine server config via command line: clickhouse-server -- --logger.level=information ( #1811 )
...
* Aloow redefine server config via command line: clickhouse-server -- --logger.level=information
* style
* fix
* BaseDaemon: Simpler createDirectory
* Allow --key value
* Update BaseDaemon.cpp
* Update BaseDaemon.cpp
2018-02-08 22:12:37 +03:00
proller
05b203574a
Fix freebsd unbundled build
2018-01-23 03:09:09 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
proller
a2c3eae315
Builder fixes. Fix unbundled cctz
2018-01-20 00:33:48 +03:00
proller
76cf0ba5d0
Better tests ( #1785 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
* Travis optimize
* optimize
* Fix clickhouse-test --no-long
* no long
* Split too long test
* Better tests
* missing file
* Fix includes
* Added draft [#CLICKHOUSE-2].
* fix
* fix
* fix
* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
07931cad69
Fix debug build
2018-01-15 14:59:00 +03:00
Alexey Milovidov
b9e62ddb2d
Better #1665
2018-01-13 21:01:31 +03:00
proller
70e35d0bcc
Build fixes ( #1718 )
...
* Embedded compiler fixes
* common lib not needed for clang and lld
* Fix pthread link
* Fix shared build
* Arm fixes 1
* arm fix
* Unused fix
* Build fixes
* release --pbuilder
* release pbuilder fix
* FORCE_PBUILDER_CREATE=1 release
* release: Auto use clang with sanitizers
* Fix build without poco data odbc lib. zlib arm build fix.
* Fix freebsd build and build without mysql
* Tests: Dont eat my cpu!
* Test me
2017-12-29 18:48:20 +03:00
proller
7a813002aa
Build fixes
2017-12-28 15:58:39 +03:00
proller
68850012bd
Embedded compiler fixes
2017-12-27 23:07:16 +03:00
Kirill Shvakov
af400da8eb
add toStartOfFifteenMinutes function
2017-12-22 13:04:24 +02:00
Alexey Milovidov
0972d7586a
Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2].
2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3
Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3].
2017-12-22 02:46:34 +03:00
Alexey Milovidov
fca5d5f2c7
Use better implementation for exp10 [#CLICKHOUSE-2].
2017-12-22 02:00:32 +03:00
Amos Bird
e7af27c4e0
Better iostream debugger with adl.
...
This patch fixes some issues related to DUMP() debugging. Opening std and
placing all Core related classed inside DB namespace enable proper adl support.
It also adds better sfinae guards to Field constructor which somehow breaks <<
overloads.
2017-12-20 21:44:42 +03:00
Alexey Milovidov
99a19de80e
Translated comment [#CLICKHOUSE-2].
2017-12-19 22:32:13 +03:00
Alexey Milovidov
7dfd3a2c3a
Translated comment [#CLICKHOUSE-2].
2017-12-19 22:30:25 +03:00
Alexey Milovidov
6f7d2b99ea
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:14:12 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07:12 +03:00
Alexey Milovidov
4a51a7bb22
Fixed bad translation [#CLICKHOUSE-2].
2017-12-13 21:42:13 +03:00
Alexey Milovidov
7d04e67262
Merge branch 'write-buffer-from-arena'
2017-12-11 21:25:03 +03:00
Alexey Milovidov
22d90fcc41
Miscellaneous [#CLICKHOUSE-2].
2017-12-11 21:07:08 +03:00
Alexey Milovidov
3b65d95525
Translated comments and by the way made code better [#CLICKHOUSE-2].
2017-12-11 21:05:16 +03:00
Alexey Milovidov
9b81c1ea66
Fixed error with underflow when subtracting months [#CLICKHOUSE-3486].
2017-12-06 07:16:01 +03:00
Alexey Milovidov
4488783072
Better [#CLICKHOUSE-2].
2017-12-02 06:01:41 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
bdd25b15bd
Better [#CLICKHOUSE-2].
2017-12-01 22:34:51 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Vitaliy Lyudvichenko
b738d1baed
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
proller
34eef961de
ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC ( #1558 )
...
* Cmake: clang + libc++ fixes
* Cmake: fix link of some tests (missing pthread)
* Use -pthread flag for compile
* ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC
2017-11-28 22:57:15 +03:00
Alexey Milovidov
a78871f065
Fixed build [#CLICKHOUSE-2].
2017-11-20 08:55:19 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Alexey Milovidov
f0b60b013b
Little better [#CLICKHOUSE-2].
2017-11-18 02:48:55 +03:00
Alexey Milovidov
655565466c
Merge remote-tracking branch 'origin/master' into better-date-parsing-formatting
2017-11-18 02:45:17 +03:00
Silviu Caragea
f7181b4c68
Fix clang error on osx regression from a2b8ae3100
2017-11-17 14:37:17 +03:00
Alexey Milovidov
a2b8ae3100
Fixed tiny error [#CLICKHOUSE-2].
2017-11-16 23:17:57 +03:00
proller
fa65bdcf48
Fix realloc on freebsd and macos ( #1494 )
2017-11-16 22:17:09 +03:00
Alexey Milovidov
ee48dea0d3
Attempt to improve performance of formatting Date and DateTime [#CLICKHOUSE-2].
2017-11-16 05:07:19 +03:00
Alexey Milovidov
040b4bd47e
Attempt to improve performance of parsing Dates [#CLICKHOUSE-2].
2017-11-16 01:58:50 +03:00
Alexey Milovidov
60477a9aaa
Enhanced time zones support: the DateTime data type can track time zone [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
a9ebc23599
Added comment [#CLICKHOUSE-2].
2017-11-04 23:57:10 +03:00
Alexey Milovidov
4e04c4da5f
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:56:31 +03:00
Alexey Milovidov
974a1e4fa5
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:56:31 +03:00
proller
702c68959a
contrib: cctz as submodule. update cctz.
2017-11-03 00:34:32 +03:00
Alexey Milovidov
e29604b7f9
Updated test [#CLICKHOUSE-2099].
2017-10-30 09:27:21 +03:00
Alexey Milovidov
5a447fe661
Fixed error [#CLICKHOUSE-3331].
2017-10-30 08:55:22 +03:00
Alexey Milovidov
ba435d3d4c
Fixed build [#CLICKHOUSE-2].
2017-10-30 02:10:22 +03:00
Alexey Milovidov
3571c13e06
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:55:27 +03:00
Alexey Milovidov
2040fb49fa
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:51:00 +03:00
Alexey Milovidov
c367d513f0
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:38:06 +03:00
Alexey Milovidov
9f4a3a5e7c
Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2].
2017-10-29 09:32:21 +03:00