Commit Graph

64 Commits

Author SHA1 Message Date
alexey-milovidov
6d5bfc8c6f Refactoring of numeric DataTypes (#581)
* Better code [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
f9a5902e76 Support for NULLs in function if: continued [#CLICKHOUSE-2873]. 2017-03-09 06:34:09 +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
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
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
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
Alexey Arno
924402f33e dbms: Server: merged from master [#METR-19266] 2016-10-19 18:00:56 +03:00
Alexey Arno
0ad504e4dd dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinute/toStartOfFiveMinute correctly take into account the time zone parameter. [#METR-22935] 2016-09-29 13:00:37 +03:00
Alexey Arno
dcbe183d41 dbms: merged with master [#METR-19266] 2016-07-11 13:09:16 +03:00
Alexey Milovidov
e6e6953bf3 Miscellaneous modifications [#METR-2944]. 2016-07-10 05:33:50 +03:00
Alexey Arno
f52403f623 dbms: Server: Feature development. [#METR-19266] 2016-07-06 12:47:55 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46 Using std::shared_ptr for columns [#METR-21503]. 2016-05-28 08:31:36 +03:00
Alexey Milovidov
f7c09d58a5 Attempt to improve performance [#METR-20892]. 2016-04-15 03:33:21 +03:00
Alexey Arno
bcd48f47e4 dbms: Fixed error message. [#METR-19416] 2016-03-10 17:58:31 +03:00
Alexey Arno
3a9e7a7170 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 13:13:07 +03:00
Alexey Arno
ef135c5873 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 12:56:14 +03:00
Alexey Arno
e41c1dd9af dbms: Server: Fixed error messages of time-related functions. [#METR-19416] 2015-12-14 19:26:39 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Arno
33650462c2 Merge 2015-10-22 18:31:42 +03:00
Alexey Milovidov
8ab8ab5a2b dbms: added 'override' to functions [#METR-18149]. 2015-10-12 02:36:45 +03:00
Alexey Arno
5e1b1d4c48 dbms: Server: Performance improvements. [#METR-15618] 2015-07-08 20:30:42 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Arno
7968c06699 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:26:15 +03:00
Alexey Arno
426e27d98e dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:14:07 +03:00
Alexey Arno
7ef2b9595a dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 16:35:28 +03:00
Alexey Arno
557b0bf9cc dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 17:35:02 +03:00
Alexey Arno
d8b0510518 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 18:03:22 +03:00
Alexey Arno
eec6b89a4c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 17:02:47 +03:00
Alexey Arno
37f008afd0 dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618] 2015-06-26 18:11:31 +03:00
Alexey Arno
ce1e437c09 dbms: Server: Added function toStartOfFiveMinute. [#METR-14495] 2015-06-03 17:27:03 +03:00
Alexey Milovidov
577a7d102d dbms: fixed leaks [#METR-15352]. 2015-03-05 08:42:42 +03:00
Andrey Mironov
85e511fdab dbms: refactor IFunction descendants' registration in FunctionFactory 2014-11-12 21:04:49 +03:00
Andrey Mironov
f8e5ae8a02 implement today(), yesterday() [#METR-12575] 2014-09-04 15:48:07 +04:00
Alexey Milovidov
0041db77ab Tiny improvement [#METR-2807]. 2014-07-09 03:52:53 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Sergey Fedorov
6c2507870e functions: replaceOne replaceAll implementation, few code-style changes [METR-9750] 2014-01-27 13:49:06 +00:00
Sergey Fedorov
2c98354df3 functions: removed couple of unused date time funstions [METR-9582] 2014-01-23 12:12:55 +00:00
Sergey Fedorov
1d874c5f95 functions: Relative Date-time functions + regionToContinent support [METR-9582] 2014-01-22 12:27:55 +00:00
Sergey Fedorov
32e0d8397e [dmbs and libs] Function toFirstDayOfQuarter in DateLUT and FunctonsDateTime [METR-9400] 2013-12-20 14:12:20 +00:00
Alexey Milovidov
c640065f37 dbms: don't zero-fill columns with numbers [#METR-8582]. 2013-12-08 02:29:40 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00