Commit Graph

793 Commits

Author SHA1 Message Date
Alexey Milovidov
8f9b70a1d7 Style [#CLICKHOUSE-2]. 2017-02-13 13:38:50 +03:00
Alexey Milovidov
c4ff9b52e9 Miscellaneous [#CLICKHOUSE-2]. 2017-02-10 12:04:31 +03:00
Alexey Milovidov
40e71651e5 Allowed hash functions to be constant expressions [#CLICKHOUSE-2819]. 2017-02-08 23:33:50 +03:00
Vitaliy Lyudvichenko
df9ada58fb Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2 Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
proller
326e382387 Include fixes (#454)
* Fix some includes and missing definitions

* fix
2017-02-07 19:38:57 +04:00
Alexey Zatelepin
3479a5dddf fix incorrect usage of memcpySmall [#CLICKHOUSE-2808] 2017-02-07 09:33:07 +04:00
proller
27cde5f8c8 Fix some includes and missing definitions (#446) 2017-02-03 02:08:19 +04:00
proller
8b4b1534e3 Cmake: Test on having sse (#405)
* Cmake: Test on having sse

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2017-01-27 23:55:33 +04:00
Alexey Milovidov
b1a5efffc0 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 14:36:10 +03:00
Alexey Milovidov
812fd4fe87 Added function 'timezone' for introspection [#CLICKHOUSE-2765]. 2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69 Fixed error in prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:56:48 +03:00
Alexey Milovidov
641faac912 More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765]. 2017-01-22 11:57:34 +03:00
alexey-milovidov
ed5b521110 Less dependencies 2 (#378)
* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
7f0e61bfbd Misc [#CLICKHOUSE-2]. 2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4 Fixed error with replaceRegexp functions [#CLICKHOUSE-2763]. 2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62 replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763]. 2017-01-20 00:31:51 +03:00
Alexey Milovidov
01c2caef8c Miscellaneous [#CLICKHOUSE-11]. 2017-01-17 03:25:43 +03:00
Alexey Milovidov
530796a5f8 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:07:26 +03:00
Alexey Milovidov
58e5dad1a1 Squashed commit of the following:
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:59:13 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:58:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:55:14 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:54:22 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:47:34 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:40:09 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:22:49 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:18:17 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:17:06 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:16:28 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:15:42 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:13:35 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:11:18 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:09:04 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:06:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:05:44 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:04:53 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:01:47 2017 +0300

    Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
335a69d79c Added type inference for lambdas [#CLICKHOUSE-11]. 2017-01-14 10:19:47 +03:00
Vitaliy Lyudvichenko
c56d3724e4 Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194] 2017-01-13 23:01:24 +03:00
Vitaliy Lyudvichenko
a1dcd24a76 New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29] 2017-01-13 21:17:50 +03:00
alexey-milovidov
9808a5ab9e Merge pull request #323 from ludv1x/accurate-compare
Accurate numbers comparison
2017-01-12 23:31:07 +04:00
Vitaliy Lyudvichenko
9dd3bc3b60 Removed old code. [#CLICKHOUSE-194] 2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a Add test for accurate numbers comparisons. [#CLICKHOUSE-194] 2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46 Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194] 2017-01-12 18:21:17 +03:00
Vitaliy Lyudvichenko
b264b853a5 Added accurate numbers comparison. [#CLICKHOUSE-194] 2017-01-12 18:20:45 +03:00
Alexey Milovidov
38c9ad9761 Fixed error [#METR-2944]. 2017-01-12 04:29:32 +03:00
Alexey Milovidov
d89ee33ce2 Squashed commit of the following:
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:35:01 2017 +0300

    Style [#METR-2944].

commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:33:11 2017 +0300

    Miscellaneous [#METR-2944].

commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:30:19 2017 +0300

    Miscellaneous [#METR-2944].

commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:11:41 2017 +0300

    Miscellaneous [#METR-2944].

commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:56:15 2017 +0300

    Miscellaneous [#METR-2944].

commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:47:52 2017 +0300

    Miscellaneous [#METR-2944].

commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:46:05 2017 +0300

    Miscellaneous [#METR-2944].

commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:39:46 2017 +0300

    Miscellaneous [#METR-2944].

commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:38:03 2017 +0300

    Miscellaneous [#METR-2944].

commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:34:15 2017 +0300

    Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
a1a6ddd01e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 19:34:05 +03:00
Alexey Milovidov
51df4e19e2 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 10:25:23 +03:00
Alexey Milovidov
cf295ee681 Style [#METR-2944]. 2017-01-04 07:00:37 +03:00
Alexey Milovidov
d6735c2a23 Function "sleep": do not sleep during query analyze [#METR-21574]. 2017-01-04 06:37:59 +03:00
Alexey Milovidov
af5e2c9953 Less const_casts [#METR-2944]. 2017-01-03 04:49:19 +03:00
Alexey Milovidov
604bd6c5a3 Less const_casts [#METR-2944]. 2017-01-03 04:42:17 +03:00
Alexey Milovidov
ca37f28b5f Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944]. 2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34 Renamed method (less confusion) [#METR-2944]. 2017-01-02 23:12:12 +03:00
Alexey Milovidov
baf29f5c48 NULLs support: fixed totally wrong code [#METR-19266]. 2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a Great simplification [#METR-2944]. 2016-12-30 04:53:21 +03:00
Alexey Milovidov
025bfd414f Allowed to create tuples with NULLs [#METR-19266]. 2016-12-30 03:55:59 +03:00
Alexey Milovidov
b4e18e2222 Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944]. 2016-12-30 03:15:50 +03:00
Alexey Milovidov
3f678a3042 Functions: little better [#METR-2944]. 2016-12-29 22:38:10 +03:00
Alexey Milovidov
cbaf9d79eb Added function 'toStartOfDay'; fixed tiny error [#METR-23983]. 2016-12-28 15:10:29 +03:00
Alexey Milovidov
ad6507f9df Preparation [#METR-23490]. 2016-12-27 09:36:53 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
artpaul
4025dbe7af style 2016-12-15 23:59:07 +05:00