nikitamikhaylov
9df54946cf
fix clang-tidy build
2020-07-29 17:06:33 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions ( #11735 )
2020-07-29 11:50:30 +03:00
Anton Popov
6d58279535
Merge remote-tracking branch 'upstream/master' into HEAD
2020-07-29 02:15:30 +03:00
myrrc
cf696afd4c
fix: function visibility
2020-07-28 18:26:53 +03:00
Amos Bird
993a11a57a
Fix MemSan error.
2020-07-28 22:43:43 +08:00
Amos Bird
0e6f9568a7
Allow all formats
2020-07-28 22:43:43 +08:00
Amos Bird
b30240efc0
formatRow function
2020-07-28 22:43:43 +08:00
myrrc
aaa05f2466
updated types checker
2020-07-28 17:41:04 +03:00
myrrc
da9502e496
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-28 15:06:39 +03:00
nikitamikhaylov
4d8a00d25e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
2020-07-27 17:13:27 +03:00
jakalletti
7f853c2a56
fix arcadia
2020-07-27 17:10:57 +03:00
Alexander Tokmakov
6bfe88e83f
Merge branch 'master' into database_atomic_improvements
2020-07-26 13:40:05 +03:00
Azat Khuzhin
4713b59159
Fix CAST(Nullable(String), Enum())
...
The wrapper that is returned from createStringToEnumWrapper() does not
have access to the ColumnNullable (i.e. original column), because it is
converted to nested type in the prepareRemoveNullable().
So add original ColumnNullable into the block in prepareRemoveNullable()
if source type is Nullable and pass this flag to the
createStringToEnumWrapper() to make it know about that fact that last
column in the block is the original ColumnNullable in this case.
And this one looks most sane.
2020-07-26 12:00:24 +03:00
myrrc
ecf6f62820
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-24 18:15:49 +03:00
myrrc
6f953e06ae
fix: style-checker
2020-07-24 18:02:57 +03:00
myrrc
1e32210953
updated reference, fixed NULL values handling
2020-07-24 17:17:39 +03:00
myrrc
b44b3e9b2b
added column cast, added new test
2020-07-24 15:07:26 +03:00
philip.han
6029ff9bed
Remove const
2020-07-24 13:42:16 +09:00
philip.han
e1172755f0
Add static to toFloat64
2020-07-24 11:20:43 +09:00
Azat Khuzhin
73286c7b6e
Add skeleton implementations for DummyJSONParser::Element::getObject/getArray
...
Otherwise it fails for unbundled+shared build
2020-07-24 00:55:50 +03:00
myrrc
4a55186a99
some investigation
2020-07-23 19:46:38 +03:00
philip.han
104e1b57fa
Remove extra ';' after member function definition
2020-07-24 00:49:32 +09:00
philip.han
272e909cf4
Make IFunction::executeImpl const.
2020-07-23 22:48:37 +09:00
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
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
myrrc
9b9360eb2c
try to handle runtime type casting to compare the index column and the
...
target value correctly
2020-07-23 02:09:03 +03:00
myrrc
31fc55ccef
fix: const attributes
2020-07-23 00:54:43 +03:00
myrrc
76a866af47
another attribute fix
2020-07-23 00:44:39 +03:00
myrrc
6af63213ce
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-22 22:49:46 +03:00
myrrc
1d0bf93444
added perftest, fixed style check and PVS bugs
2020-07-22 22:44:11 +03: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
myrrc
222eb7fba3
fixed result column overwriting
2020-07-22 16:18:21 +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
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +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
myrrc
ad8afc3bfa
updated LC spec to catch LC(N(T)) and N(LC(T))
2020-07-20 18:49:06 +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
myrrc
b60b689417
fixed Const(Array()) DB::Exception
2020-07-17 21:06:21 +03:00
myrrc
00fc61c244
updated getOrFindIndex for NullableTypes
2020-07-17 19:57:26 +03:00
myrrc
52dcb211ba
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-07-17 17:06:02 +03:00
philip.han
cdd7755484
Remove unused code
2020-07-17 22:05:17 +09:00
myrrc
80053d745d
first truly working version
2020-07-17 15:44:26 +03: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 Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
myrrc
0ce74ccc28
updated interface, bug investigation
2020-07-16 23:59:32 +03:00
Alexander Kuzmenkov
039cf36acb
Minor fixes for query fuzzer
2020-07-16 21:05:34 +03:00
myrrc
bc8e8c25e9
initial more or less working version
2020-07-16 18:14:52 +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
Alexander Tokmakov
f6949b2f47
use dictionary ids
2020-07-15 22:25:31 +03: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
Alexander Tokmakov
09abe71b60
Merge branch 'master' into database_atomic_improvements
2020-07-15 13:07:08 +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
Alexander Tokmakov
eea0cdcf25
add uuid to generated config
2020-07-14 23:32:13 +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