Nikolai Kochetov
1af4d9b89c
Fix type for constant LowCardinality arguments.
2019-02-12 18:42:33 +03:00
Vitaly Baranov
83d461975e
Function toStartOfDay() now can receive a date.
2019-02-12 17:21:37 +03:00
Alexey Milovidov
2aafcb8401
Fixed ubsan build #4322
2019-02-12 16:51:34 +03:00
Alexey Milovidov
8f1910729a
Fixed ubsan build #4322
2019-02-12 15:33:24 +03:00
Alexey Milovidov
2294575693
Fixed fuzz test #4322
2019-02-11 20:26:35 +03:00
alexey-milovidov
4e12697e1c
Merge pull request #4304 from vitlibar/add-function-to-start-of-interval
...
Add time function toStartOfInterval().
2019-02-11 17:21:48 +03:00
Vitaly Baranov
0dd1dc242a
Add time function toStartOfInterval().
2019-02-11 14:59:17 +03:00
Alexey Milovidov
e150e62040
Grouped includes (40 of 182)
2019-02-10 20:40:52 +03:00
Alexey Milovidov
ba3cb83a84
Removed duplicate includes
2019-02-10 20:12:22 +03:00
alexey-milovidov
77ce3dab0f
Merge pull request #4320 from yandex/bitmask-ubsan
...
Fixed error found by UBSan; added a test for bitmask functions for negative input
2019-02-10 01:27:04 +03:00
Alexey Milovidov
f794ebbec4
Fixed implementation of "arrayWithConstant" #4309
2019-02-10 00:13:58 +03:00
Alexey Milovidov
a01427db27
Merge branch 'master' of https://github.com/Stupnikov/ClickHouse into Stupnikov-master
2019-02-10 00:04:17 +03:00
Alexey Milovidov
871670d4fb
Fixed test
2019-02-10 00:03:42 +03:00
Alexey Milovidov
d705c4fc9c
Fixed error found by UBSan; added a test for bitmask functions for negative input
2019-02-09 22:44:27 +03:00
Andy Yang
1a28ba01c1
Added bitmap function feature, fixed test errors and code styles
2019-02-09 14:33:09 +08:00
proller
a95d2d153d
Build ARM fix ( #4306 )
...
* Build ARM fix
* Fix warning: declaration shadows a local variable
* Add info about SPLIT_SHARED_LIBRARIES
* Fix cpuid on ARM
* release: better pbuilder autoinstall
2019-02-09 01:09:32 +03:00
Stupnikov Andrey
dbc9376a0f
arrayWithConstant function implementation;
2019-02-08 02:24:07 +03:00
Vitaly Baranov
7ff5439971
Merge pull request #4298 from vitlibar/add-function-to-start-of-ten-minutes
...
Add function toStartOfTenMinutes().
2019-02-07 11:46:13 +03:00
Vitaly Baranov
7cbdb17f5b
Add function toStartOfTenMinutes().
2019-02-07 01:50:04 +03:00
alexey-milovidov
2686f64233
Merge pull request #4128 from yandex/unified-sets
...
Unified sets
2019-02-06 20:40:11 +03:00
alexey-milovidov
f234d7b55e
Merge pull request #4291 from proller/fix15
...
Build ARM fixes
2019-02-06 18:41:24 +03:00
KochetovNicolai
9f971c276f
Merge pull request #3669 from Enmk/ipv4_and_ipv6_domains
...
Ipv4 and ipv6 domains
2019-02-06 18:16:58 +03:00
proller
8a714ed2f0
Build ARM fixes
2019-02-06 14:37:30 +00:00
Nikita Vasilev
a1b0dede07
Data Skipping Indices ( #4143 )
...
* made index parser
* added index parsing
* some fixes
* added index interface and factory
* fixed compilation
* ptrs
* added indexParts
* indextypes
* index condition
* IndexCondition
* added indexes in selectexecutor
* fix
* changed comment
* fix
* added granularity
* comments
* fix
* fix
* added writing indexes
* removed indexpart class
* fix
* added setSkipIndexes
* add rw for MergeTreeIndexes
* fixes
* upd error
* fix
* fix
* reading
* test index
* fixed nullptr error
* fixed
* fix
* unique names
* asts -> exprlist
* minmax index
* fix
* fixed select
* fixed merging
* fixed mutation
* working minmax
* removed test index
* fixed style
* added indexes to checkDataPart
* added tests for minmax index
* fixed constructor
* fix style
* fixed includes
* fixed setSkipIndexes
* added indexes meta to zookeeper
* added parsing
* removed throw
* alter cmds parse
* fix
* added alter
* fix
* alters fix
* fix alters
* fix "after"
* fixed alter
* alter fix + test
* fixes
* upd setSkipIndexes
* fixed alter bug with drop all indices
* fix metadata editing
* new test and repl fix
* rm test files
* fixed repl alter
* fix
* fix
* indices
* MTReadStream
* upd test for bug
* fix
* added useful parsers and ast classes
* fix
* fix comments
* replaced columns
* fix
* fixed parsing
* fixed printing
* fix err
* basic IndicesDescription
* go to IndicesDescr
* moved indices
* go to indicesDescr
* fix test minmax_index*
* fixed MT alter
* fixed bug with replMT indices storing in zk
* rename
* refactoring
* docs ru
* docs ru
* docs en
* refactor
* rename tests
* fix docs
* refactoring
* fix
* fix
* fix
* fixed style
* unique idx
* unique
* fix
* better minmax calculation
* upd
* added getBlock
* unique_condition
* added termForAST
* unique
* fixed not
* uniqueCondition::mayBeTrueOnGranule
* fix
* fixed bug with double column
* is always true
* fix
* key set
* spaces
* test
* tests
* fix
* unique
* fix
* fix
* fixed bug with duplicate column
* removed unused data
* fix
* fixes
* __bitSwapLastTwo
* fix
2019-02-05 17:50:25 +03:00
Nikolai Kochetov
a249fc7788
Do nut use Arena in ColumnsHashing for string in functions arrayUniq and arrayEnumerate.
2019-02-05 14:14:09 +03:00
Nikolai Kochetov
daa051b1f8
Fix tests.
2019-02-05 13:55:34 +03:00
Nikolai Kochetov
1644349342
Refactor arrayEnumerateUniq using ColumnsHashing.
2019-02-05 13:55:25 +03:00
Alexey Milovidov
b186861ef7
Fixed error message
2019-02-04 22:50:21 +03:00
Vasily Nemkov
2716df8ab2
IPv4 and IPv6 Domain implementation.
...
Added:
* IDataTypeDomain interface;
* method DataTypeFactory::registerDataTypeDomain for registering domains;
* DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
* Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;
Updated:
* IDataType text serialization/deserialization methods;
* IDataType implementation to use domain for text serialization/deserialization;
* Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;
Tests:
* Added test cases for IPv4 and IPv6 domains.
* Updated IPv4/v6 functions tests to validate more cases;
* Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Alexey Milovidov
1f72b0fb16
Disable JIT compilation for comparison of Date and DateTime and conditional operator
2019-02-04 01:11:28 +03:00
Alexey Milovidov
59318c2ad9
Disable JIT compilation for comparison of Date and DateTime and conditional operator
2019-02-04 01:08:17 +03:00
Alexey Milovidov
2129094ba3
Merge branch 'master' into generic-case-for-function-if
2019-02-03 16:01:56 +03:00
alexey-milovidov
91d0d403a2
Merge pull request #3890 from zhang2014/fix/ISSUES-3885
...
ISSUES-3885 temporarily disable predicate optimization for order by
2019-02-03 12:10:20 +03:00
Alexey Milovidov
bf19e73386
Added generic case for function "if"
2019-02-03 11:41:25 +03:00
alexey-milovidov
ad2f6b4db3
Merge pull request #4237 from valexey/date_and_datetime_comparison
...
correct Date and DateTime comparison
2019-02-02 20:58:07 +03:00
alexey-milovidov
592d56ac69
Update FunctionsComparison.h
2019-02-02 20:57:36 +03:00
alexey-milovidov
14f208b9a3
Merge pull request #4239 from danlark1/master
...
produce hints for typo functions and types
2019-02-02 20:42:35 +03:00
Alexey
fc417a4e62
code cleanup
2019-02-02 07:02:57 -08:00
Danila Kutenin
5e62a0825a
produce hints for typo functions and types
2019-02-02 17:54:50 +03:00
Alexey
84bbc83192
use common time for Date and DateTime comparisons
2019-02-02 06:23:44 -08:00
proller
c7cb8d2db5
Freebsd fixes ( #4225 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
* Freebsd fix
* Fix compile on ARM
* Freebsd fixes
* Simpler test
* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
Andy Yang
7e7a864fd4
Added bitmap function feature with roaring bitmap
2019-01-31 21:26:11 +08:00
zhang2014
3af26ca070
ISSUES-3885 better test & fix isStateful bug
2019-01-30 12:49:00 +08:00
zhang2014
ddbd384f32
ISSUES-3885 mark stateful function & do not optimize their predicate
2019-01-30 12:04:28 +08:00
alexey-milovidov
aa06005a32
Merge pull request #4179 from yandex/avoid-overflow-in-function-sleep
...
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan)
2019-01-29 13:44:39 +03:00
Alexey Milovidov
c792191831
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166
2019-01-29 13:42:45 +03:00
proller
2eee2d97df
Update contrib/libmetrohash
2019-01-28 17:00:50 +03:00
Amos Bird
d8eba7e71b
Better joinGet.
2019-01-25 23:38:13 +08:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
Alexey Milovidov
c7b95b5175
Miscellaneous changes for PVS-Studio
2019-01-20 02:27:52 +03:00
Boris Granveaud
f1a7f60165
new functions filesystemAvailable, filesystemFree and filesystemCapacity
2019-01-18 16:44:53 +01:00
Danila Kutenin
12bcff48ee
Miscellaneous and some optimizations
2019-01-16 20:41:08 +03:00
Alexey Milovidov
7d03804d06
Miscellaneous #4053
2019-01-16 16:57:11 +03:00
Danila Kutenin
a5669b6b7a
MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search
2019-01-14 18:54:47 +03:00
proller
7cefef6983
Fix linking in all modes (unbundled, split, ...) ( #4037 )
2019-01-11 19:52:46 +03:00
alesapin
8ae59da557
Fix name hiding
2019-01-10 14:46:20 +03:00
Alexey Milovidov
19f4652959
Fixed bugs found by PVS-Studio
2019-01-09 18:44:20 +03:00
alexey-milovidov
0648088ff0
Merge pull request #4000 from housepower/feature/gccHash
...
Add gccHash function
2019-01-09 10:29:37 +03:00
sundy-li
31a516300a
rename to gccMurmurHash
2019-01-09 10:03:50 +08:00
Alexey Milovidov
ed07c1a1d2
Added "reserve" for "arrayFirst" #3920
2019-01-08 18:30:04 +03:00
sundy-li
e6c02a2356
Add gccHash function
2019-01-08 13:12:52 +08:00
Alexey Milovidov
d4f5310358
Miscellaneous [#CLICKHOUSE-2]
2019-01-07 22:57:32 +03:00
Alexey Milovidov
1c7ccbf108
Miscellaneous [#CLICKHOUSE-2]
2019-01-07 22:56:53 +03:00
Alexey Milovidov
0dfa553fca
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-07 13:40:58 +03:00
Alexey Milovidov
06a8c3f02d
Added some warnings from clang's -Weverything
2019-01-05 06:33:22 +03:00
Alexey Milovidov
afda68d25c
Added some warnings from clang's -Weverything
2019-01-04 17:18:49 +03:00
Alexey Milovidov
4622f5dc7c
Added some warnings from clang's -Weverything
2019-01-04 16:32:08 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Alexey Milovidov
e33e5150b7
Miscellaneous [#CLICKHOUSE-2]
2019-01-02 09:44:36 +03:00
Alexey Milovidov
cd6a1c9bc9
Fixed uninitialized memory in "runningDifference" function [#CLICKHOUSE-2]
2018-12-29 03:53:11 +03:00
alexey-milovidov
4ac9f7a204
Merge pull request #3959 from yandex/catboost-multiclass-models
...
Catboost multiclass models
2018-12-29 01:22:14 +03:00
Nikolai Kochetov
bdaf1ac109
Support multiclass models for CatBoost.
2018-12-28 21:08:32 +03:00
Alexey Milovidov
88bdbc4dc7
Some additions to Amos Bird's optimization #3920
2018-12-27 22:58:30 +03:00
Alexey Milovidov
160ffe8c7f
Fixed UB #3926
2018-12-27 05:00:31 +03:00
Alexey Milovidov
76dafd4d95
Fixed UB #3926
2018-12-27 04:51:22 +03:00
Alexey Milovidov
673fa80a9c
Allowed some UB #3926
2018-12-27 03:40:10 +03:00
Alexey Milovidov
39492139f0
Allowed some UB #3926
2018-12-27 03:25:47 +03:00
Alexey Milovidov
d6c7825328
Addition to prev. revision #3926
2018-12-27 03:11:42 +03:00
Alexey Milovidov
e308d2e069
Addition to prev. revision #3926
2018-12-27 03:10:38 +03:00
Alexey Milovidov
2e20bd4b4a
Addition to prev. revision #3926
2018-12-27 03:09:39 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
10362ab7e1
Fixed build #3926
2018-12-27 01:56:54 +03:00
Alexey Milovidov
ee4c7fe815
Allowed UB in certain cases #3926
2018-12-26 07:59:20 +03:00
Alexey Milovidov
d54d2f7558
Allowed UB in certain cases #3926
2018-12-26 07:56:38 +03:00
Alexey Milovidov
ed50d90812
Allowed UB in certain cases #3926
2018-12-26 07:50:56 +03:00
Alexey Milovidov
5d1bc8540e
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:50:12 +03:00
Alexey Milovidov
1191f1575d
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:44:44 +03:00
Alexey Milovidov
06783113a7
Fixed UB [#CLICKHOUSE-2]
2018-12-26 00:18:40 +03:00
alexey-milovidov
de88010ac8
Merge pull request #3920 from amosbird/leftpad
...
POC zero left padding for PODArray
2018-12-25 21:54:17 +03:00
Alexey Milovidov
4ee7b80ab4
Fixed error #3870
2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77
Investigation #3921
2018-12-25 21:06:38 +03:00
Alexey Milovidov
a66ce65b22
Fixed test, try 2 #3914
2018-12-25 20:52:28 +03:00
Alexey Milovidov
3a8f3a05de
Fixed test #3914
2018-12-25 20:45:02 +03:00
Alexey Milovidov
5e8035f166
Fixed error #3921
2018-12-24 19:13:04 +03:00
Amos Bird
8736a3908f
left pad
2018-12-24 23:51:06 +08:00
Alexey Milovidov
b624add2e7
Rewrite code to calculate integer conversion function monotonicity; fixed test #3870
2018-12-24 18:46:55 +03:00
Alexey Milovidov
ce10674107
Fixed weird error in PR #3870
2018-12-24 16:25:48 +03:00
Alexey Milovidov
0b760ee9e9
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 03:47:11 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
Alexey Milovidov
6368daff63
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-23 22:25:53 +03:00
Alexey Milovidov
7b420297ed
Fixed "unbundled" build #3905
2018-12-23 22:25:40 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
alexey-milovidov
a03c28d0e6
Merge pull request #3909 from yandex/fix-use-after-free-in-array-enumerate
...
Fix use after free in arrayEnumerateUniq and -Dense function.
2018-12-23 06:11:43 +03:00
Alexey Milovidov
34bed6c078
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:12:18 +03:00
Alexey Milovidov
dd7325480f
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:11:56 +03:00
Alexey Milovidov
83cf88c9c1
Less garbage #3909
2018-12-23 04:41:03 +03:00
Alexey Milovidov
94948cb587
Less garbage [#CLICKHOUSE-2]
2018-12-22 18:40:51 +03:00
alexey-milovidov
536c41102c
Merge branch 'master' into xxhash
2018-12-21 21:59:51 +03:00
mf5137
3757007118
Adding xxHash64 and xxHash32 functions
2018-12-21 18:53:16 +01:00
Alexey Milovidov
a8f09809f5
Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2]
2018-12-21 19:00:07 +03:00
alexey-milovidov
e9619169b5
Merge pull request #3896 from zhang2014/fix/check_type_with_converts
...
Fix check data type with converts function
2018-12-21 18:43:46 +03:00
Alexey Milovidov
a7f768d623
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-21 17:33:10 +03:00
Alexey Milovidov
08d573d402
Fixed error with unused variable #3826
2018-12-21 17:23:39 +03:00
zhang2014
6ffdcb38a2
Fix check data type with converts function
2018-12-21 19:37:33 +08:00
alexey-milovidov
52efaf6bb7
Merge pull request #3870 from zhang2014/fix/string_monotonicity
...
Fixed convert function monotonic failure when string data type
2018-12-20 23:55:58 +03:00
Alexey Milovidov
a042e4e9e7
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 22:07:00 +03:00
Alexey Milovidov
f6ce803eff
Better implementation of regexpQuoteMeta #3826
2018-12-20 22:06:46 +03:00
Alexey Milovidov
6a914f5b3c
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 21:17:21 +03:00
Alexey Milovidov
980d6d9e46
Fixed error in "regexpQuoteMeta" function #3826
2018-12-20 21:16:06 +03:00
Alexey Milovidov
5346e1c575
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 20:58:58 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
zhang2014
dc61a73a6e
Fixed convert function monotonic failure when string data type
2018-12-20 10:04:30 +08:00
Ivan Blinkov
24a0b3a53e
Additional function case insensitivity from #3704
2018-12-19 17:46:18 +03:00
Ivan Blinkov
0b79053afd
remove accidental file duplicate
2018-12-19 12:05:04 +03:00
Ivan Blinkov
714bd5b88a
Add lost zero byte in regexpQuoteMeta
2018-12-19 12:02:59 +03:00
Alexey Milovidov
2874061410
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 07:21:23 +03:00
Alexey Milovidov
68e0af176e
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 06:53:09 +03:00
Alexey Milovidov
36836faf62
Full support for Decimal #3721
2018-12-19 05:43:09 +03:00
Alexey Milovidov
9c23556cb0
Basic implementation for Decimal #3721
2018-12-19 05:11:31 +03:00
Alexey Milovidov
b9a68fbe93
Merging #3721 ; Added a test
2018-12-19 04:29:40 +03:00
Alexey Milovidov
cf68f08099
Merge branch 'feature/roundDown-function' of https://github.com/persiyanov/ClickHouse into persiyanov-feature/roundDown-function
2018-12-19 03:29:21 +03:00
Alexey Milovidov
d5d1c34017
Merging #3811
2018-12-18 23:24:16 +03:00
Alexey Milovidov
6a779661c8
Merge branch 'java-hash' of https://github.com/shangshujie365/ClickHouse into shangshujie365-java-hash
2018-12-18 23:04:32 +03:00
Ivan Blinkov
e73bef119c
restore accidentally removed function registration
2018-12-18 17:31:03 +03:00
Ivan Blinkov
d59b7379c9
fix style issues
2018-12-18 16:19:23 +03:00
Ivan Blinkov
d7667ffe95
fix gcc build issue
2018-12-18 16:18:30 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
Ivan Blinkov
5caab32340
simplify whitespace_mask creation
2018-12-18 11:30:25 +03:00
Ivan Blinkov
b7566a8d4d
Add manual implementation of trim base case (without character override)
2018-12-17 23:07:31 +03:00
Ivan Blinkov
2279058f0d
Simplify right(expr, length) function to be just an alias to substring(expr, -length)
2018-12-14 14:42:49 +03:00
Ivan Blinkov
0753cfe81b
Merge FunctionRegexpQuoteMeta.h into regexpQuoteMeta.cpp + add comment about suboptimal library call
2018-12-14 11:43:20 +03:00
shangshujie
c8111704fb
add java hash code source url
2018-12-14 14:12:23 +08:00
Ivan Blinkov
180311b42b
Introduce regexpQuoteMeta function to properly handle regexp special chars in TRIM #3714
2018-12-13 15:58:00 +03:00
shangshujie
e9cabc818d
fix indention
2018-12-13 18:36:31 +08:00
shangshujie
5de1b01d20
fix indention
2018-12-13 12:47:00 +08:00
shangshujie
ccdaf6a31b
add java string hash, hive string hash, for compatible with java world
2018-12-11 16:41:23 +08:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
alexey-milovidov
16bb923df5
Merge pull request #3769 from yandex/low-cardinality-native-format-conversion
...
Support insertion into LowCardinality from old native clients.
2018-12-07 07:08:43 +03:00
Alexey Milovidov
f3c72daf50
Fixed name [#CLICKHOUSE-2]
2018-12-07 06:21:17 +03:00
Ivan Blinkov
21c76a3d63
Make if function name case-insensive #3704
2018-12-06 17:40:32 +03:00
Ivan Blinkov
afcd6f9f09
Make substring function name case-insensitive + add two aliases #3704
2018-12-06 17:30:10 +03:00
Nikolai Kochetov
2bb57ce472
Support insertion into LowCardinality from old native clients.
2018-12-06 17:08:42 +03:00
Ivan Blinkov
ed04453122
Add locate -> position alias #3713
2018-12-06 16:36:23 +03:00
Ivan Blinkov
4ebbe3502d
Add replace -> replaceAll alias #3713
2018-12-06 16:23:45 +03:00
Ivan Blinkov
50314e3e91
Avoid repeating constants
2018-12-06 16:22:57 +03:00
Ivan Blinkov
e110d0789f
Add lcase/ucase + make lower/upper case-insensitive #3715
2018-12-05 19:59:35 +03:00
Ivan Lezhankin
6089b26ef0
Fix |RangeHashedDictionary| getter against |ColumnConst|
2018-12-04 16:15:20 +03:00
Persiyanov Dmitriy Andreevich
4ec2a2792c
style guide
2018-12-03 14:28:22 +03:00
alexey-milovidov
f6c264b70b
Every function in its own file, part 9 ( #3733 )
...
* Every function in its own file, part 9 [#CLICKHOUSE-2]
* Every function in its own file, part 9 [#CLICKHOUSE-2]
2018-12-03 06:17:06 +03:00
alexey-milovidov
02636b3388
Merge pull request #3729 from amosbird/dryrun
...
Function execution with dry runs
2018-12-02 22:45:07 +03:00
Amos Bird
3cc0829cc1
Function execution with dry runs
...
This commit prevents stateful functions like rowNumberInAllBlocks from being modified in getHeader() calls.
2018-12-02 19:02:04 +08:00
Amos Bird
65b654a1b6
Versatile StorageJoin
...
This commit does the following:
1. StorageJoin with simple keys now supports reading
2. StorageJoin can be created with Join settings applied. Syntax is
similar to MergeTree and Kafka
3. Left Any StorageJoin with one simple key can be used as a
dictionary-like structure by function joinGet.
Examples are listed in the related test file.
2018-12-02 16:49:39 +08:00
Alexey Milovidov
2930da2880
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:52:49 +03:00
Alexey Milovidov
70a1275d50
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:47:47 +03:00
Alexey Milovidov
dbbf148a98
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 04:57:01 +03:00
Alexey Milovidov
c9b8cd0626
Fixed errors and improved PR #3724
2018-12-02 03:47:34 +03:00
alexey-milovidov
c5dac3d496
Merge pull request #3724 from ClickHouse-Ninja/master
...
timeSlots: add optional parameter 'Size'
2018-12-02 03:34:52 +03:00
Kirill Shvakov
566644b171
timeSlots: add optional parameter 'Size'
2018-12-01 10:01:20 +02:00
Persiyanov Dmitriy Andreevich
d982d39b1d
remove NameRoundToExp2 & co
2018-11-30 19:13:40 +03:00
Persiyanov Dmitriy Andreevich
be91c76dd2
Merge branch 'master' into feature/roundDown-function
2018-11-30 19:07:49 +03:00
Persiyanov Dmitriy Andreevich
4a48414a5c
working with numeric types
2018-11-30 18:57:06 +03:00
Alexey Milovidov
35f6fb5ae6
Avoid memory over-allocation when large value of "max_query_size" is specified [#CLICKHOUSE-4169]
2018-11-30 18:36:41 +03:00
Persiyanov Dmitriy Andreevich
5d3034c560
almost works w/ different types
2018-11-30 14:15:58 +03:00
Daniel Dao
eb91b19a99
Fix buffer overflow for EmptyImpl with FixedString
...
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2018-11-30 02:17:01 +00:00
Persiyanov Dmitriy Andreevich
614af51fb7
test
2018-11-29 03:32:52 +03:00
alexey-milovidov
b8cb6c8f5e
Merge pull request #3687 from yandex/date-type-and-number-comparsion
...
Date type and number comparsion
2018-11-28 17:34:46 +03:00
Nikolai Kochetov
05ac77dbde
Added test with Date and numbers comparsion.
2018-11-28 15:10:01 +03:00
proller
dd2371e071
CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory ( #3653 )
...
* Split ComplexKeyCacheDictionary to faster compile (part2)
* Dictionaries as lib WIP
* wip
* clean
* Fix build with old capnp
* fix
* wip
* fixes
* fix
* clean
* clean
* clean
* wip
* wip
* wip
* flat
* wip
* cache
* clean
* wip
* faster
* fix style
* fixes
* clean
* clean
* Split CacheDictionary.cpp for faster compile
* fix
* fix
* Less memory usage while compiling
* missing file
* format
* Update registerDictionaries.h
* clean
2018-11-28 14:37:12 +03:00
Nikolai Kochetov
6bd61d17c9
Disable Date and numeric types comparsion.
2018-11-28 14:11:10 +03:00
proller
1ea31e0491
Fix icu link #3631 ( #3671 )
2018-11-27 18:34:21 +03:00
alexey-milovidov
e00ce0bb57
Every function in its own file, part 7 ( #3666 )
...
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Fixed build #3666
2018-11-26 19:20:40 +03:00
Alexey Milovidov
5a0feee45e
Removed "conditional computations" feature, because it is not ready #2272
2018-11-26 04:39:04 +03:00
Alexey Milovidov
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +03:00
alexey-milovidov
0b2848b0f2
Merge pull request #3662 from yandex/fixed-error-in-lower-upper-utf8
...
Fixed error in lowerUTF8 and upperUTF8 functions
2018-11-26 02:24:41 +03:00
alexey-milovidov
5b1eaba276
Every function in its own file, part 6 ( #3661 )
...
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
2018-11-26 02:24:26 +03:00
Alexey Milovidov
4cb7f2896c
Fixed error in lowerUTF8 and upperUTF8 functions [#CLICKHOUSE-2]
2018-11-26 01:26:36 +03:00
Alexey Milovidov
68e0a687c8
Removed unused method [#CLICKHOUSE-2]
2018-11-25 04:24:03 +03:00
Alexey Milovidov
5a045ff11c
Fixed error in URL functions [#CLICKHOUSE-2]
2018-11-25 03:31:24 +03:00
Alexey Milovidov
b53c1ea913
Removed useless include [#CLICKHOUSE-2]
2018-11-25 03:16:14 +03:00
Alexey Milovidov
af9ad0f8ae
Fixed bad code [#CLICKHOUSE-2]
2018-11-25 03:15:43 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
Alexey Milovidov
73e3a7b662
Fixed bad code; added generic implementation for "arrayReverse" function; added test [#CLICKHOUSE-3]
2018-11-24 06:14:54 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
e82241553a
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-24 04:20:37 +03:00
Alexey Milovidov
bbed8a8ca8
Fixed bad code [#CLICKHOUSE-3]
2018-11-24 04:20:27 +03:00
alexey-milovidov
bedca47bca
Merge pull request #3649 from yandex/low-cardinaliry-left-array-join
...
Low cardinaliry left array join
2018-11-24 04:16:38 +03:00
alexey-milovidov
905a4ffc04
Merge pull request #3651 from yandex/fix-functions-with-low-cardinality-argument-and-array-result
...
Fix functions with low cardinality argument and array result
2018-11-24 04:15:20 +03:00
proller
ad6ae4fdbe
Fix build on mac (caused by #3631 ) ( #3654 )
...
* Fix build on mac (caused by #3631 )
* fix
2018-11-24 04:15:00 +03:00