ClickHouse/src/DataTypes
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
..
examples move to examples everywhere 2021-04-27 01:51:42 +03:00
Serializations Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
tests Follow-up to PR #37300: semicolon warnings 2022-05-20 15:06:34 +02:00
CMakeLists.txt Merge remote-tracking branch 'origin/sparse-serialization' into HEAD 2021-05-26 00:25:47 +03:00
convertMySQLDataType.cpp to compatible with binary(0) 2022-05-16 11:36:39 +08:00
convertMySQLDataType.h return fake create query when executing show create table on system's tables. (#31391) 2021-11-19 13:25:55 +03:00
DataTypeAggregateFunction.cpp Remove code duplication 2022-10-14 18:07:02 +00:00
DataTypeAggregateFunction.h Remove code duplication 2022-10-14 18:07:02 +00:00
DataTypeArray.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeArray.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeCustom.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeCustomGeo.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2021-03-13 01:41:26 +03:00
DataTypeCustomGeo.h Merge remote-tracking branch 'upstream/master' into HEAD 2021-03-13 01:41:26 +03:00
DataTypeCustomIPv4AndIPv6.cpp minor fixes 2021-05-16 21:59:43 +03:00
DataTypeCustomSimpleAggregateFunction.cpp Reduce dependencies on ASTSelectWithUnionQuery.h 2021-11-26 19:27:16 +01:00
DataTypeCustomSimpleAggregateFunction.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeDate32.cpp Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32" 2021-07-15 11:41:52 +00:00
DataTypeDate32.h Move code around to avoid dlsym on Musl 2021-12-24 12:25:27 +03:00
DataTypeDate.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeDate.h return back data types 2021-03-09 17:10:28 +03:00
DataTypeDateTime64.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeDateTime64.h enable DateTime64 to be version column 2021-05-10 20:30:52 +08:00
DataTypeDateTime.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeDateTime.h Change comments 2022-03-11 23:46:02 +01:00
DataTypeDecimalBase.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeDecimalBase.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeDomainBool.cpp support bool type 2021-11-04 16:39:36 +08:00
DataTypeEnum.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
DataTypeEnum.h Special case of conversion code for types with custom serialization/deserialization 2021-09-21 15:34:06 +03:00
DataTypeFactory.cpp fix json type with sparse columns 2022-07-21 14:47:19 +00:00
DataTypeFactory.h fix json type with sparse columns 2022-07-21 14:47:19 +00:00
DataTypeFixedString.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeFixedString.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeFunction.cpp dbms/ → src/ 2020-04-03 18:14:31 +03:00
DataTypeFunction.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeInterval.cpp basic added fractional intervals types 2022-02-06 15:14:18 +03:00
DataTypeInterval.h Fix clang-tidy warnings in Databases, DataTypes, Dictionaries folders 2022-03-14 18:17:35 +00:00
DataTypeLowCardinality.cpp Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
DataTypeLowCardinality.h continue of #34317 2022-02-06 08:59:17 +00:00
DataTypeLowCardinalityHelpers.cpp remove obsolete parameter 2022-03-28 18:44:53 +00:00
DataTypeMap.cpp Add some improvements and fixes in schema inference 2022-03-24 12:54:12 +00:00
DataTypeMap.h Add some improvements and fixes in schema inference 2022-03-24 12:54:12 +00:00
DataTypeNested.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeNested.h return back data types 2021-03-09 17:10:28 +03:00
DataTypeNothing.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeNothing.h return back data types 2021-03-09 17:10:28 +03:00
DataTypeNullable.cpp Cleanup code 2022-07-07 18:53:20 +00:00
DataTypeNullable.h Cleanup code 2022-07-07 18:53:20 +00:00
DataTypeNumberBase.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypeNumberBase.h Fixed build 2022-01-20 17:08:55 +00:00
DataTypeObject.cpp fix race in data type Object 2022-03-18 14:52:07 +00:00
DataTypeObject.h fix race in data type Object 2022-03-18 14:52:07 +00:00
DataTypesDecimal.cpp better interfaces for IDataType and ISerialization 2021-10-14 05:36:49 +03:00
DataTypesDecimal.h Fix toDateTime64() for negative floats 2022-10-03 13:33:12 +00:00
DataTypeSet.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
DataTypesNumber.cpp to MaterializeMySQL_support_set_and_other_dataType 2022-01-21 12:24:12 +08:00
DataTypesNumber.h Fixed tests 2022-01-16 11:45:36 +00:00
DataTypeString.cpp to MaterializeMySQL_support_set_and_other_dataType 2022-01-21 12:24:12 +08:00
DataTypeString.h Merge branch 'master' into fix_IP_conversion 2021-11-09 12:11:54 +00:00
DataTypeTuple.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2022-07-22 17:16:06 +00:00
DataTypeTuple.h Merge remote-tracking branch 'upstream/master' into HEAD 2022-07-22 17:16:06 +00:00
DataTypeUUID.cpp Untangle UUID 2021-05-04 01:46:51 +03:00
DataTypeUUID.h Special case of conversion code for types with custom serialization/deserialization 2021-09-21 15:34:06 +03:00
EnumValues.cpp Update sort to pdqsort 2022-01-30 19:49:48 +00:00
EnumValues.h Add name hints for data skipping indices 2022-02-20 11:48:22 +00:00
FieldToDataType.cpp minor fixes 2022-06-28 14:21:21 +00:00
FieldToDataType.h improve performace of insertion to columns of type JSON 2022-06-22 17:45:51 +00:00
getLeastSupertype.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
getLeastSupertype.h improve performace of insertion to columns of type JSON 2022-06-22 17:45:51 +00:00
getMostSubtype.cpp replace all isDateOrDateTime invocations to explicit calls to isDate and isDateTime and isDateTime64 2021-05-28 15:34:49 +03:00
getMostSubtype.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
hasNullable.cpp Correctly prevent nullable primary keys if necessary. 2021-12-27 17:32:37 +08:00
hasNullable.h Correctly prevent nullable primary keys if necessary. 2021-12-27 17:32:37 +08:00
IDataType.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2022-09-02 12:48:27 +00:00
IDataType.h Merge remote-tracking branch 'upstream/master' into HEAD 2022-09-02 12:48:27 +00:00
IDataTypeDummy.h return back data types 2021-03-09 17:10:28 +03:00
Native.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
NestedUtils.cpp Support reading Array(Record) into flatten nested table in Avro 2022-08-23 11:05:02 +00:00
NestedUtils.h Support reading Array(Record) into flatten nested table in Avro 2022-08-23 11:05:02 +00:00
NumberTraits.h Replacing IsDecimalNumber 2021-09-11 00:40:18 +02:00
ObjectUtils.cpp fix writing of empty columns of type Object 2022-09-15 03:38:22 +00:00
ObjectUtils.h Update src/DataTypes/ObjectUtils.h 2022-09-14 14:07:07 +02:00
registerDataTypeDateTime.cpp Simplifying exception messages 2021-09-11 00:40:18 +02:00
TimezoneMixin.h Move code around to avoid dlsym on Musl 2021-12-24 12:25:27 +03:00
transformTypesRecursively.cpp Support complex combinators in window transform, arrayReduce*, initializeAggregation and Aggregate functons versionning 2022-09-16 19:07:36 +00:00
transformTypesRecursively.h Support complex combinators in window transform, arrayReduce*, initializeAggregation and Aggregate functons versionning 2022-09-16 19:07:36 +00:00