42 | 6.21k | }; _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairIS4_vEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_6EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_7EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 23 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 23 | using Types = std::decay_t<decltype(types)>; | 29 | 23 | using FromDataType = typename Types::LeftType; | 30 | 23 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 23 | if (context->enable_strict_mode()) { | 32 | 21 | cast_impl = std::make_shared< | 33 | 21 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 21 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 23 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 23 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 27 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 27 | using Types = std::decay_t<decltype(types)>; | 29 | 27 | using FromDataType = typename Types::LeftType; | 30 | 27 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 27 | if (context->enable_strict_mode()) { | 32 | 25 | cast_impl = std::make_shared< | 33 | 25 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 25 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 27 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 27 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 14 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 14 | using Types = std::decay_t<decltype(types)>; | 29 | 14 | using FromDataType = typename Types::LeftType; | 30 | 14 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 14 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 7 | cast_impl = std::make_shared< | 36 | 7 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 7 | } | 38 | 14 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 14 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeDateEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeDateV2EvEEEEbSS_ Line | Count | Source | 27 | 72 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 72 | using Types = std::decay_t<decltype(types)>; | 29 | 72 | using FromDataType = typename Types::LeftType; | 30 | 72 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 72 | if (context->enable_strict_mode()) { | 32 | 36 | cast_impl = std::make_shared< | 33 | 36 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 36 | } else { | 35 | 36 | cast_impl = std::make_shared< | 36 | 36 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 36 | } | 38 | 72 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 72 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 24 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 24 | using Types = std::decay_t<decltype(types)>; | 29 | 24 | using FromDataType = typename Types::LeftType; | 30 | 24 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 24 | if (context->enable_strict_mode()) { | 32 | 12 | cast_impl = std::make_shared< | 33 | 12 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 12 | } else { | 35 | 12 | cast_impl = std::make_shared< | 36 | 12 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 12 | } | 38 | 24 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 24 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_16DataTypeDateTimeEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 320 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 320 | using Types = std::decay_t<decltype(types)>; | 29 | 320 | using FromDataType = typename Types::LeftType; | 30 | 320 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 320 | if (context->enable_strict_mode()) { | 32 | 160 | cast_impl = std::make_shared< | 33 | 160 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 160 | } else { | 35 | 160 | cast_impl = std::make_shared< | 36 | 160 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 160 | } | 38 | 320 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 320 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_19DataTypeTimeStampTzEvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv4EvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv6EvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeStringEvEEEEbSS_ Line | Count | Source | 27 | 857 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 857 | using Types = std::decay_t<decltype(types)>; | 29 | 857 | using FromDataType = typename Types::LeftType; | 30 | 857 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 857 | if (context->enable_strict_mode()) { | 32 | 832 | cast_impl = std::make_shared< | 33 | 832 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 832 | } else { | 35 | 25 | cast_impl = std::make_shared< | 36 | 25 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 25 | } | 38 | 857 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 857 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairIS4_vEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_6EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_7EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 21 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 21 | using Types = std::decay_t<decltype(types)>; | 29 | 21 | using FromDataType = typename Types::LeftType; | 30 | 21 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 21 | if (context->enable_strict_mode()) { | 32 | 19 | cast_impl = std::make_shared< | 33 | 19 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 19 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 21 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 21 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 25 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 25 | using Types = std::decay_t<decltype(types)>; | 29 | 25 | using FromDataType = typename Types::LeftType; | 30 | 25 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 25 | if (context->enable_strict_mode()) { | 32 | 23 | cast_impl = std::make_shared< | 33 | 23 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 23 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 25 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 25 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 14 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 14 | using Types = std::decay_t<decltype(types)>; | 29 | 14 | using FromDataType = typename Types::LeftType; | 30 | 14 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 14 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 7 | cast_impl = std::make_shared< | 36 | 7 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 7 | } | 38 | 14 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 14 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeDateEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeDateV2EvEEEEbSS_ Line | Count | Source | 27 | 72 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 72 | using Types = std::decay_t<decltype(types)>; | 29 | 72 | using FromDataType = typename Types::LeftType; | 30 | 72 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 72 | if (context->enable_strict_mode()) { | 32 | 36 | cast_impl = std::make_shared< | 33 | 36 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 36 | } else { | 35 | 36 | cast_impl = std::make_shared< | 36 | 36 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 36 | } | 38 | 72 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 72 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 24 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 24 | using Types = std::decay_t<decltype(types)>; | 29 | 24 | using FromDataType = typename Types::LeftType; | 30 | 24 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 24 | if (context->enable_strict_mode()) { | 32 | 12 | cast_impl = std::make_shared< | 33 | 12 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 12 | } else { | 35 | 12 | cast_impl = std::make_shared< | 36 | 12 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 12 | } | 38 | 24 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 24 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_16DataTypeDateTimeEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 320 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 320 | using Types = std::decay_t<decltype(types)>; | 29 | 320 | using FromDataType = typename Types::LeftType; | 30 | 320 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 320 | if (context->enable_strict_mode()) { | 32 | 160 | cast_impl = std::make_shared< | 33 | 160 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 160 | } else { | 35 | 160 | cast_impl = std::make_shared< | 36 | 160 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 160 | } | 38 | 320 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 320 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_19DataTypeTimeStampTzEvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv4EvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv6EvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeStringEvEEEEbSS_ Line | Count | Source | 27 | 841 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 841 | using Types = std::decay_t<decltype(types)>; | 29 | 841 | using FromDataType = typename Types::LeftType; | 30 | 841 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 841 | if (context->enable_strict_mode()) { | 32 | 816 | cast_impl = std::make_shared< | 33 | 816 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 816 | } else { | 35 | 25 | cast_impl = std::make_shared< | 36 | 25 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 25 | } | 38 | 841 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 841 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 4 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 4 | using Types = std::decay_t<decltype(types)>; | 29 | 4 | using FromDataType = typename Types::LeftType; | 30 | 4 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 4 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 4 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 4 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairIS4_vEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_6EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_7EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 17 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 17 | using Types = std::decay_t<decltype(types)>; | 29 | 17 | using FromDataType = typename Types::LeftType; | 30 | 17 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 17 | if (context->enable_strict_mode()) { | 32 | 15 | cast_impl = std::make_shared< | 33 | 15 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 15 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 17 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 17 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 21 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 21 | using Types = std::decay_t<decltype(types)>; | 29 | 21 | using FromDataType = typename Types::LeftType; | 30 | 21 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 21 | if (context->enable_strict_mode()) { | 32 | 19 | cast_impl = std::make_shared< | 33 | 19 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 19 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 21 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 21 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 14 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 14 | using Types = std::decay_t<decltype(types)>; | 29 | 14 | using FromDataType = typename Types::LeftType; | 30 | 14 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 14 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 7 | cast_impl = std::make_shared< | 36 | 7 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 7 | } | 38 | 14 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 14 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeDateEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeDateV2EvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 24 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 24 | using Types = std::decay_t<decltype(types)>; | 29 | 24 | using FromDataType = typename Types::LeftType; | 30 | 24 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 24 | if (context->enable_strict_mode()) { | 32 | 12 | cast_impl = std::make_shared< | 33 | 12 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 12 | } else { | 35 | 12 | cast_impl = std::make_shared< | 36 | 12 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 12 | } | 38 | 24 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 24 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_16DataTypeDateTimeEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 276 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 276 | using Types = std::decay_t<decltype(types)>; | 29 | 276 | using FromDataType = typename Types::LeftType; | 30 | 276 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 276 | if (context->enable_strict_mode()) { | 32 | 138 | cast_impl = std::make_shared< | 33 | 138 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 138 | } else { | 35 | 138 | cast_impl = std::make_shared< | 36 | 138 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 138 | } | 38 | 276 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 276 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_19DataTypeTimeStampTzEvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv4EvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv6EvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeStringEvEEEEbSS_ Line | Count | Source | 27 | 826 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 826 | using Types = std::decay_t<decltype(types)>; | 29 | 826 | using FromDataType = typename Types::LeftType; | 30 | 826 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 826 | if (context->enable_strict_mode()) { | 32 | 800 | cast_impl = std::make_shared< | 33 | 800 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 800 | } else { | 35 | 26 | cast_impl = std::make_shared< | 36 | 26 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 26 | } | 38 | 826 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 826 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 60 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 60 | using Types = std::decay_t<decltype(types)>; | 29 | 60 | using FromDataType = typename Types::LeftType; | 30 | 60 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 60 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 58 | } else { | 35 | 58 | cast_impl = std::make_shared< | 36 | 58 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 58 | } | 38 | 60 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 60 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ Line | Count | Source | 27 | 3 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 3 | using Types = std::decay_t<decltype(types)>; | 29 | 3 | using FromDataType = typename Types::LeftType; | 30 | 3 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 3 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 3 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 3 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairIS4_vEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_7EEEvEEEEbSS_ Line | Count | Source | 27 | 7 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 7 | using Types = std::decay_t<decltype(types)>; | 29 | 7 | using FromDataType = typename Types::LeftType; | 30 | 7 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 7 | if (context->enable_strict_mode()) { | 32 | 5 | cast_impl = std::make_shared< | 33 | 5 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 5 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 7 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 7 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 13 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 13 | using Types = std::decay_t<decltype(types)>; | 29 | 13 | using FromDataType = typename Types::LeftType; | 30 | 13 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 13 | if (context->enable_strict_mode()) { | 32 | 11 | cast_impl = std::make_shared< | 33 | 11 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 11 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 13 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 13 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 17 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 17 | using Types = std::decay_t<decltype(types)>; | 29 | 17 | using FromDataType = typename Types::LeftType; | 30 | 17 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 17 | if (context->enable_strict_mode()) { | 32 | 15 | cast_impl = std::make_shared< | 33 | 15 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 15 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 17 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 17 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 14 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 14 | using Types = std::decay_t<decltype(types)>; | 29 | 14 | using FromDataType = typename Types::LeftType; | 30 | 14 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 14 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 7 | cast_impl = std::make_shared< | 36 | 7 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 7 | } | 38 | 14 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 14 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeDateEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeDateV2EvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_16DataTypeDateTimeEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 4 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 4 | using Types = std::decay_t<decltype(types)>; | 29 | 4 | using FromDataType = typename Types::LeftType; | 30 | 4 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 4 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 4 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 4 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_19DataTypeTimeStampTzEvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv4EvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv6EvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeStringEvEEEEbSS_ Line | Count | Source | 27 | 809 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 809 | using Types = std::decay_t<decltype(types)>; | 29 | 809 | using FromDataType = typename Types::LeftType; | 30 | 809 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 809 | if (context->enable_strict_mode()) { | 32 | 784 | cast_impl = std::make_shared< | 33 | 784 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 784 | } else { | 35 | 25 | cast_impl = std::make_shared< | 36 | 25 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 25 | } | 38 | 809 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 809 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 101 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 101 | using Types = std::decay_t<decltype(types)>; | 29 | 101 | using FromDataType = typename Types::LeftType; | 30 | 101 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 101 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 100 | } else { | 35 | 100 | cast_impl = std::make_shared< | 36 | 100 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 100 | } | 38 | 101 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 101 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_6EEEvEEEEbSS_ Line | Count | Source | 27 | 100 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 100 | using Types = std::decay_t<decltype(types)>; | 29 | 100 | using FromDataType = typename Types::LeftType; | 30 | 100 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 100 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 99 | } else { | 35 | 99 | cast_impl = std::make_shared< | 36 | 99 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 99 | } | 38 | 100 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 100 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairIS4_vEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 9 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 9 | using Types = std::decay_t<decltype(types)>; | 29 | 9 | using FromDataType = typename Types::LeftType; | 30 | 9 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 9 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 9 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 9 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 13 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 13 | using Types = std::decay_t<decltype(types)>; | 29 | 13 | using FromDataType = typename Types::LeftType; | 30 | 13 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 13 | if (context->enable_strict_mode()) { | 32 | 11 | cast_impl = std::make_shared< | 33 | 11 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 11 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 13 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 13 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 14 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 14 | using Types = std::decay_t<decltype(types)>; | 29 | 14 | using FromDataType = typename Types::LeftType; | 30 | 14 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 14 | if (context->enable_strict_mode()) { | 32 | 7 | cast_impl = std::make_shared< | 33 | 7 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 7 | } else { | 35 | 7 | cast_impl = std::make_shared< | 36 | 7 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 7 | } | 38 | 14 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 14 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 18 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 18 | using Types = std::decay_t<decltype(types)>; | 29 | 18 | using FromDataType = typename Types::LeftType; | 30 | 18 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 18 | if (context->enable_strict_mode()) { | 32 | 9 | cast_impl = std::make_shared< | 33 | 9 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 9 | } else { | 35 | 9 | cast_impl = std::make_shared< | 36 | 9 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 9 | } | 38 | 18 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 18 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeDateEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeDateV2EvEEEEbSS_ Line | Count | Source | 27 | 2 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2 | using Types = std::decay_t<decltype(types)>; | 29 | 2 | using FromDataType = typename Types::LeftType; | 30 | 2 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2 | if (context->enable_strict_mode()) { | 32 | 1 | cast_impl = std::make_shared< | 33 | 1 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1 | } else { | 35 | 1 | cast_impl = std::make_shared< | 36 | 1 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1 | } | 38 | 2 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 2 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 8 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 8 | using Types = std::decay_t<decltype(types)>; | 29 | 8 | using FromDataType = typename Types::LeftType; | 30 | 8 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 8 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 4 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 8 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 8 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_16DataTypeDateTimeEvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 4 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 4 | using Types = std::decay_t<decltype(types)>; | 29 | 4 | using FromDataType = typename Types::LeftType; | 30 | 4 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 4 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2 | } else { | 35 | 2 | cast_impl = std::make_shared< | 36 | 2 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2 | } | 38 | 4 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 4 | }; |
Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_19DataTypeTimeStampTzEvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv4EvEEEEbSS_ Unexecuted instantiation: _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_12DataTypeIPv6EvEEEEbSS_ _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_14DataTypeStringEvEEEEbSS_ Line | Count | Source | 27 | 793 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 793 | using Types = std::decay_t<decltype(types)>; | 29 | 793 | using FromDataType = typename Types::LeftType; | 30 | 793 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 793 | if (context->enable_strict_mode()) { | 32 | 768 | cast_impl = std::make_shared< | 33 | 768 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 768 | } else { | 35 | 25 | cast_impl = std::make_shared< | 36 | 25 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 25 | } | 38 | 793 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 793 | }; |
|
55 | 6.21k | } _ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 1.42k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 1.42k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 1.42k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.42k | using Types = std::decay_t<decltype(types)>; | 29 | 1.42k | using FromDataType = typename Types::LeftType; | 30 | 1.42k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.42k | if (context->enable_strict_mode()) { | 32 | 1.42k | cast_impl = std::make_shared< | 33 | 1.42k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.42k | } else { | 35 | 1.42k | cast_impl = std::make_shared< | 36 | 1.42k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1.42k | } | 38 | 1.42k | return true; | 39 | 1.42k | } else { | 40 | 1.42k | return false; | 41 | 1.42k | } | 42 | 1.42k | }; | 43 | | | 44 | 1.42k | if (!call_on_index_and_data_type<void>(from_type->get_primitive_type(), make_cast_wrapper)) { | 45 | 0 | return create_unsupport_wrapper( | 46 | 0 | fmt::format("CAST AS number not supported {}", from_type->get_name())); | 47 | 0 | } | 48 | | | 49 | 1.42k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 1.42k | uint32_t result, size_t input_rows_count, | 51 | 1.42k | const NullMap::value_type* null_map = nullptr) { | 52 | 1.42k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 1.42k | null_map); | 54 | 1.42k | }; | 55 | 1.42k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 1.40k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 1.40k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 1.40k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.40k | using Types = std::decay_t<decltype(types)>; | 29 | 1.40k | using FromDataType = typename Types::LeftType; | 30 | 1.40k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.40k | if (context->enable_strict_mode()) { | 32 | 1.40k | cast_impl = std::make_shared< | 33 | 1.40k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.40k | } else { | 35 | 1.40k | cast_impl = std::make_shared< | 36 | 1.40k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1.40k | } | 38 | 1.40k | return true; | 39 | 1.40k | } else { | 40 | 1.40k | return false; | 41 | 1.40k | } | 42 | 1.40k | }; | 43 | | | 44 | 1.40k | if (!call_on_index_and_data_type<void>(from_type->get_primitive_type(), make_cast_wrapper)) { | 45 | 0 | return create_unsupport_wrapper( | 46 | 0 | fmt::format("CAST AS number not supported {}", from_type->get_name())); | 47 | 0 | } | 48 | | | 49 | 1.40k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 1.40k | uint32_t result, size_t input_rows_count, | 51 | 1.40k | const NullMap::value_type* null_map = nullptr) { | 52 | 1.40k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 1.40k | null_map); | 54 | 1.40k | }; | 55 | 1.40k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 1.26k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 1.26k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 1.26k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.26k | using Types = std::decay_t<decltype(types)>; | 29 | 1.26k | using FromDataType = typename Types::LeftType; | 30 | 1.26k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.26k | if (context->enable_strict_mode()) { | 32 | 1.26k | cast_impl = std::make_shared< | 33 | 1.26k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.26k | } else { | 35 | 1.26k | cast_impl = std::make_shared< | 36 | 1.26k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1.26k | } | 38 | 1.26k | return true; | 39 | 1.26k | } else { | 40 | 1.26k | return false; | 41 | 1.26k | } | 42 | 1.26k | }; | 43 | | | 44 | 1.26k | if (!call_on_index_and_data_type<void>(from_type->get_primitive_type(), make_cast_wrapper)) { | 45 | 0 | return create_unsupport_wrapper( | 46 | 0 | fmt::format("CAST AS number not supported {}", from_type->get_name())); | 47 | 0 | } | 48 | | | 49 | 1.26k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 1.26k | uint32_t result, size_t input_rows_count, | 51 | 1.26k | const NullMap::value_type* null_map = nullptr) { | 52 | 1.26k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 1.26k | null_map); | 54 | 1.26k | }; | 55 | 1.26k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 1.00k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 1.00k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 1.00k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.00k | using Types = std::decay_t<decltype(types)>; | 29 | 1.00k | using FromDataType = typename Types::LeftType; | 30 | 1.00k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.00k | if (context->enable_strict_mode()) { | 32 | 1.00k | cast_impl = std::make_shared< | 33 | 1.00k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.00k | } else { | 35 | 1.00k | cast_impl = std::make_shared< | 36 | 1.00k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1.00k | } | 38 | 1.00k | return true; | 39 | 1.00k | } else { | 40 | 1.00k | return false; | 41 | 1.00k | } | 42 | 1.00k | }; | 43 | | | 44 | 1.00k | if (!call_on_index_and_data_type<void>(from_type->get_primitive_type(), make_cast_wrapper)) { | 45 | 0 | return create_unsupport_wrapper( | 46 | 0 | fmt::format("CAST AS number not supported {}", from_type->get_name())); | 47 | 0 | } | 48 | | | 49 | 1.00k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 1.00k | uint32_t result, size_t input_rows_count, | 51 | 1.00k | const NullMap::value_type* null_map = nullptr) { | 52 | 1.00k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 1.00k | null_map); | 54 | 1.00k | }; | 55 | 1.00k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 1.11k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 1.11k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 1.11k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.11k | using Types = std::decay_t<decltype(types)>; | 29 | 1.11k | using FromDataType = typename Types::LeftType; | 30 | 1.11k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.11k | if (context->enable_strict_mode()) { | 32 | 1.11k | cast_impl = std::make_shared< | 33 | 1.11k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.11k | } else { | 35 | 1.11k | cast_impl = std::make_shared< | 36 | 1.11k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 1.11k | } | 38 | 1.11k | return true; | 39 | 1.11k | } else { | 40 | 1.11k | return false; | 41 | 1.11k | } | 42 | 1.11k | }; | 43 | | | 44 | 1.11k | if (!call_on_index_and_data_type<void>(from_type->get_primitive_type(), make_cast_wrapper)) { | 45 | 0 | return create_unsupport_wrapper( | 46 | 0 | fmt::format("CAST AS number not supported {}", from_type->get_name())); | 47 | 0 | } | 48 | | | 49 | 1.11k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 1.11k | uint32_t result, size_t input_rows_count, | 51 | 1.11k | const NullMap::value_type* null_map = nullptr) { | 52 | 1.11k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 1.11k | null_map); | 54 | 1.11k | }; | 55 | 1.11k | } |
|