proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
Alexey Milovidov
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
Alexey Milovidov
a380fa88da
Fixed debug build [#CLICKHOUSE-2].
2017-03-12 14:09:25 +03:00
Alexey Milovidov
8912e5ea2b
DataTypeNull: move code to cpp [#CLICKHOUSE-2].
2017-03-12 13:38:46 +03:00
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
93bb49cecd
Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879].
2017-03-11 07:36:14 +03:00
Alexey Milovidov
61add0f252
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:18:13 +03:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
proller
81594df4d6
split FunctionsString.h ( #571 )
...
* split FunctionsString.h
* wip
* wip
* format
* wip
2017-03-10 21:53:32 +04:00
proller
a2d78e674f
split FunctionsStringSearch.h ( #572 )
...
* split FunctionsStringSearch.h
* wip
* includes
* format
2017-03-10 21:52:36 +04:00
proller
3284133169
better split FunctionsMiscellaneous.cpp
2017-03-10 16:13:32 +03:00
Alexey Milovidov
abe0fca1a4
Better coalesce [#CLICKHOUSE-2789].
2017-03-09 23:39:20 +03:00
Alexey Milovidov
ee0f0a8818
Fixed ifNull function [#CLICKHOUSE-4].
2017-03-09 22:39:51 +03:00
Alexey Milovidov
82ae603426
Added function toNullable [#CLICKHOUSE-4].
2017-03-09 22:31:16 +03:00
Alexey Milovidov
8da4e576a9
Make function ifNull to allow to return non-Nullable result [#CLICKHOUSE-2789].
2017-03-09 21:58:44 +03:00
Alexey Milovidov
caebb93995
Merge remote-tracking branch 'origin/master' into if-support-nulls
...
Conflicts:
dbms/include/DB/Columns/ColumnArray.h
dbms/include/DB/Columns/ColumnString.h
dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
f9a5902e76
Support for NULLs in function if: continued [#CLICKHOUSE-2873].
2017-03-09 06:34:09 +03:00
proller
b3ea06ac12
Split FunctionsMiscellaneous.h ( #564 )
...
* Move funcs from .h to FunctionsMiscellaneous.cpp
* Move funcs from .h to FunctionsMiscellaneous.cpp - templates
* format
* clean includes
* newlines
* cmath
2017-03-07 22:57:15 +04:00
Alexey Milovidov
8eeeea200a
Better [#CLICKHOUSE-2872].
2017-03-07 04:35:36 +03:00
serebrserg
42ce089aa6
add pointInEllipses function
2017-03-01 12:23:49 +03:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04: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
Vitaliy Lyudvichenko
76916739e2
Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Alexey Milovidov
812fd4fe87
Added function 'timezone' for introspection [#CLICKHOUSE-2765].
2017-01-22 14:07:45 +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
7a971df887
Fixed error in function multiIf [#CLICKHOUSE-2763].
2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da
Fixed error with multiIf function [#CLICKHOUSE-2763].
2017-01-20 04:18:57 +03:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04:00
proller
2fe033d00e
Fix compiling in freebsd/clang
2017-01-17 18:03:32 +00: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
0f03a7bbdc
Fixed error with checking number of arguments of functions [#METR-24078].
2017-01-11 05:47:43 +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
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
a4a77d8bc0
Function visibleWidth: fixed error [#METR-2944].
2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840
Addition to prev. revision [#METR-2944].
2016-12-30 03:19:05 +03:00
Alexey Milovidov
8ff20e1ecc
Fixed test [#METR-2944].
2016-12-29 23:41:49 +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
989d542f66
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:33:35 +03:00
Alexey Milovidov
1311b93c9c
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:29:42 +03:00
Alexey Milovidov
b113a7a473
Tiny modifications [#METR-23793].
2016-12-15 22:35:32 +03:00
artpaul
0b0dc43e9b
fix
2016-12-15 23:56:31 +05:00
artpaul
945f879765
fix
2016-12-15 23:21:38 +05:00
artpaul
722e4dab6d
merge with master
2016-12-15 23:19:12 +05:00
artpaul
eb80837355
use find_first_symbols
2016-12-15 22:55:12 +05:00
artpaul
d3657d311b
fix decodeUrl; decode all values; add more tests
2016-12-15 22:12:41 +05:00
alexey-milovidov
a3886babed
Revert "Issue 219"
2016-12-15 18:19:16 +04:00
artpaul
92a7dc6908
style
2016-12-15 17:33:50 +05:00
artpaul
785a98e624
move all url's functions to FunctionsURL
2016-12-15 17:05:05 +05:00
artpaul
fb900881da
resolve conflicts
2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4
- use std::experimental::string_view
...
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
70b01f0a53
Do not include ClickHouseRevision.h in header files [#METR-2944].
2016-12-12 08:14:46 +03:00
Alexey Milovidov
d77b4f12fb
Added UUID functions [#METR-23792].
2016-12-11 13:57:34 +03:00
artpaul
99cec8b165
implement unquoteUrl
2016-12-11 02:04:58 +05:00
Alexey Milovidov
02cb56653a
Merging [#METR-19266].
2016-12-10 09:22:03 +03:00
Alexey Milovidov
2aa02d0547
Merging [#METR-19266].
2016-12-10 09:12:21 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
artpaul
a2b4b85ed5
show type of argument in case of type missmatching
2016-12-02 13:59:23 +05:00
artpaul
7eb7cc38f7
move impls of FunctionsString to cpp
2016-12-02 12:32:39 +05:00
artpaul
41fda59c95
move impls of FunctionsArray to cpp
2016-12-02 12:15:35 +05:00
Alexey Milovidov
23257cd562
Added functions arraySort and arrayReverseSort [#METR-23547].
2016-11-20 09:44:38 +03:00
Pavel Kartavyy
aac646ccfc
update after review
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
bdb7e9745b
add hasColumnInTable function [#METR-23248]
2016-11-16 18:52:35 +03:00
Alexey Arno
55bb0f00b7
dbms: Server: fixes [#METR-19266]
2016-10-21 17:15:25 +03:00
Alexey Arno
ef2dd96ee4
dbms: Server: fixes [#METR-19266]
2016-10-21 16:14:41 +03:00
Alexey Arno
6c40d9b51e
dbms: Server: fixes [#METR-19266]
2016-10-19 21:18:02 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
a4f2f74b8e
dbms: Server: changes to make the code a tad more readable [#METR-19266]
2016-10-18 15:36:36 +03:00
Alexey Arno
a1da591237
dbms: Server: Fixed display of arrays . [#METR-19266]
2016-09-21 14:00:04 +03:00
Alexey Arno
bd53eb8054
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-21 11:24:48 +03:00
Alexey Arno
bad88a8062
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 19:59:14 +03:00
Alexey Arno
045169a065
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 16:51:45 +03:00
Alexey Arno
a38fef4c60
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 10:27:45 +03:00
Alexey Arno
58fec71f0f
dbms: Server: Do not pay attention to this commit. [#METR-19266]
2016-09-19 19:57:52 +03:00
Alexey Arno
dd300f6618
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 19:04:53 +03:00
Alexey Arno
89bc411ab1
dbms: Server: Bug fix. [#METR-19266]
2016-09-19 17:50:56 +03:00
Alexey Arno
c81eb1d730
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 12:40:17 +03:00
Alexey Arno
94187aff43
Merge branch 'METR-19266' of github.com:yandex/ClickHouse into METR-19266 [#METR-19266]
2016-09-19 11:46:54 +03:00
Alexey Arno
8718c95e1e
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 11:46:48 +03:00
Alexey Arno
85383ab7bf
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 11:20:10 +03:00
Alexey Milovidov
365be3c026
Fixed warning with gcc 6 [#METR-2944].
2016-09-19 09:24:18 +03:00
Alexey Milovidov
6dd008a034
Added 'runningDifference' function [#METR-22730].
2016-09-17 01:00:30 +03:00
Alexey Arno
16f8f33051
dbms: Server: a little better [#METR-19266]
2016-09-16 22:55:29 +03:00
Alexey Arno
e0347308b9
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 19:11:36 +03:00
Alexey Arno
11484598e3
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 00:55:07 +03:00
Alexey Arno
5a7b98d29a
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 00:27:34 +03:00
Alexey Arno
59043c680e
dbms: Server: Ongoing work. Do not pay attention. [#METR-19266]
2016-09-12 17:16:21 +03:00
Alexey Arno
ef7eb14979
dbms: Server: Adding nullable types support for arrays. Ongoing. [#METR-19266]
2016-09-11 10:40:47 +03:00
Alexey Milovidov
b85dc1bc0f
convertCharset: development [#METR-22482].
2016-08-26 05:24:17 +03:00
Alexey Milovidov
d9db19acea
Function 'convertCharset': development [#METR-22482].
2016-08-26 00:44:47 +03:00
Alexey Arno
f65e7b4a0f
dbms: improvements [#METR-19266]
2016-08-18 17:25:02 +03:00
Alexey Arno
8b9742431e
dbms: cleanup [#METR-19266]
2016-08-17 19:31:00 +03:00
Alexey Arno
c4f348619d
dbms: cleanup [#METR-19266]
2016-08-17 16:38:33 +03:00
Alexey Arno
74ccf71a2a
dbms: cleanup [#METR-19266]
2016-08-17 14:54:21 +03:00
Alexey Milovidov
e387d94275
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:51:39 +03:00
Alexey Milovidov
09563dc4da
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:47:03 +03:00
Alexey Milovidov
1d6e77fd9b
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:41:44 +03:00
Alexey Milovidov
dc0f76bc87
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:40:06 +03:00
Alexey Milovidov
d13190a2db
Fixed error with 'visibleWidth' function when applied to Array(Enum...) or Tuple(Enum...) [#METR-22432].
2016-08-17 09:25:01 +03:00
Alexey Arno
821f1e6482
dbms: cleanup [#METR-19266]
2016-08-17 01:40:05 +03:00
Alexey Arno
be2a305366
dbms: cleanup [#METR-19266]
2016-08-16 16:31:42 +03:00
Alexey Arno
8340f8fd07
dbms: better [#METR-19266]
2016-08-15 20:10:30 +03:00
Alexey Arno
44a135f656
dbms: better [#METR-19266]
2016-08-15 17:36:01 +03:00
Alexey Arno
04c9975c84
dbms: fix [#METR-19266]
2016-08-15 17:07:23 +03:00
Alexey Arno
a9310a5568
dbms: fix [#METR-19266]
2016-08-15 16:30:37 +03:00
Alexey Arno
e19cd2e464
dbms: fix [#METR-19266]
2016-08-15 15:42:12 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
serebrserg
db5bae495b
METR-22322: rename function, add comments
2016-08-14 15:18:11 +03:00
serebrserg
429b73422f
METR-22322: add geo distance function
2016-08-12 19:51:08 +03:00
Alexey Arno
96855a06b8
dbms: Code cleanup. [#METR-19266]
2016-08-12 18:29:45 +03:00
Alexey Arno
c74ee4e478
dbms: Code cleanup [#METR-19266]
2016-08-12 18:22:28 +03:00
Alexey Arno
8ebbc141eb
dbms: Code cleanup. [#METR-19266]
2016-08-12 17:57:39 +03:00
Alexey Arno
568fe119fb
dbms: Got rid of useless display code for CASE and IS NULL/IS NOT NULL. Also simplified CASE implementation. [#METR-19266]
2016-08-12 17:06:58 +03:00
Alexey Arno
3fcf4347cd
dbms: More comments. Cleanups. Moved a lot of FunctionsArray code into implementation file. [#METR-19266]
2016-08-11 19:47:28 +03:00
Alexey Arno
828012c077
dbms: better [#METR-19266]
2016-08-11 03:39:12 +03:00
Alexey Arno
87f330627e
dbms: better [#METR-19266]
2016-08-11 03:17:30 +03:00
Alexey Arno
6bd84296d1
dbms: performance boost for multiIf [#METR-19266]
2016-08-11 00:39:20 +03:00
Alexey Arno
42cb1f690c
dbms: improvements [#METR-19266]
2016-08-11 00:15:51 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Arno
989b3d87fd
dbms: Cleanup [#METR-19266]
2016-08-05 17:00:56 +03:00
Alexey Arno
06428778c3
dbms: Cleanup [#METR-19266]
2016-08-05 15:56:32 +03:00
Alexey Arno
38331e93e7
dbms: Cleanup + added function assumeNotNull [#METR-19266]
2016-08-05 15:52:09 +03:00
Alexey Arno
655d0cb5b4
dbms: Cleanup [#METR-19266]
2016-08-05 15:30:56 +03:00
Alexey Arno
a5cd138deb
dbms: Cleanup [#METR-19266]
2016-08-05 14:31:55 +03:00
Alexey Arno
65b262a15c
dbms: Cleanup [#METR-19266]
2016-08-05 13:56:39 +03:00
Alexey Arno
1802f8d299
dbms: Cleanup [#METR-19266]
2016-08-05 13:32:41 +03:00
Alexey Arno
98b5fde211
dbms: Cleanup [#METR-19266]
2016-08-05 13:04:00 +03:00
Alexey Arno
e6fee12355
dbms: Cleanup [#METR-19266]
2016-08-05 12:53:14 +03:00
Alexey Arno
d73a6efa42
dbms: Cleanup [#METR-19266]
2016-08-05 12:35:37 +03:00
Alexey Arno
f6ab219176
dbms: Cleanup [#METR-19266]
2016-08-05 12:19:32 +03:00
Alexey Arno
a1218c3134
dbms: Cleanup [#METR-19266]
2016-08-05 10:57:02 +03:00
Alexey Arno
e38d29346e
dbms: Cleanup [#METR-19266]
2016-08-05 10:49:56 +03:00
Alexey Arno
91bfb1aee2
dbms: Cleanup [#METR-19266]
2016-08-05 02:32:18 +03:00
Alexey Arno
0bcda15bb5
dbms: Cleanup [#METR-19266]
2016-08-05 02:11:54 +03:00
Alexey Arno
2888a7be26
dbms: Cleanup [#METR-19266]
2016-08-05 02:10:35 +03:00
Alexey Arno
a3edb7ea86
dbms: Cleanup [#METR-19266]
2016-08-05 00:43:56 +03:00
Alexey Arno
79a0e6ecd3
dbms: Cleanup [#METR-19266]
2016-08-05 00:30:16 +03:00
Alexey Arno
8c02bc44c5
dbms: Added support for nullable parameters (conditions and/or branches) in the function multiIf [#METR-19266]
2016-08-04 18:06:27 +03:00
Alexey Milovidov
441aaf6e1d
Added toTOrZero conversion functions [#METR-22229].
2016-08-02 08:32:09 +03:00
Alexey Arno
18340adbe8
dbms: better [#METR-19266]
2016-07-26 15:58:51 +03:00
Alexey Arno
2514b2a04c
dbms: simplifications, improvements, post-testing fixes. Unfinished, so do not pay attention to this commit. [#METR-19266]
2016-07-25 21:26:45 +03:00
Alexey Arno
1055c10621
dbms: fixes [#METR-19266]
2016-07-25 00:34:09 +03:00
Alexey Arno
dcbe183d41
dbms: merged with master [#METR-19266]
2016-07-11 13:09:16 +03:00
Alexey Milovidov
003d63023b
Fixed error [#METR-18149].
2016-07-10 10:24:24 +03:00
Alexey Milovidov
e6e6953bf3
Miscellaneous modifications [#METR-2944].
2016-07-10 05:33:50 +03:00
Alexey Milovidov
df7215487a
Fixed error [#METR-18149].
2016-07-10 05:14:23 +03:00
Alexey Milovidov
777f6bd05c
Added miscellaneous function 'rowNumberInAllBlocks' [#METR-21993].
2016-07-09 00:46:18 +03:00
Alexey Arno
c8209db82a
dbms: Server: Feature development. [#METR-19266]
2016-07-06 14:24:15 +03:00
Alexey Arno
4ff528140a
dbms: Server: Feature development. [#METR-19266]
2016-07-06 13:36:58 +03:00
Alexey Arno
f52403f623
dbms: Server: Feature development. [#METR-19266]
2016-07-06 12:47:55 +03:00
Alexey Milovidov
9ab3d219ad
Allowed to show values of type AggregateFunction in Pretty formats [#METR-2944].
2016-06-22 00:43:43 +03:00
Vladimir Chebotarev
39c2c0f5a5
dbms, contrib: Clang 3.8 build fixes. [#METR-21516]
2016-05-31 14:06:27 +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
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
9a5d580f77
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:53:51 +03:00
Alexey Milovidov
588ae3a790
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:52:51 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Vladimir Chebotarev
c1181c7ed3
dbms: Moved toInteger<>() implementation to cpp. [#METR-XXXXX]
2016-05-24 22:01:17 +03:00
Alexey Milovidov
ab04e6f5be
Added miscellaneous function blockNumber [#METR-21347].
2016-05-17 21:25:47 +03:00
Alexey Arno
286baa8611
Merge
2016-05-04 02:19:14 +03:00
Alexey Arno
af3a9e10de
dbms: Server: Small cosmetic fix in routine that dumps argument types. [#METR-19697]
2016-04-25 18:49:33 +03:00
Alexey Arno
223db6fe93
Merge
2016-04-25 16:11:37 +03:00
Alexey Arno
451256e31c
dbms: Server: Bug fix in multiIf: if we passed toFixedString to all the branch parameters, a discrepancy between the awaited return type and the actual return type led to a failure. [#METR-19697]
2016-04-22 18:19:02 +03:00
Alexey Arno
52b6eceb51
dbms: Server: simplified code [#METR-19697]
2016-04-22 13:21:52 +03:00
Alexey Arno
f2357d50b5
Merge
2016-04-18 17:31:32 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
f7c09d58a5
Attempt to improve performance [#METR-20892].
2016-04-15 03:33:21 +03:00
Alexey Milovidov
f538e81c98
Added 'uptime' function [#METR-20819].
2016-04-09 10:47:08 +03:00
Alexey Milovidov
4c0b0e9c80
dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054].
2016-02-23 06:20:48 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
477c7245d4
dbms: added function regionToTopContinent [#METR-19807].
2016-02-01 23:18:13 +03:00
Alexey Milovidov
b7ef4a3e7b
dbms: fixed function visibleWidth for enums [#METR-19265].
2016-02-01 20:30:46 +03:00
Alexey Milovidov
c062fc1ce0
dbms: cutting dependency [#METR-2944].
2016-01-12 05:21:15 +03:00
Andrey Mironov
2a6992689f
dbms: add value to name map for enums; fix visibleWidth for enums [#METR-19265]
2015-12-30 15:12:18 +03:00
Andrey Mironov
a75cb3a528
dbms: change underlying type of Enums to signed ints [#METR-19265]
2015-12-28 20:06:15 +03:00
Andrey Mironov
49236beee8
dbms: CAST(expression AS type
) [#METR-19265]
2015-12-25 15:06:16 +03:00
Andrey Mironov
3c0c39e38a
dbms: add basic support for types Enum8/16. [#METR-19265]
2015-12-21 16:15:21 +03:00
Alexey Milovidov
1e4def963d
dbms: added function 'arrayReduce' [#METR-19264].
2015-12-13 13:43:49 +03:00
Andrey Mironov
386d560d39
dbms: refactor DoubleConverter [#METR-17328]
2015-11-30 20:55:42 +03:00
Alexey Milovidov
d9bc972a59
dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052].
2015-11-29 11:06:29 +03:00
Andrey Mironov
6c8c0e03cb
dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520]
2015-11-19 16:15:02 +03:00
Andrey Mironov
32614f5206
dbms: dictGetOrDefault for all types, explicit StringRef(string) [#METR-18520]
2015-11-10 12:29:30 +03:00
Andrey Mironov
f8e5fed856
dbms: dictGetStringOrDefault, other functions on the way [#METR-18520]
2015-11-06 17:54:04 +03:00
Alexey Milovidov
a552f7b723
dbms: added function arrayStringConcat [#METR-18022].
2015-10-19 21:49:52 +03:00
Andrey Mironov
797b947425
dbms: add concatAssumeInjective [#METR-18261]
2015-10-14 15:50:21 +03:00
Alexey Milovidov
4a061b97cb
Moved file [#METR-17973].
2015-10-05 03:44:40 +03:00
Andrey Mironov
2efae5a5b9
dbms: positionCaseInsensitiveUTF8 and some fixes (out of bounds access etc.) for positionCaseInsensitive. [#METR-16752]
2015-09-23 20:00:01 +03:00
Andrey Mironov
02064e1029
dbms: positionCaseInsensitive function (no tests attached yet) [#METR-16752]
2015-09-22 16:43:41 +03:00
Alexey Milovidov
6ceb83dc7d
dbms: added function formatReadableSize [#METR-16184].
2015-09-20 05:03:12 +03:00
Alexey Milovidov
e5677bea4d
dbms: added function randConstant for testing purposes [#METR-17536].
2015-09-07 20:56:56 +03:00