Alexey Milovidov
320b1e635b
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:14:44 +03:00
Alexey Milovidov
43daa720a4
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:09:32 +03:00
Maxim Fridental
e30c9242bc
Implement functions findClusterIndex and findClusterValue.
2017-07-03 17:01:21 +03:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Zatelepin
87fbfe0950
correct comparisons for strings with null bytes [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Георгий Кондратьев
47161f8425
Specify all link dependencies [#DEVTOOLS-3381]
...
Tested with:
export LDFLAGS="-Wl,--no-undefined"
cmake -DUSE_STATIC_LIBRARIES=OFF -DBUILD_SHARED_LIBS=ON
2017-06-20 00:53:12 +03:00
Alexey Milovidov
3ec14e0481
Fixed error [#CLICKHOUSE-4].
2017-06-14 22:31:05 +03:00
Alexey Milovidov
49e8473456
Fixed error [#CLICKHOUSE-2].
2017-06-13 08:55:04 +03:00
Alexey Milovidov
8ba0ed9aeb
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:15:12 +03:00
Alexey Milovidov
a73790f17d
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:14:24 +03:00
Alexey Milovidov
a782f81f8f
Moved common code from Functions; fixed build after merge [#CLICKHOUSE-2].
2017-06-13 07:45:30 +03:00
Alexey Milovidov
77aa0ed3d2
Fixed build [#CLICKHOUSE-31].
2017-06-13 07:33:07 +03:00
Alexey Milovidov
74bd90701e
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
3ddea6b260
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
1c219c5a7b
Addition to prev. revision [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
782fe332b1
Miscellaneous [#CLICKHOUSE-31].
2017-06-13 07:13:54 +03:00
Alexey Milovidov
7f87bb07da
Fixed linkage [#CLICKHOUSE-2].
2017-06-12 03:26:22 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
7c6f647559
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:52:11 +03:00
Alexey Milovidov
d5a83f6cef
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:49:23 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
5bd9342c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-01 21:13:42 +03:00
Alexey Milovidov
862a304db2
Small refinements [#CLICKHOUSE-2].
2017-06-01 16:41:58 +03:00
f1yegor
0bf5182020
translate comments: etc
2017-05-28 16:32:59 +02:00
f1yegor
0882092c20
translate comments: functions
2017-05-27 17:45:25 +02:00
Alexey Milovidov
e05547f4f8
Little better [#CLICKHOUSE-3039].
2017-05-25 22:52:05 +03:00
Alexey Zatelepin
1c903df8d7
move AccurateComparison.h [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
e9f8f99e06
Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
571af20a4f
Added function defaultValueForArgumentType [#CLICKHOUSE-3013].
2017-05-22 01:27:41 +03:00
Dmitry Luhtionov
4cc10af7b7
Add MACStringToOUI function
2017-05-16 10:32:49 +04:00
orantius
da83036326
Add age 55 for function roundAge. [#CLICKHOUSE-3001]
2017-05-15 22:42:39 +04:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
Alexey Milovidov
4b852584ce
Whitespaces [#CLICKHOUSE-2].
2017-05-12 17:01:02 +03:00
Dmitry Luhtionov
a21a6caf4e
Доюавленф функции FunctionMACNumToString и FunctionMACStringToNum
2017-05-10 08:16:06 -04:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
Alexey Milovidov
b007f6ba18
Analyzers: added type inference for higher order functions [#CLICKHOUSE-11].
2017-04-24 07:31:03 +03:00
proller
8cf716fa29
Functions as separate lib
2017-04-21 21:30:16 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
ed3c0125cd
Added support for Nullable types in higher order functions [#CLICKHOUSE-4].
2017-04-19 06:35:11 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
artpaul
0ba72436db
#214 fix conversion from fixed-string to string
2017-04-19 03:17:44 +03:00
Alexey Milovidov
f76680d47e
Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958].
2017-04-17 20:49:11 +03:00
Vitaliy Lyudvichenko
dcb5371844
Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754]
2017-04-17 14:44:16 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
Alexey Milovidov
cc43f989bc
Preparation [#CLICKHOUSE-4].
2017-03-29 14:33:07 +03:00
Alexey Milovidov
8b2f769f12
Fixed error after translated comments [#CLICKHOUSE-3].
2017-03-26 05:07:15 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
Alexey Milovidov
93890423f1
Fixed zero-width spaces [#CLICKHOUSE-3].
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
Alexey Milovidov
edd405ef29
Merge branch 'docs/translate' of https://github.com/f1yegor/ClickHouse into f1yegor-docs/translate
2017-03-26 04:17:58 +03:00
Alexey Milovidov
e6ba252507
Hierarchical dictionaries performance: continued [#CLICKHOUSE-2144].
2017-03-26 03:42:01 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
Alexey Milovidov
f5434cd2ae
Separated functions for embedded and external dictionaries [#CLICKHOUSE-2144].
2017-03-25 21:11:09 +03:00
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
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