chertus
fcc6a2c2be
fix crash on CAST exotic types to decimal
2019-08-02 17:31:55 +03:00
Nikolai Kochetov
1e35f87760
Fix CAST from LowCardinality(Nullable).
2019-07-23 10:57:32 +03:00
Nikolai Kochetov
1d960e5c0b
Fix CAST from LowCardinality(Nullable).
2019-07-22 18:41:52 +03:00
Alexey Milovidov
413b780b65
Various fixes for PVS-Studio
2019-06-16 21:13:39 +03:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
chertus
5f19c0981d
add toDecimalOrZero and toDecimalOrNull fuctions
2019-05-15 21:50:35 +03:00
Alexey Milovidov
36d016d331
Added [[noreturn]] attributes for functions that throw unconditionally
2019-04-10 23:27:14 +03:00
Vasily Nemkov
2716df8ab2
IPv4 and IPv6 Domain implementation.
...
Added:
* IDataTypeDomain interface;
* method DataTypeFactory::registerDataTypeDomain for registering domains;
* DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
* Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;
Updated:
* IDataType text serialization/deserialization methods;
* IDataType implementation to use domain for text serialization/deserialization;
* Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;
Tests:
* Added test cases for IPv4 and IPv6 domains.
* Updated IPv4/v6 functions tests to validate more cases;
* Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Alexey Milovidov
673fa80a9c
Allowed some UB #3926
2018-12-27 03:40:10 +03:00
Alexey Milovidov
39492139f0
Allowed some UB #3926
2018-12-27 03:25:47 +03:00
Alexey Milovidov
4ee7b80ab4
Fixed error #3870
2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77
Investigation #3921
2018-12-25 21:06:38 +03:00
Alexey Milovidov
5e8035f166
Fixed error #3921
2018-12-24 19:13:04 +03:00
Alexey Milovidov
b624add2e7
Rewrite code to calculate integer conversion function monotonicity; fixed test #3870
2018-12-24 18:46:55 +03:00
Alexey Milovidov
ce10674107
Fixed weird error in PR #3870
2018-12-24 16:25:48 +03:00
zhang2014
6ffdcb38a2
Fix check data type with converts function
2018-12-21 19:37:33 +08:00
alexey-milovidov
52efaf6bb7
Merge pull request #3870 from zhang2014/fix/string_monotonicity
...
Fixed convert function monotonic failure when string data type
2018-12-20 23:55:58 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
zhang2014
dc61a73a6e
Fixed convert function monotonic failure when string data type
2018-12-20 10:04:30 +08:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
Alexey Milovidov
f3c72daf50
Fixed name [#CLICKHOUSE-2]
2018-12-07 06:21:17 +03:00
Alexey Milovidov
35f6fb5ae6
Avoid memory over-allocation when large value of "max_query_size" is specified [#CLICKHOUSE-4169]
2018-11-30 18:36:41 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
chertus
19a69004f0
fix crash with non const scale in toDecimal()
2018-10-25 16:53:25 +03:00
Alexey Milovidov
f720a5bf95
Fixed typos in code #3373
2018-10-13 17:33:43 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
alexey-milovidov
b6e53d22e1
Merge pull request #3200 from yandex/low-cardinality-function-result-cache
...
Added cache for low cardinality function result.
2018-09-26 18:12:48 +03:00
Alexey Milovidov
b11a84b895
Merge branch 'master' of github.com:yandex/ClickHouse into every_function_in_own_file_5
2018-09-26 03:36:20 +03:00
Alexey Milovidov
27b7654abc
Every function in its own file, part 5 [#CLICKHOUSE-2]
2018-09-26 03:31:40 +03:00
chertus
96ceca6c05
fix decimal to int, int to decimal convertion [issue-3177]
2018-09-25 19:03:50 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
Nikolai Kochetov
79e3ae2f75
Fix cast Null to LowCardinality(Nullable). #3066
2018-09-19 14:11:52 +03:00
chertus
45ec7e63aa
add static asserts for decimal [CLICKHOUSE-3765]
2018-09-12 20:50:51 +03:00
chertus
9828813523
Decimal round functions [CLICKHOUSE-3765]
2018-09-10 16:52:18 +03:00
chertus
ad77505137
implement CAST Strings to UUID [issue-3061]
2018-09-07 19:38:40 +03:00
chertus
0b35cdae69
refactoring: add some sugar in type checks [CLICKHOUSE-0002]
2018-09-07 17:37:26 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
...
even more Decimal
2018-09-03 07:19:33 +03:00
chertus
845db9b46e
CAST for decimal [CLICKHOUSE-3905]
2018-08-31 11:59:21 +03:00
Alexey Milovidov
486d87ebcd
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:01:33 +03:00
chertus
c86f2878ff
add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765
2018-08-27 19:16:16 +03:00
Alexey Milovidov
6605098439
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:50:48 +03:00
chertus
1467ca5610
decimal field visitors CLICKHOUSE-3765
2018-08-23 22:11:31 +03:00
chertus
c61ccc4dfe
toDecimal128() CLICKHOUSE-3905
2018-08-22 20:26:11 +03:00
chertus
fd6a8142b7
rename toDecimal functions CLICKHOUSE-3905
2018-08-22 19:16:39 +03:00
chertus
eac6dd1c99
Merge branch 'master' into decimal
2018-08-21 21:55:36 +03:00
chertus
1e97f9e549
toDecimalN() functions CLICKHOUSE-3905
2018-08-21 21:25:38 +03:00
chertus
cdff502828
types convertion via helpers CLICKHOUSE-3765
2018-08-20 18:17:55 +03:00
Nikolai Kochetov
c339313d8b
Fix LowCardinality conversions for defaults.
2018-08-09 13:52:33 +03:00