be/src/exprs/function/cast/cast_base.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | #include <cstddef> |
20 | | #include <cstdint> |
21 | | |
22 | | #include "core/block/block.h" |
23 | | #include "core/call_on_type_index.h" |
24 | | #include "core/data_type/data_type.h" |
25 | | #include "core/data_type/data_type_array.h" |
26 | | #include "core/data_type/data_type_bitmap.h" |
27 | | #include "core/data_type/data_type_date.h" |
28 | | #include "core/data_type/data_type_date_or_datetime_v2.h" |
29 | | #include "core/data_type/data_type_date_time.h" |
30 | | #include "core/data_type/data_type_decimal.h" |
31 | | #include "core/data_type/data_type_hll.h" |
32 | | #include "core/data_type/data_type_ipv4.h" |
33 | | #include "core/data_type/data_type_ipv6.h" |
34 | | #include "core/data_type/data_type_jsonb.h" |
35 | | #include "core/data_type/data_type_map.h" |
36 | | #include "core/data_type/data_type_nullable.h" |
37 | | #include "core/data_type/data_type_number.h" |
38 | | #include "core/data_type/data_type_string.h" |
39 | | #include "core/data_type/data_type_struct.h" |
40 | | #include "core/data_type/data_type_time.h" |
41 | | #include "exprs/function/cast/cast_parameters.h" |
42 | | #include "exprs/function/function.h" |
43 | | #include "exprs/function/function_helpers.h" |
44 | | #include "util/io_helper.h" |
45 | | |
46 | | namespace doris { |
47 | | |
48 | | struct NameCast { |
49 | | static constexpr auto name = "CAST"; |
50 | | }; |
51 | | namespace CastUtil { |
52 | | // `static_cast_set` is introduced to wrap `static_cast` and handle special cases. |
53 | | // Doris uses `uint8` to represent boolean values internally. |
54 | | // Directly `static_cast` to `uint8` can result in non-0/1 values, |
55 | | // To address this, `static_cast_set` performs an additional check: |
56 | | // For `uint8` types, it explicitly uses `static_cast<bool>` to ensure |
57 | | // the result is either 0 or 1. |
58 | | template <typename FromFieldType, typename ToFieldType> |
59 | 31.1M | void static_cast_set(ToFieldType& to, const FromFieldType& from) { |
60 | | // uint8_t now use as boolean in doris |
61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { |
62 | | to = static_cast<bool>(from); |
63 | 31.1M | } else { |
64 | 31.1M | to = static_cast<ToFieldType>(from); |
65 | 31.1M | } |
66 | 31.1M | } _ZN5doris8CastUtil15static_cast_setIhaEEvRT0_RKT_ Line | Count | Source | 59 | 563k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 563k | } else { | 64 | 563k | to = static_cast<ToFieldType>(from); | 65 | 563k | } | 66 | 563k | } |
_ZN5doris8CastUtil15static_cast_setIaaEEvRT0_RKT_ Line | Count | Source | 59 | 4 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 4 | } else { | 64 | 4 | to = static_cast<ToFieldType>(from); | 65 | 4 | } | 66 | 4 | } |
_ZN5doris8CastUtil15static_cast_setIsaEEvRT0_RKT_ Line | Count | Source | 59 | 18 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 18 | } else { | 64 | 18 | to = static_cast<ToFieldType>(from); | 65 | 18 | } | 66 | 18 | } |
_ZN5doris8CastUtil15static_cast_setIiaEEvRT0_RKT_ Line | Count | Source | 59 | 23.7k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 23.7k | } else { | 64 | 23.7k | to = static_cast<ToFieldType>(from); | 65 | 23.7k | } | 66 | 23.7k | } |
_ZN5doris8CastUtil15static_cast_setIlaEEvRT0_RKT_ Line | Count | Source | 59 | 22.1k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 22.1k | } else { | 64 | 22.1k | to = static_cast<ToFieldType>(from); | 65 | 22.1k | } | 66 | 22.1k | } |
_ZN5doris8CastUtil15static_cast_setInaEEvRT0_RKT_ Line | Count | Source | 59 | 18 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 18 | } else { | 64 | 18 | to = static_cast<ToFieldType>(from); | 65 | 18 | } | 66 | 18 | } |
_ZN5doris8CastUtil15static_cast_setIdaEEvRT0_RKT_ Line | Count | Source | 59 | 45 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 45 | } else { | 64 | 45 | to = static_cast<ToFieldType>(from); | 65 | 45 | } | 66 | 45 | } |
_ZN5doris8CastUtil15static_cast_setIfaEEvRT0_RKT_ Line | Count | Source | 59 | 36 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 36 | } else { | 64 | 36 | to = static_cast<ToFieldType>(from); | 65 | 36 | } | 66 | 36 | } |
_ZN5doris8CastUtil15static_cast_setIhsEEvRT0_RKT_ Line | Count | Source | 59 | 978 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 978 | } else { | 64 | 978 | to = static_cast<ToFieldType>(from); | 65 | 978 | } | 66 | 978 | } |
_ZN5doris8CastUtil15static_cast_setIasEEvRT0_RKT_ Line | Count | Source | 59 | 6.63k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 6.63k | } else { | 64 | 6.63k | to = static_cast<ToFieldType>(from); | 65 | 6.63k | } | 66 | 6.63k | } |
_ZN5doris8CastUtil15static_cast_setIssEEvRT0_RKT_ Line | Count | Source | 59 | 15 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 15 | } else { | 64 | 15 | to = static_cast<ToFieldType>(from); | 65 | 15 | } | 66 | 15 | } |
_ZN5doris8CastUtil15static_cast_setIisEEvRT0_RKT_ Line | Count | Source | 59 | 13.4k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 13.4k | } else { | 64 | 13.4k | to = static_cast<ToFieldType>(from); | 65 | 13.4k | } | 66 | 13.4k | } |
_ZN5doris8CastUtil15static_cast_setIlsEEvRT0_RKT_ Line | Count | Source | 59 | 873 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 873 | } else { | 64 | 873 | to = static_cast<ToFieldType>(from); | 65 | 873 | } | 66 | 873 | } |
_ZN5doris8CastUtil15static_cast_setInsEEvRT0_RKT_ Line | Count | Source | 59 | 43 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 43 | } else { | 64 | 43 | to = static_cast<ToFieldType>(from); | 65 | 43 | } | 66 | 43 | } |
_ZN5doris8CastUtil15static_cast_setIdsEEvRT0_RKT_ Line | Count | Source | 59 | 59 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 59 | } else { | 64 | 59 | to = static_cast<ToFieldType>(from); | 65 | 59 | } | 66 | 59 | } |
_ZN5doris8CastUtil15static_cast_setIfsEEvRT0_RKT_ Line | Count | Source | 59 | 44 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 44 | } else { | 64 | 44 | to = static_cast<ToFieldType>(from); | 65 | 44 | } | 66 | 44 | } |
_ZN5doris8CastUtil15static_cast_setIhiEEvRT0_RKT_ Line | Count | Source | 59 | 5.47k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 5.47k | } else { | 64 | 5.47k | to = static_cast<ToFieldType>(from); | 65 | 5.47k | } | 66 | 5.47k | } |
_ZN5doris8CastUtil15static_cast_setIaiEEvRT0_RKT_ Line | Count | Source | 59 | 7.78k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 7.78k | } else { | 64 | 7.78k | to = static_cast<ToFieldType>(from); | 65 | 7.78k | } | 66 | 7.78k | } |
_ZN5doris8CastUtil15static_cast_setIsiEEvRT0_RKT_ Line | Count | Source | 59 | 5.84k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 5.84k | } else { | 64 | 5.84k | to = static_cast<ToFieldType>(from); | 65 | 5.84k | } | 66 | 5.84k | } |
_ZN5doris8CastUtil15static_cast_setIiiEEvRT0_RKT_ Line | Count | Source | 59 | 40 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 40 | } else { | 64 | 40 | to = static_cast<ToFieldType>(from); | 65 | 40 | } | 66 | 40 | } |
_ZN5doris8CastUtil15static_cast_setIliEEvRT0_RKT_ Line | Count | Source | 59 | 25.8M | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 25.8M | } else { | 64 | 25.8M | to = static_cast<ToFieldType>(from); | 65 | 25.8M | } | 66 | 25.8M | } |
_ZN5doris8CastUtil15static_cast_setIniEEvRT0_RKT_ Line | Count | Source | 59 | 26 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 26 | } else { | 64 | 26 | to = static_cast<ToFieldType>(from); | 65 | 26 | } | 66 | 26 | } |
_ZN5doris8CastUtil15static_cast_setIdiEEvRT0_RKT_ Line | Count | Source | 59 | 1.08M | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 1.08M | } else { | 64 | 1.08M | to = static_cast<ToFieldType>(from); | 65 | 1.08M | } | 66 | 1.08M | } |
_ZN5doris8CastUtil15static_cast_setIfiEEvRT0_RKT_ Line | Count | Source | 59 | 64 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 64 | } else { | 64 | 64 | to = static_cast<ToFieldType>(from); | 65 | 64 | } | 66 | 64 | } |
_ZN5doris8CastUtil15static_cast_setIhlEEvRT0_RKT_ Line | Count | Source | 59 | 8.26k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 8.26k | } else { | 64 | 8.26k | to = static_cast<ToFieldType>(from); | 65 | 8.26k | } | 66 | 8.26k | } |
_ZN5doris8CastUtil15static_cast_setIalEEvRT0_RKT_ Line | Count | Source | 59 | 84.8k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 84.8k | } else { | 64 | 84.8k | to = static_cast<ToFieldType>(from); | 65 | 84.8k | } | 66 | 84.8k | } |
_ZN5doris8CastUtil15static_cast_setIslEEvRT0_RKT_ Line | Count | Source | 59 | 8.65k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 8.65k | } else { | 64 | 8.65k | to = static_cast<ToFieldType>(from); | 65 | 8.65k | } | 66 | 8.65k | } |
_ZN5doris8CastUtil15static_cast_setIilEEvRT0_RKT_ Line | Count | Source | 59 | 1.79M | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 1.79M | } else { | 64 | 1.79M | to = static_cast<ToFieldType>(from); | 65 | 1.79M | } | 66 | 1.79M | } |
_ZN5doris8CastUtil15static_cast_setIllEEvRT0_RKT_ Line | Count | Source | 59 | 48.7k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 48.7k | } else { | 64 | 48.7k | to = static_cast<ToFieldType>(from); | 65 | 48.7k | } | 66 | 48.7k | } |
_ZN5doris8CastUtil15static_cast_setInlEEvRT0_RKT_ Line | Count | Source | 59 | 1.60k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 1.60k | } else { | 64 | 1.60k | to = static_cast<ToFieldType>(from); | 65 | 1.60k | } | 66 | 1.60k | } |
_ZN5doris8CastUtil15static_cast_setIdlEEvRT0_RKT_ Line | Count | Source | 59 | 14.2k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 14.2k | } else { | 64 | 14.2k | to = static_cast<ToFieldType>(from); | 65 | 14.2k | } | 66 | 14.2k | } |
_ZN5doris8CastUtil15static_cast_setIflEEvRT0_RKT_ Line | Count | Source | 59 | 3.82k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 3.82k | } else { | 64 | 3.82k | to = static_cast<ToFieldType>(from); | 65 | 3.82k | } | 66 | 3.82k | } |
_ZN5doris8CastUtil15static_cast_setIhnEEvRT0_RKT_ Line | Count | Source | 59 | 847 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 847 | } else { | 64 | 847 | to = static_cast<ToFieldType>(from); | 65 | 847 | } | 66 | 847 | } |
_ZN5doris8CastUtil15static_cast_setIanEEvRT0_RKT_ Line | Count | Source | 59 | 2.13k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 2.13k | } else { | 64 | 2.13k | to = static_cast<ToFieldType>(from); | 65 | 2.13k | } | 66 | 2.13k | } |
_ZN5doris8CastUtil15static_cast_setIsnEEvRT0_RKT_ Line | Count | Source | 59 | 573 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 573 | } else { | 64 | 573 | to = static_cast<ToFieldType>(from); | 65 | 573 | } | 66 | 573 | } |
_ZN5doris8CastUtil15static_cast_setIinEEvRT0_RKT_ Line | Count | Source | 59 | 860 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 860 | } else { | 64 | 860 | to = static_cast<ToFieldType>(from); | 65 | 860 | } | 66 | 860 | } |
_ZN5doris8CastUtil15static_cast_setIlnEEvRT0_RKT_ Line | Count | Source | 59 | 39.3k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 39.3k | } else { | 64 | 39.3k | to = static_cast<ToFieldType>(from); | 65 | 39.3k | } | 66 | 39.3k | } |
_ZN5doris8CastUtil15static_cast_setInnEEvRT0_RKT_ Line | Count | Source | 59 | 74 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 74 | } else { | 64 | 74 | to = static_cast<ToFieldType>(from); | 65 | 74 | } | 66 | 74 | } |
_ZN5doris8CastUtil15static_cast_setIdnEEvRT0_RKT_ Line | Count | Source | 59 | 432 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 432 | } else { | 64 | 432 | to = static_cast<ToFieldType>(from); | 65 | 432 | } | 66 | 432 | } |
_ZN5doris8CastUtil15static_cast_setIfnEEvRT0_RKT_ Line | Count | Source | 59 | 80 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 80 | } else { | 64 | 80 | to = static_cast<ToFieldType>(from); | 65 | 80 | } | 66 | 80 | } |
_ZN5doris8CastUtil15static_cast_setIhfEEvRT0_RKT_ Line | Count | Source | 59 | 10 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 10 | } else { | 64 | 10 | to = static_cast<ToFieldType>(from); | 65 | 10 | } | 66 | 10 | } |
_ZN5doris8CastUtil15static_cast_setIafEEvRT0_RKT_ Line | Count | Source | 59 | 148 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 148 | } else { | 64 | 148 | to = static_cast<ToFieldType>(from); | 65 | 148 | } | 66 | 148 | } |
_ZN5doris8CastUtil15static_cast_setIsfEEvRT0_RKT_ Line | Count | Source | 59 | 88 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 88 | } else { | 64 | 88 | to = static_cast<ToFieldType>(from); | 65 | 88 | } | 66 | 88 | } |
_ZN5doris8CastUtil15static_cast_setIifEEvRT0_RKT_ Line | Count | Source | 59 | 102 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 102 | } else { | 64 | 102 | to = static_cast<ToFieldType>(from); | 65 | 102 | } | 66 | 102 | } |
_ZN5doris8CastUtil15static_cast_setIlfEEvRT0_RKT_ Line | Count | Source | 59 | 9.63k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 9.63k | } else { | 64 | 9.63k | to = static_cast<ToFieldType>(from); | 65 | 9.63k | } | 66 | 9.63k | } |
_ZN5doris8CastUtil15static_cast_setInfEEvRT0_RKT_ Line | Count | Source | 59 | 305 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 305 | } else { | 64 | 305 | to = static_cast<ToFieldType>(from); | 65 | 305 | } | 66 | 305 | } |
_ZN5doris8CastUtil15static_cast_setIdfEEvRT0_RKT_ Line | Count | Source | 59 | 1.08k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 1.08k | } else { | 64 | 1.08k | to = static_cast<ToFieldType>(from); | 65 | 1.08k | } | 66 | 1.08k | } |
_ZN5doris8CastUtil15static_cast_setIffEEvRT0_RKT_ Line | Count | Source | 59 | 2 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 2 | } else { | 64 | 2 | to = static_cast<ToFieldType>(from); | 65 | 2 | } | 66 | 2 | } |
_ZN5doris8CastUtil15static_cast_setIhdEEvRT0_RKT_ Line | Count | Source | 59 | 2.17k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 2.17k | } else { | 64 | 2.17k | to = static_cast<ToFieldType>(from); | 65 | 2.17k | } | 66 | 2.17k | } |
_ZN5doris8CastUtil15static_cast_setIadEEvRT0_RKT_ Line | Count | Source | 59 | 3.57k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 3.57k | } else { | 64 | 3.57k | to = static_cast<ToFieldType>(from); | 65 | 3.57k | } | 66 | 3.57k | } |
_ZN5doris8CastUtil15static_cast_setIsdEEvRT0_RKT_ Line | Count | Source | 59 | 6.02k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 6.02k | } else { | 64 | 6.02k | to = static_cast<ToFieldType>(from); | 65 | 6.02k | } | 66 | 6.02k | } |
_ZN5doris8CastUtil15static_cast_setIidEEvRT0_RKT_ Line | Count | Source | 59 | 38.1k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 38.1k | } else { | 64 | 38.1k | to = static_cast<ToFieldType>(from); | 65 | 38.1k | } | 66 | 38.1k | } |
_ZN5doris8CastUtil15static_cast_setIldEEvRT0_RKT_ Line | Count | Source | 59 | 891k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 891k | } else { | 64 | 891k | to = static_cast<ToFieldType>(from); | 65 | 891k | } | 66 | 891k | } |
_ZN5doris8CastUtil15static_cast_setIndEEvRT0_RKT_ Line | Count | Source | 59 | 2.04k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 2.04k | } else { | 64 | 2.04k | to = static_cast<ToFieldType>(from); | 65 | 2.04k | } | 66 | 2.04k | } |
_ZN5doris8CastUtil15static_cast_setIddEEvRT0_RKT_ Line | Count | Source | 59 | 563 | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 563 | } else { | 64 | 563 | to = static_cast<ToFieldType>(from); | 65 | 563 | } | 66 | 563 | } |
_ZN5doris8CastUtil15static_cast_setIfdEEvRT0_RKT_ Line | Count | Source | 59 | 606k | void static_cast_set(ToFieldType& to, const FromFieldType& from) { | 60 | | // uint8_t now use as boolean in doris | 61 | | if constexpr (std::is_same_v<uint8_t, ToFieldType>) { | 62 | | to = static_cast<bool>(from); | 63 | 606k | } else { | 64 | 606k | to = static_cast<ToFieldType>(from); | 65 | 606k | } | 66 | 606k | } |
|
67 | | |
68 | | template <typename T> |
69 | | constexpr static bool IsPureDigitType = |
70 | | IsDataTypeInt<T> || IsDataTypeFloat<T> || IsDataTypeDecimal<T>; |
71 | | |
72 | | // IsDataTypeNumber include integer, float and boolean. |
73 | | template <typename T> |
74 | | constexpr static bool IsBaseCastToType = |
75 | | IsDataTypeNumber<T> || IsDataTypeDecimal<T> || IsDatelikeTypes<T> || IsIPType<T>; |
76 | | |
77 | | template <typename T> |
78 | | constexpr static bool IsBaseCastFromType = IsBaseCastToType<T> || IsStringType<T>; |
79 | | |
80 | | } // namespace CastUtil |
81 | | |
82 | | namespace CastWrapper { |
83 | | |
84 | | using WrapperType = std::function<Status(FunctionContext*, Block&, const ColumnNumbers&, uint32_t, |
85 | | size_t, const NullMap::value_type*)>; |
86 | | |
87 | | using ElementWrappers = std::vector<WrapperType>; |
88 | | |
89 | | WrapperType create_unsupport_wrapper(const String error_msg); |
90 | | |
91 | | WrapperType create_unsupport_wrapper(const String from_type_name, const String to_type_name); |
92 | | //// Generic conversion of any type to String. |
93 | | |
94 | | Status cast_from_generic_to_jsonb(FunctionContext* context, Block& block, |
95 | | const ColumnNumbers& arguments, uint32_t result, |
96 | | size_t input_rows_count, |
97 | | const NullMap::value_type* null_map = nullptr); |
98 | | |
99 | | // string to bitmap or hll object |
100 | | Status cast_from_string_to_generic(FunctionContext* context, Block& block, |
101 | | const ColumnNumbers& arguments, uint32_t result, |
102 | | size_t input_rows_count, |
103 | | const NullMap::value_type* null_map = nullptr); |
104 | | |
105 | | Status cast_from_string_to_complex_type(FunctionContext* context, Block& block, |
106 | | const ColumnNumbers& arguments, uint32_t result, |
107 | | size_t input_rows_count, |
108 | | const NullMap::value_type* null_map = nullptr); |
109 | | |
110 | | Status cast_from_string_to_complex_type_strict_mode(FunctionContext* context, Block& block, |
111 | | const ColumnNumbers& arguments, uint32_t result, |
112 | | size_t input_rows_count, |
113 | | const NullMap::value_type* null_map = nullptr); |
114 | | |
115 | | // prepare_unpack_dictionaries -> prepare_remove_nullable -> prepare_impl |
116 | | |
117 | | WrapperType prepare_unpack_dictionaries(FunctionContext* context, const DataTypePtr& from_type, |
118 | | const DataTypePtr& to_type); |
119 | | |
120 | | WrapperType prepare_remove_nullable(FunctionContext* context, const DataTypePtr& from_type, |
121 | | const DataTypePtr& to_type); |
122 | | |
123 | | WrapperType prepare_impl(FunctionContext* context, const DataTypePtr& from_type, |
124 | | const DataTypePtr& to_type); |
125 | | |
126 | | ElementWrappers get_element_wrappers(FunctionContext* context, const DataTypes& from_element_types, |
127 | | const DataTypes& to_element_types); |
128 | | |
129 | | WrapperType create_identity_wrapper(const DataTypePtr&); |
130 | | |
131 | | } // namespace CastWrapper |
132 | | |
133 | | enum class CastModeType { StrictMode, NonStrictMode }; |
134 | | |
135 | 16.1k | inline std::string cast_mode_type_to_string(CastModeType cast_mode) { |
136 | 16.1k | switch (cast_mode) { |
137 | 16.0k | case CastModeType::StrictMode: |
138 | 16.0k | return "StrictMode"; |
139 | 108 | case CastModeType::NonStrictMode: |
140 | 108 | return "NonStrictMode"; |
141 | 0 | default: |
142 | 0 | return "Unknown"; |
143 | 16.1k | } |
144 | 16.1k | } |
145 | | inline std::string cast_mode_type_to_string(CastModeType cast_mode, const DataTypePtr& from_type, |
146 | 16.1k | const DataTypePtr& to_type) { |
147 | 16.1k | return fmt::format("{}: from {} cast to {}", cast_mode_type_to_string(cast_mode), |
148 | 16.1k | from_type->get_name(), to_type->get_name()); |
149 | 16.1k | } |
150 | | |
151 | | class CastToBase { |
152 | | public: |
153 | 174k | virtual ~CastToBase() = default; |
154 | | virtual Status execute_impl(FunctionContext* context, Block& block, |
155 | | const ColumnNumbers& arguments, uint32_t result, |
156 | | size_t input_rows_count, |
157 | | const NullMap::value_type* null_map = nullptr) const = 0; |
158 | | }; |
159 | | |
160 | | template <CastModeType CastMode, typename FromDataType, typename ToDataType> |
161 | | class CastToImpl : public CastToBase { |
162 | | public: |
163 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
164 | | uint32_t result, size_t input_rows_count, |
165 | 16.1k | const NullMap::value_type* null_map = nullptr) const override { |
166 | 16.1k | return Status::RuntimeError( |
167 | 16.1k | "not support {} ", |
168 | 16.1k | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, |
169 | 16.1k | block.get_by_position(result).type)); |
170 | 16.1k | } Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE28EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE28EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE29EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE29EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE20EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE20EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE30EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE30EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE35EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE35EEENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeDateENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeDateV2ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_16DataTypeDateTimeENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeTimeV2ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeTimeV2ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv4ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv4ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv6ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv6ENS_19DataTypeTimeStampTzEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv4ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv4ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv6ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv6ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 12 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 12 | return Status::RuntimeError( | 167 | 12 | "not support {} ", | 168 | 12 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 12 | block.get_by_position(result).type)); | 170 | 12 | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 7.77k | const NullMap::value_type* null_map = nullptr) const override { | 166 | 7.77k | return Status::RuntimeError( | 167 | 7.77k | "not support {} ", | 168 | 7.77k | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 7.77k | block.get_by_position(result).type)); | 170 | 7.77k | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 160 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 160 | return Status::RuntimeError( | 167 | 160 | "not support {} ", | 168 | 160 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 160 | block.get_by_position(result).type)); | 170 | 160 | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeDateENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeDateV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 36 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 36 | return Status::RuntimeError( | 167 | 36 | "not support {} ", | 168 | 36 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 36 | block.get_by_position(result).type)); | 170 | 36 | } |
_ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_18DataTypeDateTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 7.77k | const NullMap::value_type* null_map = nullptr) const override { | 166 | 7.77k | return Status::RuntimeError( | 167 | 7.77k | "not support {} ", | 168 | 7.77k | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 7.77k | block.get_by_position(result).type)); | 170 | 7.77k | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_16DataTypeDateTimeENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeTimeV2ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Line | Count | Source | 165 | 160 | const NullMap::value_type* null_map = nullptr) const override { | 166 | 160 | return Status::RuntimeError( | 167 | 160 | "not support {} ", | 168 | 160 | cast_mode_type_to_string(CastMode, block.get_by_position(arguments[0]).type, | 169 | 160 | block.get_by_position(result).type)); | 170 | 160 | } |
Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_19DataTypeTimeStampTzENS_12DataTypeDateEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_19DataTypeTimeStampTzENS_12DataTypeDateEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_19DataTypeTimeStampTzENS_16DataTypeDateTimeEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_19DataTypeTimeStampTzENS_16DataTypeDateTimeEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_19DataTypeTimeStampTzENS_14DataTypeDateV2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_19DataTypeTimeStampTzENS_14DataTypeDateV2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_19DataTypeTimeStampTzENS_14DataTypeTimeV2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_19DataTypeTimeStampTzENS_14DataTypeTimeV2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv4ES2_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv4ES2_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv6ENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv6ENS_12DataTypeIPv4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE2EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE3EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE4EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE5EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE6EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE7EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE8EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_14DataTypeNumberILNS_13PrimitiveTypeE9EEENS_12DataTypeIPv6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_12DataTypeIPv6ES2_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_12DataTypeIPv6ES2_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE28EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE28EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE29EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE29EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE20EEES4_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE20EEES4_E12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE30EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE30EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE0ENS_15DataTypeDecimalILNS_13PrimitiveTypeE35EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh Unexecuted instantiation: _ZNK5doris10CastToImplILNS_12CastModeTypeE1ENS_15DataTypeDecimalILNS_13PrimitiveTypeE35EEENS2_ILS3_20EEEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmPKh |
171 | | }; |
172 | | |
173 | | #ifdef BE_TEST |
174 | | inline CastWrapper::WrapperType get_cast_wrapper(FunctionContext* context, |
175 | | const DataTypePtr& from_type, |
176 | | const DataTypePtr& to_type) { |
177 | | return CastWrapper::prepare_unpack_dictionaries(context, from_type, to_type); |
178 | | } |
179 | | #endif |
180 | | } // namespace doris |