Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
awakeljw
017777793a
Possible range issues in automatic assigned enums, also fix error message.
2022-04-17 21:40:48 +08:00
jewisliu
427c73e7a5
fix Enum overflow
2022-04-14 10:39:07 +08:00
jewisliu
3521292fad
Auto assign numbers for Enum elements
2022-04-10 11:57:25 +08:00
Anton Popov
92413aed68
better interfaces for IDataType and ISerialization
2021-10-14 05:36:49 +03:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Storozhuk Kostiantyn
4a3145f586
Materialize my sql support enum data type
...
* Implemented Enum for MaterializeMySQL
2021-06-25 16:42:25 +08:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Alexander Kuzmenkov
77a2f03d3b
prevent accidental reinterpret_cast in Field::get<>
2021-03-22 23:23:44 +03:00
Anton Popov
be540e442d
return back data types
2021-03-09 17:10:28 +03:00
Anton Popov
1e61f64f95
move data types to serializations
2021-03-09 17:04:20 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +03:00
nautaa
4cc56c2501
rename function name
2020-12-02 17:00:27 +08:00
Pavel Kruglov
ca4088b400
Try to treat input values as enum id in tsv/scv
2020-11-10 14:36:53 +03:00
Vasily Kozhukhovskiy
bffa1ed28c
small refactoring of parsing enum values by numeric enum ids
...
(for CSV, TSV, JSON formats)
2020-10-16 10:50:20 +03:00
Vasily Kozhukhovskiy
b8aa440912
style fixes
2020-10-07 12:24:54 +03:00
Vasily Kozhukhovskiy
dfc13ca8e7
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
...
* for CSV and TSV input formats input_format_csv_enum_as_number,
input_format_tsv_enum_as_number settings should be enabled in order to
treat input value as enum id
2020-10-06 18:37:54 +03:00
alesapin
daaa5cc382
Add setting allow_non_metadata_alters
2020-07-21 17:05:30 +03:00
Alexey Milovidov
b6e31f0a5e
Only allow Enum extension within the same width
2020-06-28 22:39:31 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00