Commit Graph

57 Commits

Author SHA1 Message Date
myrrc
0021f67664 re-unioned the *NumImpl 2020-08-05 15:43:19 +03:00
myrrc
807f1887f4 some data flow fixes 2020-08-04 22:51:15 +03:00
myrrc
b210afb789 cloning the arr column to build the lc index 2020-08-04 18:00:42 +03:00
myrrc
98119af9de Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations 2020-08-04 15:01:27 +03:00
Alexey Milovidov
a4e8c47702 Fix assert in arrayElement 2020-08-02 04:07:08 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions (#11735) 2020-07-29 11:50:30 +03:00
myrrc
cf696afd4c fix: function visibility 2020-07-28 18:26:53 +03:00
myrrc
aaa05f2466 updated types checker 2020-07-28 17:41:04 +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
myrrc
4a55186a99 some investigation 2020-07-23 19:46:38 +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
myrrc
222eb7fba3 fixed result column overwriting 2020-07-22 16:18:21 +03:00
Nikolai Kochetov
e4689ce302 Make IFunction::executeImpl const. 2020-07-21 16:58:07 +03:00
myrrc
ad8afc3bfa updated LC spec to catch LC(N(T)) and N(LC(T)) 2020-07-20 18:49:06 +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
myrrc
80053d745d first truly working version 2020-07-17 15:44:26 +03:00
myrrc
0ce74ccc28 updated interface, bug investigation 2020-07-16 23:59:32 +03:00
myrrc
bc8e8c25e9 initial more or less working version 2020-07-16 18:14:52 +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
alexey-milovidov
32a5dcd483
Update arraySum.cpp 2020-07-05 06:48:49 +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
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
Anton Popov
39fe7d6c3f
Merge pull request #11729 from CurtizJ/distinct-combinator
Merging #10930. (Distinct combinator)
2020-06-26 13:40:32 +03:00
Alexander Kuzmenkov
7ee2e68f5b better error messages 2020-06-25 23:42:31 +03:00
Anton Popov
14e09e5650 Merge remote-tracking branch 'upstream/master' into HEAD 2020-06-25 14:59:15 +03:00
Alexander Kazakov
0510911559
Merge pull request #11071 (#11874)
* Add's hasSubstr  array function

* Add's example in the english doc of hasSubStr

* Updates conditions to avoid prematurely calling isEqual

* Remove feathericons

Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
2020-06-23 17:42:19 +03:00
Alexey Milovidov
7117b419b9 Don't allow arrayJoin inside higher order functions #3933 2020-06-21 21:22:34 +03:00
Anton Popov
8ba5bd8530 Merge remote-tracking branch 'upstream/master' into distinct-combinator 2020-06-18 01:44:36 +03:00
Anton Popov
88b325dcdc rework distinct combinator 2020-06-17 22:36:27 +03:00
Alexey Milovidov
0a6054eece Merge branch 'master' into return-not-nullable-from-count-distinct-2 2020-06-16 22:31:33 +03:00
Alexey Milovidov
8dac30ae95 Split file for better build times 2020-06-14 21:42:10 +03:00
Alexey Milovidov
394fb64a9c Better way of implementation 2020-06-14 20:42:11 +03:00
Alexander Kuzmenkov
bf941755f2 fixup 2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a fixup 2020-05-26 08:54:04 +03:00
Alexander Kuzmenkov
50df893dc6 Assert that allocator & container are consistent wrt. inline memory
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.

For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
Nikolai Kochetov
7309cbbfda Try fix build. 2020-05-16 10:23:59 +03:00
Nikolai Kochetov
4d0503f021 Make IColumn::mutate() static. 2020-05-14 11:30:18 +03:00
Alexey Milovidov
8c9408f927 Checkpoint 2020-04-22 11:31:10 +03:00