Commit Graph

489 Commits

Author SHA1 Message Date
Anton Popov
1ac1955ffb
bump CI 2020-08-05 14:32:41 +03:00
vdimir
7260009978 Fix argument handling in string search functions 2020-08-04 10:10:50 +03:00
vdimir
368314b930 Fix style in PositionImpl and FunctionsStringSearch 2020-08-02 14:24:39 +00:00
vdimir
9ed7df64cd Support 'start_pos' argument in 'position' function 2020-08-02 12:56:18 +00:00
alexey-milovidov
74edcfb87e
Merge pull request #13073 from nikitamikhaylov/rewrite-tests
BayesAB test
2020-07-31 02:30:07 +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
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
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
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
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
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