alexey-milovidov
84e88f661e
Merge pull request #13213 from ClickHouse/fix-fuzz-test2
...
Fix assertion failure in FunctionsLogical
2020-08-03 00:29:44 +03:00
Alexey Milovidov
fd3c4e033e
Merge branch 'master' into fix-if-nullable-cond-return-type
2020-08-03 00:29:09 +03:00
Alexey Milovidov
41111d1e57
Merge branch 'master' into stack-frams-size-limit
2020-08-02 19:18:33 +03:00
alexey-milovidov
dfa57559a2
Merge pull request #13229 from ClickHouse/fix-geohash
...
Fix assert in geohashesInBox
2020-08-02 17:26:58 +03:00
Alexey Milovidov
577a0b405d
Merge branch 'master' into fix-if-nullable-cond-return-type
2020-08-02 17:24:46 +03:00
vdimir
368314b930
Fix style in PositionImpl and FunctionsStringSearch
2020-08-02 14:24:39 +00:00
alexey-milovidov
2d93ac97c9
Merge pull request #13224 from ClickHouse/fix-fuzz-test3
...
Fix assert in arrayElement
2020-08-02 17:21:52 +03:00
Alexey Milovidov
5d96839e98
Merge branch 'master' into materialize-null
2020-08-02 17:12:55 +03:00
Alexey Milovidov
1a966c4ff4
Merge branch 'master' into fix-fuzz-test2
2020-08-02 17:12:38 +03:00
vdimir
9ed7df64cd
Support 'start_pos' argument in 'position' function
2020-08-02 12:56:18 +00:00
Alexey Milovidov
a1c0dd3782
Fix assert in geohashesInBox
2020-08-02 05:59:09 +03:00
Vitaly Baranov
18b21511a9
Merge pull request #13013 from vitlibar/implement-custom-settings
...
Implement custom settings
2020-08-02 05:01:14 +03:00
Alexey Milovidov
9ad3dcacd6
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-02 04:56:07 +03:00
Alexey Milovidov
d3c0635fc0
Merge branch 'master' into stack-frams-size-limit
2020-08-02 04:35:09 +03:00
Alexey Milovidov
a4e8c47702
Fix assert in arrayElement
2020-08-02 04:07:08 +03:00
Alexey Milovidov
747239d850
Whitespace
2020-08-02 02:44:42 +03:00
Alexey Milovidov
4d3e39649c
Merge branch 'master' into fix-fuzz-test2
2020-08-02 02:27:57 +03:00
Alexey Milovidov
3735ae045e
Merge branch 'fix-fuzz-test2' into materialize-null
2020-08-02 01:52:10 +03:00
Alexey Milovidov
c0da83c160
Merge branch 'master' into materialize-null
2020-08-02 01:51:59 +03:00
alexey-milovidov
56a974049e
Merge pull request #13158 from ClickHouse/amosbird-fm
...
Merge #12574
2020-08-02 01:48:57 +03:00
Alexey Milovidov
1238456599
Slightly better
2020-08-01 22:10:59 +03:00
Alexey Milovidov
435164cfbb
Fix fuzz test
2020-08-01 21:52:30 +03:00
Alexey Milovidov
52d885e095
Function "materialize" should work for NULL as expected
2020-08-01 21:44:00 +03:00
Azat Khuzhin
3b022b85a5
Fix FunctionUnixTimestamp64 with constant argument
2020-08-01 13:29:36 +03:00
Vitaly Baranov
f73a4749cf
Add function getSetting().
2020-07-31 20:57:49 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements
2020-07-31 14:56:49 +03:00
Alexey Milovidov
bf4e74375e
generate ya.make
2020-07-31 02:43:55 +03:00
Alexey Milovidov
67b7a5442f
Merge branch 'fm' of https://github.com/amosbird/ClickHouse into amosbird-fm
2020-07-31 02:43:27 +03:00
alexey-milovidov
74edcfb87e
Merge pull request #13073 from nikitamikhaylov/rewrite-tests
...
BayesAB test
2020-07-31 02:30:07 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
Anton Popov
cf505a92ef
Merge pull request #9278 from achulkov2/polygon-dict-grids
...
Polygon dictionaries with grids
2020-07-29 21:32:35 +03:00
Nikita Mikhaylov
5a6a40437a
remove includes from all Function sources
2020-07-29 21:14:48 +03:00
alesapin
34e7b25d91
Merge pull request #12992 from ClickHouse/rerun_failed_in_fast_test
...
Rerun tests in fast test
2020-07-29 21:11:54 +03:00
Nikita Mikhaylov
1d6c2ba689
rewrite other test + remove useless includes
2020-07-29 20:37:57 +03:00
Alexander Kuzmenkov
239f08271a
Merge pull request #12745 from azat/cast-nullable-string-to-enum
...
Fix CAST(Nullable(String), Enum())
2020-07-29 20:23:21 +03:00
nikitamikhaylov
2909d965db
delete file
2020-07-29 17:47:42 +03:00
nikitamikhaylov
86c1cc71ea
try
2020-07-29 17:45:16 +03:00
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
c55834c40f
Merge branch 'master' into stack-frams-size-limit
2020-07-22 08:49:00 +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
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +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
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