Commit Graph

515 Commits

Author SHA1 Message Date
alexey-milovidov
65b3863a9e
Update FunctionsConversion.h 2020-08-07 22:52:21 +03:00
Amos Bird
9938e1f3f6
Better toDate/toDateTime function. 2020-08-08 03:38:34 +08:00
alexey-milovidov
851e1a70d3
Merge pull request #13226 from ClickHouse/fix-if-nullable-cond-return-type
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-03 06:11:54 +03:00
alexey-milovidov
6097f6a43e
Merge pull request #13212 from ClickHouse/materialize-null
Function "materialize" should work for NULL as expected
2020-08-03 02:10:24 +03:00
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
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
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
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
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
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
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
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
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