42 | 12.3k | }; _ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_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 | }; |
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 | 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_5EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_6EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_7EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 46 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 46 | using Types = std::decay_t<decltype(types)>; | 29 | 46 | using FromDataType = typename Types::LeftType; | 30 | 46 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 46 | if (context->enable_strict_mode()) { | 32 | 42 | cast_impl = std::make_shared< | 33 | 42 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 42 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 46 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 46 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 54 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 54 | using Types = std::decay_t<decltype(types)>; | 29 | 54 | using FromDataType = typename Types::LeftType; | 30 | 54 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 54 | if (context->enable_strict_mode()) { | 32 | 50 | cast_impl = std::make_shared< | 33 | 50 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 50 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 54 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 54 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 28 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 28 | using Types = std::decay_t<decltype(types)>; | 29 | 28 | using FromDataType = typename Types::LeftType; | 30 | 28 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 28 | if (context->enable_strict_mode()) { | 32 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 14 | cast_impl = std::make_shared< | 36 | 14 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 14 | } | 38 | 28 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 28 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
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 | 144 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 144 | using Types = std::decay_t<decltype(types)>; | 29 | 144 | using FromDataType = typename Types::LeftType; | 30 | 144 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 144 | if (context->enable_strict_mode()) { | 32 | 72 | cast_impl = std::make_shared< | 33 | 72 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 72 | } else { | 35 | 72 | cast_impl = std::make_shared< | 36 | 72 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 72 | } | 38 | 144 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 144 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 48 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 48 | using Types = std::decay_t<decltype(types)>; | 29 | 48 | using FromDataType = typename Types::LeftType; | 30 | 48 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 48 | if (context->enable_strict_mode()) { | 32 | 24 | cast_impl = std::make_shared< | 33 | 24 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 24 | } else { | 35 | 24 | cast_impl = std::make_shared< | 36 | 24 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 24 | } | 38 | 48 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 48 | }; |
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 | 640 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 640 | using Types = std::decay_t<decltype(types)>; | 29 | 640 | using FromDataType = typename Types::LeftType; | 30 | 640 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 640 | if (context->enable_strict_mode()) { | 32 | 320 | cast_impl = std::make_shared< | 33 | 320 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 320 | } else { | 35 | 320 | cast_impl = std::make_shared< | 36 | 320 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 320 | } | 38 | 640 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 640 | }; |
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 | 1.71k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.71k | using Types = std::decay_t<decltype(types)>; | 29 | 1.71k | using FromDataType = typename Types::LeftType; | 30 | 1.71k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.71k | if (context->enable_strict_mode()) { | 32 | 1.66k | cast_impl = std::make_shared< | 33 | 1.66k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.66k | } else { | 35 | 50 | cast_impl = std::make_shared< | 36 | 50 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 50 | } | 38 | 1.71k | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 1.71k | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_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_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ 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_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 | 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_6EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_7EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 42 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 42 | using Types = std::decay_t<decltype(types)>; | 29 | 42 | using FromDataType = typename Types::LeftType; | 30 | 42 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 42 | if (context->enable_strict_mode()) { | 32 | 38 | cast_impl = std::make_shared< | 33 | 38 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 38 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 42 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 42 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 50 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 50 | using Types = std::decay_t<decltype(types)>; | 29 | 50 | using FromDataType = typename Types::LeftType; | 30 | 50 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 50 | if (context->enable_strict_mode()) { | 32 | 46 | cast_impl = std::make_shared< | 33 | 46 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 46 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 50 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 50 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 28 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 28 | using Types = std::decay_t<decltype(types)>; | 29 | 28 | using FromDataType = typename Types::LeftType; | 30 | 28 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 28 | if (context->enable_strict_mode()) { | 32 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 14 | cast_impl = std::make_shared< | 36 | 14 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 14 | } | 38 | 28 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 28 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
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 | 144 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 144 | using Types = std::decay_t<decltype(types)>; | 29 | 144 | using FromDataType = typename Types::LeftType; | 30 | 144 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 144 | if (context->enable_strict_mode()) { | 32 | 72 | cast_impl = std::make_shared< | 33 | 72 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 72 | } else { | 35 | 72 | cast_impl = std::make_shared< | 36 | 72 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 72 | } | 38 | 144 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 144 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 48 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 48 | using Types = std::decay_t<decltype(types)>; | 29 | 48 | using FromDataType = typename Types::LeftType; | 30 | 48 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 48 | if (context->enable_strict_mode()) { | 32 | 24 | cast_impl = std::make_shared< | 33 | 24 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 24 | } else { | 35 | 24 | cast_impl = std::make_shared< | 36 | 24 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 24 | } | 38 | 48 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 48 | }; |
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 | 640 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 640 | using Types = std::decay_t<decltype(types)>; | 29 | 640 | using FromDataType = typename Types::LeftType; | 30 | 640 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 640 | if (context->enable_strict_mode()) { | 32 | 320 | cast_impl = std::make_shared< | 33 | 320 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 320 | } else { | 35 | 320 | cast_impl = std::make_shared< | 36 | 320 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 320 | } | 38 | 640 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 640 | }; |
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 | 1.68k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.68k | using Types = std::decay_t<decltype(types)>; | 29 | 1.68k | using FromDataType = typename Types::LeftType; | 30 | 1.68k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.68k | if (context->enable_strict_mode()) { | 32 | 1.63k | cast_impl = std::make_shared< | 33 | 1.63k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.63k | } else { | 35 | 50 | cast_impl = std::make_shared< | 36 | 50 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 50 | } | 38 | 1.68k | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 1.68k | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ 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_8TypePairINS2_ILS3_3EEEvEEEEbSS_ 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_4EEEvEEEEbSS_ 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_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 | 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_7EEEvEEEEbSS_ 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 34 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 34 | using Types = std::decay_t<decltype(types)>; | 29 | 34 | using FromDataType = typename Types::LeftType; | 30 | 34 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 34 | if (context->enable_strict_mode()) { | 32 | 30 | cast_impl = std::make_shared< | 33 | 30 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 30 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 34 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 34 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 42 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 42 | using Types = std::decay_t<decltype(types)>; | 29 | 42 | using FromDataType = typename Types::LeftType; | 30 | 42 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 42 | if (context->enable_strict_mode()) { | 32 | 38 | cast_impl = std::make_shared< | 33 | 38 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 38 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 42 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 42 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 28 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 28 | using Types = std::decay_t<decltype(types)>; | 29 | 28 | using FromDataType = typename Types::LeftType; | 30 | 28 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 28 | if (context->enable_strict_mode()) { | 32 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 14 | cast_impl = std::make_shared< | 36 | 14 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 14 | } | 38 | 28 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 28 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
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 | 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_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 48 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 48 | using Types = std::decay_t<decltype(types)>; | 29 | 48 | using FromDataType = typename Types::LeftType; | 30 | 48 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 48 | if (context->enable_strict_mode()) { | 32 | 24 | cast_impl = std::make_shared< | 33 | 24 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 24 | } else { | 35 | 24 | cast_impl = std::make_shared< | 36 | 24 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 24 | } | 38 | 48 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 48 | }; |
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 | 552 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 552 | using Types = std::decay_t<decltype(types)>; | 29 | 552 | using FromDataType = typename Types::LeftType; | 30 | 552 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 552 | if (context->enable_strict_mode()) { | 32 | 276 | cast_impl = std::make_shared< | 33 | 276 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 276 | } else { | 35 | 276 | cast_impl = std::make_shared< | 36 | 276 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 276 | } | 38 | 552 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 552 | }; |
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 | 1.65k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.65k | using Types = std::decay_t<decltype(types)>; | 29 | 1.65k | using FromDataType = typename Types::LeftType; | 30 | 1.65k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.65k | if (context->enable_strict_mode()) { | 32 | 1.60k | cast_impl = std::make_shared< | 33 | 1.60k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.60k | } else { | 35 | 52 | cast_impl = std::make_shared< | 36 | 52 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 52 | } | 38 | 1.65k | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 1.65k | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 159 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 159 | using Types = std::decay_t<decltype(types)>; | 29 | 159 | using FromDataType = typename Types::LeftType; | 30 | 159 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 159 | if (context->enable_strict_mode()) { | 32 | 4 | cast_impl = std::make_shared< | 33 | 4 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 155 | } else { | 35 | 155 | cast_impl = std::make_shared< | 36 | 155 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 155 | } | 38 | 159 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 159 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ 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_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ 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_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ Line | Count | Source | 27 | 6 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 6 | using Types = std::decay_t<decltype(types)>; | 29 | 6 | using FromDataType = typename Types::LeftType; | 30 | 6 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 6 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | 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 | 6 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 6 | }; |
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 | 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 | 10 | cast_impl = std::make_shared< | 33 | 10 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 10 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_8EEEvEEEEbSS_ Line | Count | Source | 27 | 26 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 26 | using Types = std::decay_t<decltype(types)>; | 29 | 26 | using FromDataType = typename Types::LeftType; | 30 | 26 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 26 | if (context->enable_strict_mode()) { | 32 | 22 | cast_impl = std::make_shared< | 33 | 22 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 22 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 26 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 26 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 34 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 34 | using Types = std::decay_t<decltype(types)>; | 29 | 34 | using FromDataType = typename Types::LeftType; | 30 | 34 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 34 | if (context->enable_strict_mode()) { | 32 | 30 | cast_impl = std::make_shared< | 33 | 30 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 30 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 34 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 34 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 28 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 28 | using Types = std::decay_t<decltype(types)>; | 29 | 28 | using FromDataType = typename Types::LeftType; | 30 | 28 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 28 | if (context->enable_strict_mode()) { | 32 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 14 | cast_impl = std::make_shared< | 36 | 14 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 14 | } | 38 | 28 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 28 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
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 | 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_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
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 | 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_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 | 1.61k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.61k | using Types = std::decay_t<decltype(types)>; | 29 | 1.61k | using FromDataType = typename Types::LeftType; | 30 | 1.61k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.61k | if (context->enable_strict_mode()) { | 32 | 1.56k | cast_impl = std::make_shared< | 33 | 1.56k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.56k | } else { | 35 | 50 | cast_impl = std::make_shared< | 36 | 50 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 50 | } | 38 | 1.61k | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 1.61k | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_2EEEvEEEEbSS_ Line | Count | Source | 27 | 170 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 170 | using Types = std::decay_t<decltype(types)>; | 29 | 170 | using FromDataType = typename Types::LeftType; | 30 | 170 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 170 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 168 | } else { | 35 | 168 | cast_impl = std::make_shared< | 36 | 168 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 168 | } | 38 | 170 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 170 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_3EEEvEEEEbSS_ 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_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_4EEEvEEEEbSS_ 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_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_5EEEvEEEEbSS_ 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_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS2_ILS3_6EEEvEEEEbSS_ Line | Count | Source | 27 | 166 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 166 | using Types = std::decay_t<decltype(types)>; | 29 | 166 | using FromDataType = typename Types::LeftType; | 30 | 166 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 166 | if (context->enable_strict_mode()) { | 32 | 2 | cast_impl = std::make_shared< | 33 | 2 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 164 | } else { | 35 | 164 | cast_impl = std::make_shared< | 36 | 164 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 164 | } | 38 | 166 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 166 | }; |
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 | 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 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 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_8TypePairINS2_ILS3_9EEEvEEEEbSS_ Line | Count | Source | 27 | 26 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 26 | using Types = std::decay_t<decltype(types)>; | 29 | 26 | using FromDataType = typename Types::LeftType; | 30 | 26 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 26 | if (context->enable_strict_mode()) { | 32 | 22 | cast_impl = std::make_shared< | 33 | 22 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 22 | } else { | 35 | 4 | cast_impl = std::make_shared< | 36 | 4 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 4 | } | 38 | 26 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 26 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_28EEEvEEEEbSS_ Line | Count | Source | 27 | 28 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 28 | using Types = std::decay_t<decltype(types)>; | 29 | 28 | using FromDataType = typename Types::LeftType; | 30 | 28 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 28 | if (context->enable_strict_mode()) { | 32 | 14 | cast_impl = std::make_shared< | 33 | 14 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 14 | } else { | 35 | 14 | cast_impl = std::make_shared< | 36 | 14 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 14 | } | 38 | 28 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 28 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_29EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_20EEEvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_30EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
_ZZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_15DataTypeDecimalILS3_35EEEvEEEEbSS_ Line | Count | Source | 27 | 36 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 36 | using Types = std::decay_t<decltype(types)>; | 29 | 36 | using FromDataType = typename Types::LeftType; | 30 | 36 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 36 | if (context->enable_strict_mode()) { | 32 | 18 | cast_impl = std::make_shared< | 33 | 18 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 18 | } else { | 35 | 18 | cast_impl = std::make_shared< | 36 | 18 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 18 | } | 38 | 36 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 36 | }; |
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 | 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_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEEENKUlRKT_E_clINS_8TypePairINS_18DataTypeDateTimeV2EvEEEEbSS_ Line | Count | Source | 27 | 16 | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 16 | using Types = std::decay_t<decltype(types)>; | 29 | 16 | using FromDataType = typename Types::LeftType; | 30 | 16 | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 16 | if (context->enable_strict_mode()) { | 32 | 8 | cast_impl = std::make_shared< | 33 | 8 | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 8 | } else { | 35 | 8 | cast_impl = std::make_shared< | 36 | 8 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 8 | } | 38 | 16 | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 16 | }; |
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 | 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_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 | 1.58k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 1.58k | using Types = std::decay_t<decltype(types)>; | 29 | 1.58k | using FromDataType = typename Types::LeftType; | 30 | 1.58k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 1.58k | if (context->enable_strict_mode()) { | 32 | 1.53k | cast_impl = std::make_shared< | 33 | 1.53k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 1.53k | } else { | 35 | 50 | cast_impl = std::make_shared< | 36 | 50 | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 50 | } | 38 | 1.58k | return true; | 39 | | } else { | 40 | | return false; | 41 | | } | 42 | 1.58k | }; |
|
55 | 12.3k | } _ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 2.85k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 2.85k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 2.85k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2.85k | using Types = std::decay_t<decltype(types)>; | 29 | 2.85k | using FromDataType = typename Types::LeftType; | 30 | 2.85k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2.85k | if (context->enable_strict_mode()) { | 32 | 2.85k | cast_impl = std::make_shared< | 33 | 2.85k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2.85k | } else { | 35 | 2.85k | cast_impl = std::make_shared< | 36 | 2.85k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2.85k | } | 38 | 2.85k | return true; | 39 | 2.85k | } else { | 40 | 2.85k | return false; | 41 | 2.85k | } | 42 | 2.85k | }; | 43 | | | 44 | 2.85k | 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 | 2.85k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 2.85k | uint32_t result, size_t input_rows_count, | 51 | 2.85k | const NullMap::value_type* null_map = nullptr) { | 52 | 2.85k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 2.85k | null_map); | 54 | 2.85k | }; | 55 | 2.85k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 2.80k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 2.80k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 2.80k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2.80k | using Types = std::decay_t<decltype(types)>; | 29 | 2.80k | using FromDataType = typename Types::LeftType; | 30 | 2.80k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2.80k | if (context->enable_strict_mode()) { | 32 | 2.80k | cast_impl = std::make_shared< | 33 | 2.80k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2.80k | } else { | 35 | 2.80k | cast_impl = std::make_shared< | 36 | 2.80k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2.80k | } | 38 | 2.80k | return true; | 39 | 2.80k | } else { | 40 | 2.80k | return false; | 41 | 2.80k | } | 42 | 2.80k | }; | 43 | | | 44 | 2.80k | 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 | 2.80k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 2.80k | uint32_t result, size_t input_rows_count, | 51 | 2.80k | const NullMap::value_type* null_map = nullptr) { | 52 | 2.80k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 2.80k | null_map); | 54 | 2.80k | }; | 55 | 2.80k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 2.52k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 2.52k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 2.52k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2.52k | using Types = std::decay_t<decltype(types)>; | 29 | 2.52k | using FromDataType = typename Types::LeftType; | 30 | 2.52k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2.52k | if (context->enable_strict_mode()) { | 32 | 2.52k | cast_impl = std::make_shared< | 33 | 2.52k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2.52k | } else { | 35 | 2.52k | cast_impl = std::make_shared< | 36 | 2.52k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2.52k | } | 38 | 2.52k | return true; | 39 | 2.52k | } else { | 40 | 2.52k | return false; | 41 | 2.52k | } | 42 | 2.52k | }; | 43 | | | 44 | 2.52k | 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 | 2.52k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 2.52k | uint32_t result, size_t input_rows_count, | 51 | 2.52k | const NullMap::value_type* null_map = nullptr) { | 52 | 2.52k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 2.52k | null_map); | 54 | 2.52k | }; | 55 | 2.52k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE6EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 2.04k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 2.04k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 2.04k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2.04k | using Types = std::decay_t<decltype(types)>; | 29 | 2.04k | using FromDataType = typename Types::LeftType; | 30 | 2.04k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2.04k | if (context->enable_strict_mode()) { | 32 | 2.04k | cast_impl = std::make_shared< | 33 | 2.04k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2.04k | } else { | 35 | 2.04k | cast_impl = std::make_shared< | 36 | 2.04k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2.04k | } | 38 | 2.04k | return true; | 39 | 2.04k | } else { | 40 | 2.04k | return false; | 41 | 2.04k | } | 42 | 2.04k | }; | 43 | | | 44 | 2.04k | 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 | 2.04k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 2.04k | uint32_t result, size_t input_rows_count, | 51 | 2.04k | const NullMap::value_type* null_map = nullptr) { | 52 | 2.04k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 2.04k | null_map); | 54 | 2.04k | }; | 55 | 2.04k | } |
_ZN5doris11CastWrapper18create_int_wrapperINS_14DataTypeNumberILNS_13PrimitiveTypeE7EEEEESt8functionIFNS_6StatusEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKhEES8_RKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 24 | 2.15k | WrapperType create_int_wrapper(FunctionContext* context, const DataTypePtr& from_type) { | 25 | 2.15k | std::shared_ptr<CastToBase> cast_impl; | 26 | | | 27 | 2.15k | auto make_cast_wrapper = [&](const auto& types) -> bool { | 28 | 2.15k | using Types = std::decay_t<decltype(types)>; | 29 | 2.15k | using FromDataType = typename Types::LeftType; | 30 | 2.15k | if constexpr (type_allow_cast_to_basic_number<FromDataType>) { | 31 | 2.15k | if (context->enable_strict_mode()) { | 32 | 2.15k | cast_impl = std::make_shared< | 33 | 2.15k | CastToImpl<CastModeType::StrictMode, FromDataType, ToDataType>>(); | 34 | 2.15k | } else { | 35 | 2.15k | cast_impl = std::make_shared< | 36 | 2.15k | CastToImpl<CastModeType::NonStrictMode, FromDataType, ToDataType>>(); | 37 | 2.15k | } | 38 | 2.15k | return true; | 39 | 2.15k | } else { | 40 | 2.15k | return false; | 41 | 2.15k | } | 42 | 2.15k | }; | 43 | | | 44 | 2.15k | 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 | 2.15k | return [cast_impl](FunctionContext* context, Block& block, const ColumnNumbers& arguments, | 50 | 2.15k | uint32_t result, size_t input_rows_count, | 51 | 2.15k | const NullMap::value_type* null_map = nullptr) { | 52 | 2.15k | return cast_impl->execute_impl(context, block, arguments, result, input_rows_count, | 53 | 2.15k | null_map); | 54 | 2.15k | }; | 55 | 2.15k | } |
|