Commit Graph

803 Commits

Author SHA1 Message Date
Alexey Milovidov
fe24bb25a0 If for Nullable types: additions [#CLICKHOUSE-2873]. 2017-03-07 23:42:01 +03:00
Alexey Milovidov
e20441eee6 Fixed error [#CLICKHOUSE-2873]. 2017-03-07 23:11:39 +03:00
Alexey Milovidov
3d01985d55 Fixed error [#CLICKHOUSE-4]. 2017-03-07 00:33:10 +03:00
Alexey Milovidov
dc78586115 Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 10:16:29 +03:00
Alexey Milovidov
d7ad0f9fac Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 10:08:27 +03:00
Alexey Milovidov
76e3c6076e Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 09:46:45 +03:00
artpaul
d43d692414 fix build 2017-03-03 12:38:30 +05:00
alexey-milovidov
5ee48f9f33 Update FunctionsGeo.h 2017-03-02 16:13:02 +04:00
serebrserg
42ce089aa6 add pointInEllipses function 2017-03-01 12:23:49 +03:00
Vitaliy Lyudvichenko
97c4211409 Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
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