alexey-milovidov
|
c4cef3d47f
|
Merge pull request #12705 from azat/checkNumberOfArgumentsIfVariadic-fix
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
|
2020-07-23 16:22:44 +03:00 |
|
philip.han
|
b71fe9dab9
|
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bayesAB
|
2020-07-23 22:21:15 +09:00 |
|
Alexey Milovidov
|
9b39b6b7b4
|
Whitespace #12484
|
2020-07-23 13:29:59 +03:00 |
|
alexey-milovidov
|
456bf4461b
|
Merge branch 'master' into br1
|
2020-07-23 13:26:41 +03:00 |
|
alexey-milovidov
|
7a7f6dbf13
|
Update formatDateTime.cpp
|
2020-07-23 13:23:55 +03:00 |
|
philip.han
|
49fe5e55a0
|
Remove lambda function in abtesting
|
2020-07-23 17:53:26 +09:00 |
|
Azat Khuzhin
|
9096e1def3
|
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
|
2020-07-23 11:13:19 +03:00 |
|
alesapin
|
c83bf1ab74
|
Revert "Refactor joinGet and implement multi-key lookup."
|
2020-07-23 10:47:17 +03:00 |
|
philip.han
|
67803573b6
|
Fix style
|
2020-07-23 15:00:45 +09:00 |
|
philip.han
|
e4b867c1f3
|
Return xs and ys of variants and improve type checking for the input of bayesAB
|
2020-07-23 14:22:18 +09:00 |
|
alexey-milovidov
|
004481f98b
|
Merge pull request #12418 from amosbird/jgmk
Refactor joinGet and implement multi-key lookup.
|
2020-07-22 21:44:24 +03:00 |
|
Nikolai Kochetov
|
a663bc76ba
|
Merge pull request #12634 from ClickHouse/const-iface-for-functions
Make IFunction::executeImpl const
|
2020-07-22 19:08:52 +03:00 |
|
alexey-milovidov
|
49adaf95aa
|
Merge pull request #12585 from ClickHouse/mod-compatible
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS
|
2020-07-22 08:43:45 +03:00 |
|
Alexey Milovidov
|
7b81640e9b
|
Add support for function if with Array(UUID) arguments #11066
|
2020-07-22 00:15:19 +03:00 |
|
alexey-milovidov
|
72280ee2a3
|
Update moduloOrZero.cpp
|
2020-07-21 17:07:09 +03:00 |
|
alexey-milovidov
|
b358c796f1
|
Update moduloOrZero.cpp
|
2020-07-21 17:06:40 +03:00 |
|
Nikolai Kochetov
|
e4689ce302
|
Make IFunction::executeImpl const.
|
2020-07-21 16:58:07 +03:00 |
|
Alexey Milovidov
|
e4c652ec28
|
Fix test; modify return type of Date or DateTime % Float to Float64
|
2020-07-21 13:36:04 +03:00 |
|
Alexey Milovidov
|
e93e0afd52
|
Added a comment
|
2020-07-21 13:20:09 +03:00 |
|
Vitaly Baranov
|
e3ee555c57
|
Merge pull request #12606 from vitlibar/improve-json-internal-interface
Improve JSON internal interface.
|
2020-07-20 23:35:09 +03:00 |
|
Vitaly Baranov
|
1fb4d9002d
|
Improve JSON internal interface.
|
2020-07-20 20:56:04 +03:00 |
|
Vitaly Baranov
|
0b17595a91
|
Merge pull request #12423 from vitlibar/update-simdjson
Update simdjson
|
2020-07-20 10:15:38 +03:00 |
|
philip.han
|
11de86074f
|
Use range-based for loop and remove redundant call to 'c_str'
|
2020-07-20 15:33:23 +09:00 |
|
Alexey Milovidov
|
10355a2850
|
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323
|
2020-07-20 04:03:46 +03:00 |
|
philip.han
|
5e2d361dc8
|
Remove std::move
|
2020-07-20 00:12:58 +09:00 |
|
Vitaly Baranov
|
8bcaf7908e
|
Rework JSON functions to use the new simdjson interface.
|
2020-07-19 12:50:19 +03:00 |
|
philip.han
|
cdd7755484
|
Remove unused code
|
2020-07-17 22:05:17 +09:00 |
|
philip.han
|
8e8af83b15
|
Fix style
|
2020-07-17 21:08:08 +09:00 |
|
philip.han
|
3554e6c36a
|
Replace vector with PODArray and add testcases
|
2020-07-17 21:06:29 +09:00 |
|
philip.han
|
769a6dfb08
|
bayseAB returns an empty block if input_rows_count is 0 and isDeterministic returns false
|
2020-07-17 18:21:25 +09:00 |
|
philip.han
|
d4aff270db
|
Fix the formula of gamma and the method of argument parsing
|
2020-07-17 17:52:51 +09:00 |
|
Vitaly Baranov
|
4cc101f1d4
|
Fix build scripts.
|
2020-07-17 10:30:13 +03:00 |
|
philip.han
|
36feefb429
|
Replace ABTestResult with Variants
|
2020-07-17 16:23:24 +09:00 |
|
Alexander Kuzmenkov
|
039cf36acb
|
Minor fixes for query fuzzer
|
2020-07-16 21:05:34 +03:00 |
|
Nikita Mikhaylov
|
02c49b9d7f
|
better
|
2020-07-15 22:10:36 +00:00 |
|
Nikita Mikhaylov
|
22e0015782
|
fix arcadia
|
2020-07-15 21:28:01 +00:00 |
|
Nikita Mikhaylov
|
ed05465479
|
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
|
2020-07-15 16:34:56 +00:00 |
|
Nikita Mikhaylov
|
1a8811bd47
|
fix tidy build
|
2020-07-15 16:34:08 +00:00 |
|
Alexander Kuzmenkov
|
3e6b9f297f
|
Some provisions for Android build
|
2020-07-15 14:16:00 +03:00 |
|
Amos Bird
|
6017a33722
|
Fix
|
2020-07-15 10:20:05 +08:00 |
|
Amos Bird
|
46c2bb57ec
|
Refactor joinGet and implement multi-key lookup.
|
2020-07-15 10:12:04 +08:00 |
|
Nikita Mikhaylov
|
4d10ac9b1a
|
trigger ci
|
2020-07-15 02:25:59 +03:00 |
|
feng lv
|
767bc7a905
|
add doc
fix test
fix
name style fix
|
2020-07-14 18:50:51 +08:00 |
|
feng lv
|
f0b423e928
|
add test
style fix
|
2020-07-14 14:16:47 +08:00 |
|
feng lv
|
dffdb6e9e9
|
add FROM_UNIXTIME function
|
2020-07-14 14:04:37 +08:00 |
|
Alexander Kuzmenkov
|
d6e7ab5988
|
Fuzzing-related fixes
|
2020-07-13 16:58:48 +03:00 |
|
alexey-milovidov
|
c615ea658b
|
Merge pull request #12400 from vitlibar/fix-bad_typeid
Fix std::bad_typeid when JSON functions called with argument of wrong type
|
2020-07-11 05:40:44 +03:00 |
|
alexey-milovidov
|
2d9e0ec049
|
Merge pull request #12376 from ClickHouse/fix-totals-state-2
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
|
2020-07-10 20:18:48 +03:00 |
|
Vitaly Baranov
|
94c858b2dc
|
Fix std::bad_typeid when JSON functions called with argument of wrong type.
|
2020-07-10 17:12:57 +03:00 |
|
Alexey Milovidov
|
d543a75f65
|
Allow to parse operator NOT as a function #12262
|
2020-07-10 09:48:05 +03:00 |
|
alexey-milovidov
|
8d7e418617
|
Merge pull request #12314 from BohuTANG/mysql_select_database
Support MySQL 'SELECT DATABASE()'
|
2020-07-10 06:32:04 +03:00 |
|
Alexey Milovidov
|
12e00411b4
|
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments #12163
|
2020-07-10 06:23:42 +03:00 |
|
BohuTANG
|
260bcb9d79
|
Add integration test for mysql replacement query
|
2020-07-09 22:20:54 +08:00 |
|
philip.han
|
bc85df64cb
|
Fix-style
|
2020-07-09 22:11:40 +09:00 |
|
philip.han
|
6c814c9f9f
|
Add bayesAB function for bayesian_ab_testing
|
2020-07-09 22:11:40 +09:00 |
|
Alexey Milovidov
|
e17995cb75
|
Tested with "trap" function
|
2020-07-09 05:24:59 +03:00 |
|
alexey-milovidov
|
0c37fe9c75
|
Merge pull request #12179 from azat/GROUP-BY-injective-elimination-dictGet-fixes
Fix dictGet arguments check during GROUP BY injective functions elimination
|
2020-07-09 04:29:26 +03:00 |
|
alexey-milovidov
|
df8cde7b54
|
Merge pull request #12279 from ClickHouse/fix-array-fill
Fix arrayFill for empty arrays.
|
2020-07-08 14:28:15 +03:00 |
|
alexey-milovidov
|
d0d1590d0d
|
Merge pull request #12271 from ClickHouse/fix-logical-functions-review
Fix minor issues in ternary logic
|
2020-07-08 05:33:37 +03:00 |
|
Alexey Milovidov
|
34e67b521a
|
Fix ugly ugliness
|
2020-07-08 04:56:50 +03:00 |
|
Alexey Milovidov
|
abf1e015b3
|
Add documentation for arrayFill
|
2020-07-08 04:44:24 +03:00 |
|
Alexey Milovidov
|
7138ccca2b
|
Whitespace
|
2020-07-08 01:44:29 +03:00 |
|
Azat Khuzhin
|
6a04de61b6
|
Allow isInjective() with empty block (is function injective with any arguments)
Since most of the time function will ignore it anyway, and creating
arguments just for checking is function injective or not is overkill
|
2020-07-08 00:28:49 +03:00 |
|
Alexey Milovidov
|
5ef4e90dfb
|
Fix minor issues after #12196
|
2020-07-07 23:56:40 +03:00 |
|
alexey-milovidov
|
0fdc29be1e
|
Merge pull request #12196 from ClickHouse/akz/logical-functions-normalized-uint8
Fixed logical functions for UInt8 values when they are not equal to 0 or 1.
|
2020-07-07 23:19:35 +03:00 |
|
Alexander Kazakov
|
2906ae37f5
|
Simple (and fast) inplace fix for UInt8 -> bool
|
2020-07-07 13:26:11 +03:00 |
|
Alexey Milovidov
|
2e8ba3427a
|
Better assert
|
2020-07-06 23:40:32 +03:00 |
|
alexey-milovidov
|
3059be55a3
|
Merge branch 'master' into fix-test-under-thread-fuzzer
|
2020-07-06 19:49:25 +03:00 |
|
Anton Popov
|
66bed10ec1
|
Merge pull request #12109 from PerformanceVision/initialize_aggregation
Create initializeAggregation to initialize an aggregation function
|
2020-07-06 15:12:30 +03:00 |
|
Alexey Milovidov
|
1ca45c1b7e
|
Fix mutations interpreter #9088
|
2020-07-06 09:05:48 +03:00 |
|
Alexey Milovidov
|
0124eeb2d8
|
Added function "hasThreadFuzzer"
|
2020-07-06 06:21:29 +03:00 |
|
Guillaume Tassery
|
569a89280c
|
update ya.make
|
2020-07-06 10:06:45 +07:00 |
|
flynn
|
5816858403
|
add parseDateTimeBestEffortUS function (#12028)
* add function parseDateTimeBestEffortUS
* add test
* add doc
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
|
2020-07-05 21:09:20 +03:00 |
|
alexey-milovidov
|
c08e24d9ab
|
Merge pull request #12136 from vivarum/vivarum-04659-new-ISO8601-year-modificators-for-formatDateTime
New ISO8601 year modificators for formatDateTime() function
|
2020-07-05 19:10:06 +03:00 |
|
alexey-milovidov
|
ab15c8d6ca
|
Merge pull request #12021 from ClickHouse/fix-if-fixed-string
Fix function if with FixedString arguments of different sizes
|
2020-07-05 19:02:21 +03:00 |
|
alexey-milovidov
|
eecf7ae3ee
|
Merge pull request #12140 from ClickHouse/fix-division
Fix potential overflow in integer division
|
2020-07-05 19:00:41 +03:00 |
|
myrrc
|
8c3417fbf7
|
ILIKE operator (#12125)
* Integrated CachingAllocator into MarkCache
* fixed build errors
* reset func hotfix
* upd: Fixing build
* updated submodules links
* fix 2
* updating grabber allocator proto
* updating lost work
* updating CMake to use concepts
* some other changes to get it building (integration into MarkCache)
* further integration into caches
* updated Async metrics, fixed some build errors
* and some other errors revealing
* added perfect forwarding to some functions
* fix: forward template
* fix: constexpr modifier
* fix: FakePODAllocator missing member func
* updated PODArray constructor taking alloc params
* fix: PODArray overload with n restored
* fix: FakePODAlloc duplicating alloc() func
* added constexpr variable for alloc_tag_t
* split cache values by allocators, provided updates
* fix: memcpy
* fix: constexpr modifier
* fix: noexcept modifier
* fix: alloc_tag_t for PODArray constructor
* fix: PODArray copy ctor with different alloc
* fix: resize() signature
* updating to lastest working master
* syncing with 273267
* first draft version
* fix: update Searcher to case-insensitive
* added ILIKE test
* fixed style errors, updated test, split like and ilike, added notILike
* replaced inconsistent comments
* fixed show tables ilike
* updated missing test cases
* regenerated ya.make
* Update 01355_ilike.sql
Co-authored-by: myrrc <me-clickhouse@myrrec.space>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
|
2020-07-05 18:57:59 +03:00 |
|
alexey-milovidov
|
ec563e54dc
|
Merge pull request #12138 from ClickHouse/codeql
Fix warnings from CodeQL
|
2020-07-05 18:22:49 +03:00 |
|
alexey-milovidov
|
32a5dcd483
|
Update arraySum.cpp
|
2020-07-05 06:48:49 +03:00 |
|
Alexey Milovidov
|
73a5c38398
|
Fix potential overflow in integer division #12119
|
2020-07-05 03:29:03 +03:00 |
|
Alexey Milovidov
|
d2e8c0df79
|
Minor modification
|
2020-07-05 02:39:27 +03:00 |
|
Alexey Milovidov
|
96e8e93c64
|
Fix warnings from CodeQL
|
2020-07-05 02:16:16 +03:00 |
|
alexey-milovidov
|
f8a43d5e07
|
Update formatDateTime.cpp
|
2020-07-05 01:00:30 +03:00 |
|
Alexey Milovidov
|
731d92657d
|
Remove harmful code from "geoDistance" #12117
|
2020-07-05 00:57:57 +03:00 |
|
Alexey Milovidov
|
918e979449
|
Merge branch 'master' into fix-if-fixed-string
|
2020-07-04 22:00:27 +03:00 |
|
vivarum
|
d387fa719e
|
New ISO8601 year modificators for formatDateTime
|
2020-07-04 21:54:42 +03:00 |
|
Guillaume Tassery
|
027c6b705f
|
Create initializeAggregation to initialize an aggregation function based on a value
|
2020-07-03 19:18:47 +07:00 |
|
alesapin
|
f87c3af097
|
Merge pull request #12055 from ClickHouse/fix-9766
Fix arrayMap with Tuple(LowCardinality) argument
|
2020-07-02 13:40:05 +03:00 |
|
alesapin
|
65dae99c12
|
Merge pull request #12056 from ClickHouse/fix-11808
Fix defaultValueOfArgumentType
|
2020-07-02 13:35:38 +03:00 |
|
Nikolai Kochetov
|
e8ee5176cd
|
Fix defaultValueOfArgumentType
|
2020-06-30 14:29:50 +03:00 |
|
Nikolai Kochetov
|
820d2c63df
|
Try fix labda tuple(LC) argument.
|
2020-06-30 13:51:17 +03:00 |
|
Nikolai Kochetov
|
be51741566
|
Try fix labda tuple(LC) argument.
|
2020-06-30 13:19:06 +03:00 |
|
Alexey Milovidov
|
1194863b3d
|
Fix error
|
2020-06-30 01:50:26 +03:00 |
|
Alexey Milovidov
|
0bf7a8c554
|
Add multiIf
|
2020-06-30 01:50:26 +03:00 |
|
Alexey Milovidov
|
6fa1204698
|
Fix function if with FixedString arguments of different sizes
|
2020-06-30 01:50:26 +03:00 |
|
alexey-milovidov
|
c1d2d2d7f7
|
Merge pull request #12039 from ClickHouse/fix-nullable-tuple-compare
Fix nullable tuple compare
|
2020-06-30 01:38:46 +03:00 |
|
Nikolai Kochetov
|
c97d071b4b
|
Fix test.
|
2020-06-29 19:28:14 +03:00 |
|
Nikolai Kochetov
|
6bf9d670be
|
Fix test.
|
2020-06-29 18:22:21 +03:00 |
|
Nikolai Kochetov
|
0a455fc0e1
|
Fix tuple nullable comparison.
|
2020-06-29 16:25:28 +03:00 |
|
Alexander Kuzmenkov
|
3223757808
|
Merge pull request #12019 from ClickHouse/fix-neighbor-overflow
Fix overflow in function "neighbor"
|
2020-06-29 16:06:05 +03:00 |
|