OmniSciDB
c1a53651b2
|
#include "../../QueryEngine/TableFunctions/SystemFunctions/os/Shared/TableFunctionsCommon.hpp"
#include "../../QueryEngine/heavydbTypes.h"
#include <algorithm>
#include <iostream>
#include <string>
Go to the source code of this file.
Classes | |
struct | SortAsc< T > |
struct | SortDesc< T > |
Macros | |
#define | CPU_DEVICE_CODE 0x637075; |
#define | GPU_DEVICE_CODE 0x677075; |
Enumerations | |
enum | TFAggType { MIN, MAX } |
Functions | |
EXTENSION_NOINLINE int32_t | ct_device_selection_udtf_any (const Column< int32_t > &input, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_device_selection_udtf_cpu__cpu_ (const Column< int32_t > &input, Column< int64_t > &out) |
EXTENSION_NOINLINE int32_t | ct_device_selection_udtf_gpu__gpu_ (const Column< int32_t > &input, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_device_selection_udtf_both__cpu_ (const Column< int32_t > &input, Column< int64_t > &out) |
EXTENSION_NOINLINE int32_t | ct_device_selection_udtf_both__gpu_ (const Column< int32_t > &input, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_1 (const Column< int32_t > &input1, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_2 (const Column< int32_t > &input1, const Column< int32_t > &input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_3 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_4 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_5 (const Column< int64_t > &input1, const Column< int64_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_6 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int64_t > &input3, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_7 (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_8 (const ColumnList< int32_t > &input1, const Column< int64_t > &input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_9 (const ColumnList< int32_t > &input1, const ColumnList< int64_t > &input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf_constant__cpu_10 (const Column< int64_t > &input1, const ColumnList< int64_t > &input2, const Column< int64_t > &input3, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_11 (const Column< int32_t > &input1, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_12 (const Column< int32_t > &input1, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_13 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_14 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_15 (const Column< int64_t > &input1, const Column< int64_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_16 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int64_t > &input3, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_17 (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_18 (const ColumnList< int32_t > &input1, const Column< int64_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_19 (const ColumnList< int32_t > &input1, const ColumnList< int64_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf__cpu_20 (const Column< int64_t > &input1, const ColumnList< int64_t > &input2, const Column< int64_t > &input3, const int32_t multiplier, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf2__cpu_21 (const int32_t multiplier, const Column< int32_t > &input1, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf6__cpu_22 (const Column< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf4__cpu_23 (const ColumnList< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf5__cpu_24 (const ColumnList< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_udtf3__cpu_25 (const Column< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer1a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer1b__cpu_2 (const Column< int32_t > &input1, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer1c__cpu_3 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, const Column< int32_t > &input4, const int32_t x, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer1d__cpu_4 (const int32_t multiplier, const int32_t x, const Column< int32_t > &input1, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer2a__cpu_1 (const Column< int32_t > &input1, const int32_t x, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer2b__cpu_2 (const Column< int32_t > &input1, const int32_t multiplier, const Column< int32_t > &input2, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer2c__cpu_3 (const int32_t x, const int32_t multiplier, const Column< int32_t > &input1, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer3a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, const int32_t x, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer3b__cpu_2 (const Column< int32_t > &input1, const int32_t x, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer4a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, const Column< int32_t > &input2, const int32_t x, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_udtf_default_sizer4b__cpu_2 (const int32_t multiplier, const Column< int32_t > &input, const int32_t x, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded1__cpu_1 (const Column< TextEncodingDict > &input, const int32_t multiplier, Column< TextEncodingDict > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded2__cpu_1 (const Column< TextEncodingDict > &input1, const Column< TextEncodingDict > &input2, Column< TextEncodingDict > &out1, Column< TextEncodingDict > &out2) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded3__cpu_1 (const Column< TextEncodingDict > &input1, const Column< TextEncodingDict > &input2, Column< TextEncodingDict > &out1, Column< TextEncodingDict > &out2) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded4__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded5__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_dict_encoded6__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out0, Column< TextEncodingDict > &out1) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_binding_template__cpu_template (const Column< T > &input, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_binding_columnlist__cpu_template (const Column< T > &input1, const ColumnList< T > &input2, Column< int32_t > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_binding_column__cpu_template (const Column< T > &input, Column< int32_t > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_binding_scalar_multiply__cpu_template (const Column< T > &input, const T multiplier, Column< T > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_str_length__cpu_ (const Column< TextEncodingDict > &input_str, Column< TextEncodingDict > &out_str, Column< int64_t > &out_size) |
EXTENSION_NOINLINE_HOST int32_t | ct_binding_str_equals__cpu_ (const ColumnList< TextEncodingDict > &input_strings, Column< TextEncodingDict > &string_if_equal, Column< bool > &strings_are_equal) |
EXTENSION_NOINLINE_HOST int32_t | ct_substr__cpu_ (TableFunctionManager &mgr, const Column< TextEncodingDict > &input_str, const Column< int > &pos, const Column< int > &len, Column< TextEncodingDict > &output_substr) |
EXTENSION_NOINLINE_HOST int32_t | ct_string_concat__cpu_ (TableFunctionManager &mgr, const ColumnList< TextEncodingDict > &input_strings, const TextEncodingNone &separator, Column< TextEncodingDict > &concatted_string) |
EXTENSION_NOINLINE_HOST int32_t | ct_synthesize_new_dict__cpu_ (TableFunctionManager &mgr, const int64_t num_strings, Column< TextEncodingDict > &new_dict_col) |
template<typename T > | |
NEVER_INLINE HOST int32_t | sort_column_limit__cpu_template (const Column< T > &input, const int32_t limit, const bool sort_ascending, const bool nulls_last, Column< T > &output) |
template<typename T , typename U , typename K > | |
NEVER_INLINE HOST int32_t | ct_binding_column2__cpu_template (const Column< T > &input1, const Column< U > &input2, Column< K > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_named_output__cpu_template (const Column< T > &input, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_named_const_output__cpu_template (const Column< T > &input, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_named_user_const_output__cpu_template (const Column< T > &input, int32_t c, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_named_rowmul_output__cpu_template (const Column< T > &input, int32_t m, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_no_arg_runtime_sizing__cpu_template (Column< T > &answer) |
EXTENSION_NOINLINE int32_t | ct_no_arg_constant_sizing (Column< int32_t > &answer) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_scalar_1_arg_runtime_sizing__cpu_template (const T num, Column< T > &answer) |
EXTENSION_NOINLINE int32_t | ct_scalar_2_args_constant_sizing (const int64_t num1, const int64_t num2, Column< int64_t > &answer1, Column< int64_t > &answer2) |
EXTENSION_NOINLINE_HOST int32_t | ct_no_cursor_user_constant_sizer__cpu_ (const int32_t input_num, int32_t c, Column< int32_t > &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_templated_no_cursor_user_constant_sizer__cpu_template (const T input_num, int32_t c, Column< T > &output) |
template<typename T > | |
T | safe_addition (T x, T y) |
template<typename T > | |
NEVER_INLINE HOST int32_t | column_list_safe_row_sum__cpu_template (const ColumnList< T > &input, Column< T > &out) |
EXTENSION_NOINLINE int32_t | ct_gpu_default_init__gpu_ (Column< int32_t > &output_buffer) |
EXTENSION_NOINLINE int32_t | ct_hamming_distance (const TextEncodingNone &str1, const TextEncodingNone &str2, Column< int32_t > &hamming_distance) |
template<typename T > | |
TEMPLATE_NOINLINE int32_t | ct_get_string_chars__template (const Column< T > &indices, const TextEncodingNone &str, const int32_t multiplier, Column< int32_t > &idx, Column< int8_t > &char_bytes) |
EXTENSION_NOINLINE_HOST int32_t | ct_string_to_chars__cpu_ (const TextEncodingNone &input, Column< int32_t > &char_idx, Column< int8_t > &char_bytes) |
EXTENSION_NOINLINE int32_t | ct_sleep_worker (int32_t seconds, Column< int32_t > &output) |
EXTENSION_NOINLINE_HOST int32_t | ct_sleep1__cpu_ (int32_t seconds, int32_t mode, Column< int32_t > &output) |
EXTENSION_NOINLINE_HOST int32_t | ct_sleep2 (TableFunctionManager &mgr, int32_t seconds, int32_t mode, Column< int32_t > &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_throw_if_gt_100__cpu_template (TableFunctionManager &mgr, const Column< T > &input, Column< T > &output) |
EXTENSION_NOINLINE_HOST int32_t | ct_copy_and_add_size (TableFunctionManager &mgr, const Column< int32_t > &input, Column< int32_t > &output) |
EXTENSION_NOINLINE_HOST int32_t | ct_add_size_and_mul_alpha (TableFunctionManager &mgr, const Column< int32_t > &input1, const Column< int32_t > &input2, int32_t alpha, Column< int32_t > &output1, Column< int32_t > &output2) |
EXTENSION_NOINLINE_HOST int32_t | ct_sparse_add (TableFunctionManager &mgr, const Column< int32_t > &x1, const Column< int32_t > &d1, int32_t f1, const Column< int32_t > &x2, const Column< int32_t > &d2, int32_t f2, Column< int32_t > &x, Column< int32_t > &d) |
template<typename T > | |
TEMPLATE_INLINE T | get_min_or_max (const Column< T > &col, const TFAggType min_or_max) |
template<typename T > | |
TEMPLATE_INLINE T | get_min_or_max_union (const Column< T > &col1, const Column< T > &col2, const TFAggType min_or_max) |
template<typename K , typename T , typename Z > | |
NEVER_INLINE HOST int32_t | ct_pushdown_stats__cpu_template (TableFunctionManager &mgr, const TextEncodingNone &agg_type, const Column< K > &input_id, const Column< T > &input_x, const Column< T > &input_y, const Column< Z > &input_z, Column< int32_t > &output_row_count, Column< K > &output_id, Column< T > &output_x, Column< T > &output_y, Column< Z > &output_z) |
template<typename K , typename T , typename Z > | |
NEVER_INLINE HOST int32_t | ct_pushdown_projection__cpu_template (TableFunctionManager &mgr, const Column< K > &input_id, const Column< T > &input_x, const Column< T > &input_y, const Column< Z > &input_z, Column< K > &output_id, Column< T > &output_x, Column< T > &output_y, Column< Z > &output_z) |
template<typename K , typename T , typename Z > | |
NEVER_INLINE HOST int32_t | ct_union_pushdown_stats__cpu_template (TableFunctionManager &mgr, const TextEncodingNone &agg_type, const Column< K > &input1_id, const Column< T > &input1_x, const Column< T > &input1_y, const Column< Z > &input1_z, const Column< K > &input2_id, const Column< T > &input2_x, const Column< T > &input2_y, const Column< Z > &input2_z, const Column< T > &input2_w, Column< int32_t > &output_row_count, Column< K > &output_id, Column< T > &output_x, Column< T > &output_y, Column< Z > &output_z, Column< T > &output_w) |
template<typename K , typename T , typename Z > | |
NEVER_INLINE HOST int32_t | ct_union_pushdown_projection__cpu_template (TableFunctionManager &mgr, const Column< K > &input1_id, const Column< T > &input1_x, const Column< T > &input1_y, const Column< Z > &input1_z, const Column< K > &input2_id, const Column< T > &input2_x, const Column< T > &input2_y, const Column< Z > &input2_z, const Column< T > &input2_w, Column< K > &output_id, Column< T > &output_x, Column< T > &output_y, Column< Z > &output_z, Column< T > &output_w) |
EXTENSION_NOINLINE_HOST int32_t | ct_require__cpu_ (const Column< int32_t > &input1, const int32_t i, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_str__cpu_ (const Column< int32_t > &input1, const TextEncodingNone &s, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_mgr (TableFunctionManager &mgr, const Column< int32_t > &input1, const int32_t i, Column< int32_t > &out) |
template<typename T , typename K > | |
NEVER_INLINE HOST int32_t | ct_require_templating__cpu_template (const Column< T > &input1, const int32_t i, Column< K > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_and__cpu_ (const Column< int32_t > &input1, const int32_t i, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_or_str__cpu_ (const Column< int32_t > &input1, const TextEncodingNone &i, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_str_diff__cpu_ (const Column< int32_t > &input1, const TextEncodingNone &i, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_require_text_enc_dict__cpu_ (const Column< TextEncodingDict > &input, const int64_t x, Column< int64_t > &out) |
EXTENSION_NOINLINE int32_t | ct_test_nullable (const Column< int32_t > &input, const int32_t i, Column< int32_t > &out) |
EXTENSION_NOINLINE int32_t | ct_test_preflight_sizer (const Column< int32_t > &input, const int32_t i, const int32_t j, Column< int32_t > &out) |
EXTENSION_NOINLINE int32_t | ct_test_preflight_sizer_const (const Column< int32_t > &input, Column< int32_t > &out) |
EXTENSION_NOINLINE int32_t | ct_test_preflight_singlecursor_qe227__cpu_ (TableFunctionManager &mgr, const Column< int32_t > &col, const ColumnList< int32_t > &lst, const int x, const int y, Column< int32_t > &out) |
EXTENSION_NOINLINE int32_t | ct_test_preflight_multicursor_qe227__cpu_ (TableFunctionManager &mgr, const Column< int32_t > &col, const ColumnList< int32_t > &lst, const int x, const int y, Column< int32_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_scalar_named_args__cpu_ (TableFunctionManager &mgr, const int32_t arg1, const int32_t arg2, Column< int32_t > &out1, Column< int32_t > &out2) |
EXTENSION_NOINLINE_HOST int32_t | ct_cursor_named_args__cpu_ (TableFunctionManager &mgr, const Column< int32_t > &input_arg1, const Column< int32_t > &input_arg2, const int32_t arg1, const int32_t arg2, Column< int32_t > &out1, Column< int32_t > &out2) |
EXTENSION_NOINLINE_HOST int32_t | ct_timestamp_extract (TableFunctionManager &mgr, const Column< Timestamp > &input, Column< int64_t > &ns, Column< int64_t > &us, Column< int64_t > &ms, Column< int64_t > &s, Column< int64_t > &m, Column< int64_t > &h, Column< int64_t > &d, Column< int64_t > &mo, Column< int64_t > &y) |
EXTENSION_NOINLINE_HOST int32_t | ct_timestamp_add_offset (TableFunctionManager &mgr, const Column< Timestamp > &input, const Timestamp offset, Column< Timestamp > &out) |
EXTENSION_NOINLINE int32_t | ct_timestamp_test_columns_and_scalars__cpu (const Column< Timestamp > &input, const int64_t dummy, const int32_t multiplier, const Column< Timestamp > &input2, Column< Timestamp > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_timestamp_column_list_input (TableFunctionManager &mgr, const ColumnList< int64_t > &input, const Column< Timestamp > &input2, Column< int64_t > &out) |
EXTENSION_NOINLINE_HOST int32_t | ct_timestamp_truncate (TableFunctionManager &mgr, const Column< Timestamp > &input, Column< Timestamp > &y, Column< Timestamp > &mo, Column< Timestamp > &d, Column< Timestamp > &h, Column< Timestamp > &m, Column< Timestamp > &s, Column< Timestamp > &ms, Column< Timestamp > &us) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_timestamp_add_interval__template (TableFunctionManager &mgr, const Column< Timestamp > &input, const T inter, Column< Timestamp > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | sum_along_row__cpu_template (const Column< Array< T >> &input, Column< T > &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | array_copier__cpu_template (TableFunctionManager &mgr, const Column< Array< T >> &input, Column< Array< T >> &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | array_concat__cpu_template (TableFunctionManager &mgr, const ColumnList< Array< T >> &inputs, Column< Array< T >> &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | array_asarray__cpu_template (TableFunctionManager &mgr, const Column< T > &input, Column< Array< T >> &output) |
template<typename T > | |
NEVER_INLINE HOST int32_t | array_split__cpu_template (TableFunctionManager &mgr, const Column< Array< T >> &input, Column< Array< T >> &first, Column< Array< T >> &second) |
NEVER_INLINE HOST int32_t | tf_metadata_setter__cpu_template (TableFunctionManager &mgr, Column< bool > &success) |
NEVER_INLINE HOST int32_t | tf_metadata_setter_repeated__cpu_template (TableFunctionManager &mgr, Column< bool > &success) |
NEVER_INLINE HOST int32_t | tf_metadata_setter_size_mismatch__cpu_template (TableFunctionManager &mgr, Column< bool > &success) |
NEVER_INLINE HOST int32_t | tf_metadata_getter__cpu_template (TableFunctionManager &mgr, const Column< bool > &input, Column< bool > &success) |
NEVER_INLINE HOST int32_t | tf_metadata_getter_bad__cpu_template (TableFunctionManager &mgr, const Column< bool > &input, Column< bool > &success) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_overload_scalar_test__cpu_template (const T scalar, Column< T > &out) |
template<typename T > | |
NEVER_INLINE HOST int32_t | ct_overload_column_test__cpu_template (const Column< T > &input, Column< T > &out) |
template<typename T , typename K > | |
NEVER_INLINE HOST int32_t | ct_overload_column_list_test__cpu_template (const Column< K > &first_col, const ColumnList< T > &col_list, const Column< K > &last_col, Column< K > &out) |
template<typename T , typename K > | |
NEVER_INLINE HOST int32_t | ct_overload_column_list_test2__cpu_template (const Column< K > &first_col, const ColumnList< K > &col_list1, const ColumnList< T > &col_list2, const Column< T > &last_col, Column< K > &out) |
EXTENSION_NOINLINE int32_t | ct_require_range__cpu_ (const Column< int32_t > &input1, const int32_t x, const int32_t multiplier, Column< int32_t > &out) |
#define CPU_DEVICE_CODE 0x637075; |
Definition at line 27 of file TableFunctionsTesting.hpp.
Referenced by ct_device_selection_udtf_any(), ct_device_selection_udtf_both__cpu_(), and ct_device_selection_udtf_cpu__cpu_().
#define GPU_DEVICE_CODE 0x677075; |
Definition at line 28 of file TableFunctionsTesting.hpp.
Referenced by ct_device_selection_udtf_any(), ct_device_selection_udtf_both__gpu_(), and ct_device_selection_udtf_gpu__gpu_().
enum TFAggType |
Enumerator | |
---|---|
MIN | |
MAX |
Definition at line 1474 of file TableFunctionsTesting.hpp.
NEVER_INLINE HOST int32_t array_asarray__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< T > & | input, | ||
Column< Array< T >> & | output | ||
) |
Definition at line 2189 of file TableFunctionsTesting.hpp.
References TableFunctionManager::getNewDictDbId(), TableFunctionManager::getNewDictId(), TableFunctionManager::getOrAddTransient(), TableFunctionManager::getString(), Column< T >::isNull(), TableFunctionManager::set_output_array_values_total_number(), TableFunctionManager::set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
NEVER_INLINE HOST int32_t array_concat__cpu_template | ( | TableFunctionManager & | mgr, |
const ColumnList< Array< T >> & | inputs, | ||
Column< Array< T >> & | output | ||
) |
Definition at line 2143 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_array_values_total_number(), and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t array_copier__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< Array< T >> & | input, | ||
Column< Array< T >> & | output | ||
) |
Definition at line 2107 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_array_values_total_number(), TableFunctionManager::set_output_row_size(), and Column< T >::setNull().
NEVER_INLINE HOST int32_t array_split__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< Array< T >> & | input, | ||
Column< Array< T >> & | first, | ||
Column< Array< T >> & | second | ||
) |
Definition at line 2235 of file TableFunctionsTesting.hpp.
References Array< T >::getSize(), TableFunctionManager::set_output_array_values_total_number(), and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t column_list_safe_row_sum__cpu_template | ( | const ColumnList< T > & | input, |
Column< T > & | out | ||
) |
Definition at line 1119 of file TableFunctionsTesting.hpp.
References ColumnList< T >::numCols(), safe_addition(), set_output_row_size(), heavydb.dtypes::T, and TABLE_FUNCTION_ERROR.
EXTENSION_NOINLINE_HOST int32_t ct_add_size_and_mul_alpha | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | input1, | ||
const Column< int32_t > & | input2, | ||
int32_t | alpha, | ||
Column< int32_t > & | output1, | ||
Column< int32_t > & | output2 | ||
) |
Definition at line 1403 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_binding_column2__cpu_template | ( | const Column< T > & | input1, |
const Column< U > & | input2, | ||
Column< K > & | out | ||
) |
Definition at line 828 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_binding_column__cpu_template | ( | const Column< T > & | input, |
Column< int32_t > & | out | ||
) |
Definition at line 581 of file TableFunctionsTesting.hpp.
References set_output_row_size().
NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template | ( | const Column< T > & | input1, |
const ColumnList< T > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 553 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded1__cpu_1 | ( | const Column< TextEncodingDict > & | input, |
const int32_t | multiplier, | ||
Column< TextEncodingDict > & | out | ||
) |
Definition at line 447 of file TableFunctionsTesting.hpp.
References Column< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded2__cpu_1 | ( | const Column< TextEncodingDict > & | input1, |
const Column< TextEncodingDict > & | input2, | ||
Column< TextEncodingDict > & | out1, | ||
Column< TextEncodingDict > & | out2 | ||
) |
Definition at line 457 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and Column< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded3__cpu_1 | ( | const Column< TextEncodingDict > & | input1, |
const Column< TextEncodingDict > & | input2, | ||
Column< TextEncodingDict > & | out1, | ||
Column< TextEncodingDict > & | out2 | ||
) |
Definition at line 470 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and Column< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded4__cpu_1 | ( | const ColumnList< TextEncodingDict > & | input, |
Column< TextEncodingDict > & | out | ||
) |
Definition at line 483 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and ColumnList< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded5__cpu_1 | ( | const ColumnList< TextEncodingDict > & | input, |
Column< TextEncodingDict > & | out | ||
) |
Definition at line 494 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and ColumnList< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded6__cpu_1 | ( | const ColumnList< TextEncodingDict > & | input, |
Column< TextEncodingDict > & | out0, | ||
Column< TextEncodingDict > & | out1 | ||
) |
Definition at line 505 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and ColumnList< TextEncodingDict >::size().
NEVER_INLINE HOST int32_t ct_binding_scalar_multiply__cpu_template | ( | const Column< T > & | input, |
const T | multiplier, | ||
Column< T > & | out | ||
) |
Definition at line 606 of file TableFunctionsTesting.hpp.
References Column< T >::isNull(), set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_str_equals__cpu_ | ( | const ColumnList< TextEncodingDict > & | input_strings, |
Column< TextEncodingDict > & | string_if_equal, | ||
Column< bool > & | strings_are_equal | ||
) |
Definition at line 646 of file TableFunctionsTesting.hpp.
References ColumnList< TextEncodingDict >::numCols(), set_output_row_size(), Column< TextEncodingDict >::setNull(), and ColumnList< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_str_length__cpu_ | ( | const Column< TextEncodingDict > & | input_str, |
Column< TextEncodingDict > & | out_str, | ||
Column< int64_t > & | out_size | ||
) |
Definition at line 627 of file TableFunctionsTesting.hpp.
References Column< TextEncodingDict >::getString(), set_output_row_size(), Column< T >::size(), and Column< TextEncodingDict >::size().
NEVER_INLINE HOST int32_t ct_binding_template__cpu_template | ( | const Column< T > & | input, |
Column< T > & | out | ||
) |
Definition at line 530 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf2__cpu_21 | ( | const int32_t | multiplier, |
const Column< int32_t > & | input1, | ||
Column< int32_t > & | out | ||
) |
Definition at line 277 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf3__cpu_25 | ( | const Column< int32_t > & | input1, |
const int32_t | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 306 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf4__cpu_23 | ( | const ColumnList< int32_t > & | input1, |
const int32_t | multiplier, | ||
const int32_t | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 291 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf5__cpu_24 | ( | const ColumnList< int32_t > & | input1, |
const int32_t | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 299 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf6__cpu_22 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
const int32_t | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 283 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_11 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 202 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_12 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 208 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_13 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 215 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_14 | ( | const Column< int64_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 223 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_15 | ( | const Column< int64_t > & | input1, |
const Column< int64_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 231 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_16 | ( | const Column< int64_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int64_t > & | input3, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 239 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_17 | ( | const Column< int32_t > & | input1, |
const ColumnList< int32_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 247 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_18 | ( | const ColumnList< int32_t > & | input1, |
const Column< int64_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 254 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_19 | ( | const ColumnList< int32_t > & | input1, |
const ColumnList< int64_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 261 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_20 | ( | const Column< int64_t > & | input1, |
const ColumnList< int64_t > & | input2, | ||
const Column< int64_t > & | input3, | ||
const int32_t | multiplier, | ||
Column< int64_t > & | out | ||
) |
Definition at line 268 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_1 | ( | const Column< int32_t > & | input1, |
Column< int32_t > & | out | ||
) |
Definition at line 129 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_10 | ( | const Column< int64_t > & | input1, |
const ColumnList< int64_t > & | input2, | ||
const Column< int64_t > & | input3, | ||
Column< int64_t > & | out | ||
) |
Definition at line 194 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_2 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 134 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_3 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
Column< int32_t > & | out | ||
) |
Definition at line 141 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_4 | ( | const Column< int64_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
Column< int32_t > & | out | ||
) |
Definition at line 149 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_5 | ( | const Column< int64_t > & | input1, |
const Column< int64_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
Column< int32_t > & | out | ||
) |
Definition at line 157 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_6 | ( | const Column< int64_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int64_t > & | input3, | ||
Column< int32_t > & | out | ||
) |
Definition at line 165 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_7 | ( | const Column< int32_t > & | input1, |
const ColumnList< int32_t > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 173 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_8 | ( | const ColumnList< int32_t > & | input1, |
const Column< int64_t > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 180 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_9 | ( | const ColumnList< int32_t > & | input1, |
const ColumnList< int64_t > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 187 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_copy_and_add_size | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | input, | ||
Column< int32_t > & | output | ||
) |
Definition at line 1393 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_cursor_named_args__cpu_ | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | input_arg1, | ||
const Column< int32_t > & | input_arg2, | ||
const int32_t | arg1, | ||
const int32_t | arg2, | ||
Column< int32_t > & | out1, | ||
Column< int32_t > & | out2 | ||
) |
Definition at line 1898 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_any | ( | const Column< int32_t > & | input, |
Column< int64_t > & | out | ||
) |
Definition at line 41 of file TableFunctionsTesting.hpp.
References CPU_DEVICE_CODE, and GPU_DEVICE_CODE.
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_both__cpu_ | ( | const Column< int32_t > & | input, |
Column< int64_t > & | out | ||
) |
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_both__gpu_ | ( | const Column< int32_t > & | input, |
Column< int64_t > & | out | ||
) |
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_cpu__cpu_ | ( | const Column< int32_t > & | input, |
Column< int64_t > & | out | ||
) |
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_gpu__gpu_ | ( | const Column< int32_t > & | input, |
Column< int64_t > & | out | ||
) |
TEMPLATE_NOINLINE int32_t ct_get_string_chars__template | ( | const Column< T > & | indices, |
const TextEncodingNone & | str, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | idx, | ||
Column< int8_t > & | char_bytes | ||
) |
Definition at line 1190 of file TableFunctionsTesting.hpp.
References TextEncodingNone::size(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_gpu_default_init__gpu_ | ( | Column< int32_t > & | output_buffer | ) |
Definition at line 1147 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE int32_t ct_hamming_distance | ( | const TextEncodingNone & | str1, |
const TextEncodingNone & | str2, | ||
Column< int32_t > & | hamming_distance | ||
) |
Definition at line 1158 of file TableFunctionsTesting.hpp.
References Column< T >::ptr_, and TextEncodingNone::size().
NEVER_INLINE HOST int32_t ct_named_const_output__cpu_template | ( | const Column< T > & | input, |
Column< T > & | out | ||
) |
Definition at line 881 of file TableFunctionsTesting.hpp.
References Column< T >::size(), and heavydb.dtypes::T.
NEVER_INLINE HOST int32_t ct_named_output__cpu_template | ( | const Column< T > & | input, |
Column< T > & | out | ||
) |
Definition at line 869 of file TableFunctionsTesting.hpp.
References set_output_row_size(), Column< T >::size(), and heavydb.dtypes::T.
NEVER_INLINE HOST int32_t ct_named_rowmul_output__cpu_template | ( | const Column< T > & | input, |
int32_t | m, | ||
Column< T > & | out | ||
) |
Definition at line 910 of file TableFunctionsTesting.hpp.
References Column< T >::size().
NEVER_INLINE HOST int32_t ct_named_user_const_output__cpu_template | ( | const Column< T > & | input, |
int32_t | c, | ||
Column< T > & | out | ||
) |
Definition at line 897 of file TableFunctionsTesting.hpp.
References Column< T >::size().
EXTENSION_NOINLINE int32_t ct_no_arg_constant_sizing | ( | Column< int32_t > & | answer | ) |
Definition at line 946 of file TableFunctionsTesting.hpp.
NEVER_INLINE HOST int32_t ct_no_arg_runtime_sizing__cpu_template | ( | Column< T > & | answer | ) |
Definition at line 932 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_no_cursor_user_constant_sizer__cpu_ | ( | const int32_t | input_num, |
int32_t | c, | ||
Column< int32_t > & | output | ||
) |
Definition at line 1020 of file TableFunctionsTesting.hpp.
NEVER_INLINE HOST int32_t ct_overload_column_list_test2__cpu_template | ( | const Column< K > & | first_col, |
const ColumnList< K > & | col_list1, | ||
const ColumnList< T > & | col_list2, | ||
const Column< T > & | last_col, | ||
Column< K > & | out | ||
) |
Definition at line 2468 of file TableFunctionsTesting.hpp.
References ColumnList< T >::numCols(), set_output_row_size(), Column< T >::size(), and heavydb.dtypes::T.
NEVER_INLINE HOST int32_t ct_overload_column_list_test__cpu_template | ( | const Column< K > & | first_col, |
const ColumnList< T > & | col_list, | ||
const Column< K > & | last_col, | ||
Column< K > & | out | ||
) |
Definition at line 2443 of file TableFunctionsTesting.hpp.
References ColumnList< T >::numCols(), set_output_row_size(), Column< T >::size(), and heavydb.dtypes::T.
NEVER_INLINE HOST int32_t ct_overload_column_test__cpu_template | ( | const Column< T > & | input, |
Column< T > & | out | ||
) |
Definition at line 2425 of file TableFunctionsTesting.hpp.
References Column< T >::isNull(), set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_overload_scalar_test__cpu_template | ( | const T | scalar, |
Column< T > & | out | ||
) |
Definition at line 2411 of file TableFunctionsTesting.hpp.
References set_output_row_size().
NEVER_INLINE HOST int32_t ct_pushdown_projection__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< K > & | input_id, | ||
const Column< T > & | input_x, | ||
const Column< T > & | input_y, | ||
const Column< Z > & | input_z, | ||
Column< K > & | output_id, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< Z > & | output_z | ||
) |
Definition at line 1542 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_pushdown_stats__cpu_template | ( | TableFunctionManager & | mgr, |
const TextEncodingNone & | agg_type, | ||
const Column< K > & | input_id, | ||
const Column< T > & | input_x, | ||
const Column< T > & | input_y, | ||
const Column< Z > & | input_z, | ||
Column< int32_t > & | output_row_count, | ||
Column< K > & | output_id, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< Z > & | output_z | ||
) |
Definition at line 1509 of file TableFunctionsTesting.hpp.
References get_min_or_max(), TextEncodingNone::getString(), MAX, MIN, TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_require__cpu_ | ( | const Column< int32_t > & | input1, |
const int32_t | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1673 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_require_and__cpu_ | ( | const Column< int32_t > & | input1, |
const int32_t | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1711 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_require_mgr | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | input1, | ||
const int32_t | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1689 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_require_or_str__cpu_ | ( | const Column< int32_t > & | input1, |
const TextEncodingNone & | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1719 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE int32_t ct_require_range__cpu_ | ( | const Column< int32_t > & | input1, |
const int32_t | x, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 2508 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_require_str__cpu_ | ( | const Column< int32_t > & | input1, |
const TextEncodingNone & | s, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1681 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_require_str_diff__cpu_ | ( | const Column< int32_t > & | input1, |
const TextEncodingNone & | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1727 of file TableFunctionsTesting.hpp.
References set_output_row_size().
NEVER_INLINE HOST int32_t ct_require_templating__cpu_template | ( | const Column< T > & | input1, |
const int32_t | i, | ||
Column< K > & | out | ||
) |
Definition at line 1699 of file TableFunctionsTesting.hpp.
References set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_require_text_enc_dict__cpu_ | ( | const Column< TextEncodingDict > & | input, |
const int64_t | x, | ||
Column< int64_t > & | out | ||
) |
Definition at line 1736 of file TableFunctionsTesting.hpp.
References set_output_row_size().
NEVER_INLINE HOST int32_t ct_scalar_1_arg_runtime_sizing__cpu_template | ( | const T | num, |
Column< T > & | answer | ||
) |
Definition at line 972 of file TableFunctionsTesting.hpp.
References set_output_row_size(), and heavydb.dtypes::T.
EXTENSION_NOINLINE int32_t ct_scalar_2_args_constant_sizing | ( | const int64_t | num1, |
const int64_t | num2, | ||
Column< int64_t > & | answer1, | ||
Column< int64_t > & | answer2 | ||
) |
Definition at line 991 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_scalar_named_args__cpu_ | ( | TableFunctionManager & | mgr, |
const int32_t | arg1, | ||
const int32_t | arg2, | ||
Column< int32_t > & | out1, | ||
Column< int32_t > & | out2 | ||
) |
Definition at line 1882 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_sleep1__cpu_ | ( | int32_t | seconds, |
int32_t | mode, | ||
Column< int32_t > & | output | ||
) |
Definition at line 1293 of file TableFunctionsTesting.hpp.
References ct_sleep_worker(), TableFunctionManager::get_singleton(), set_output_row_size(), Column< T >::size(), and TABLE_FUNCTION_ERROR.
EXTENSION_NOINLINE_HOST int32_t ct_sleep2 | ( | TableFunctionManager & | mgr, |
int32_t | seconds, | ||
int32_t | mode, | ||
Column< int32_t > & | output | ||
) |
Definition at line 1319 of file TableFunctionsTesting.hpp.
References ct_sleep_worker(), TableFunctionManager::get_singleton(), TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_sleep_worker | ( | int32_t | seconds, |
Column< int32_t > & | output | ||
) |
Definition at line 1275 of file TableFunctionsTesting.hpp.
Referenced by ct_sleep1__cpu_(), and ct_sleep2().
EXTENSION_NOINLINE_HOST int32_t ct_sparse_add | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | x1, | ||
const Column< int32_t > & | d1, | ||
int32_t | f1, | ||
const Column< int32_t > & | x2, | ||
const Column< int32_t > & | d2, | ||
int32_t | f2, | ||
Column< int32_t > & | x, | ||
Column< int32_t > & | d | ||
) |
Definition at line 1425 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_string_concat__cpu_ | ( | TableFunctionManager & | mgr, |
const ColumnList< TextEncodingDict > & | input_strings, | ||
const TextEncodingNone & | separator, | ||
Column< TextEncodingDict > & | concatted_string | ||
) |
Definition at line 702 of file TableFunctionsTesting.hpp.
References Column< TextEncodingDict >::getOrAddTransient(), TextEncodingNone::getString(), ColumnList< TextEncodingDict >::numCols(), TableFunctionManager::set_output_row_size(), Column< TextEncodingDict >::setNull(), and ColumnList< TextEncodingDict >::size().
EXTENSION_NOINLINE_HOST int32_t ct_string_to_chars__cpu_ | ( | const TextEncodingNone & | input, |
Column< int32_t > & | char_idx, | ||
Column< int8_t > & | char_bytes | ||
) |
Definition at line 1230 of file TableFunctionsTesting.hpp.
References TextEncodingNone::getString(), and set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_substr__cpu_ | ( | TableFunctionManager & | mgr, |
const Column< TextEncodingDict > & | input_str, | ||
const Column< int > & | pos, | ||
const Column< int > & | len, | ||
Column< TextEncodingDict > & | output_substr | ||
) |
Definition at line 680 of file TableFunctionsTesting.hpp.
References Column< TextEncodingDict >::getOrAddTransient(), Column< TextEncodingDict >::getString(), TableFunctionManager::set_output_row_size(), Column< TextEncodingDict >::size(), and substring().
EXTENSION_NOINLINE_HOST int32_t ct_synthesize_new_dict__cpu_ | ( | TableFunctionManager & | mgr, |
const int64_t | num_strings, | ||
Column< TextEncodingDict > & | new_dict_col | ||
) |
Definition at line 733 of file TableFunctionsTesting.hpp.
References Column< TextEncodingDict >::getOrAddTransient(), TableFunctionManager::set_output_row_size(), and to_string().
NEVER_INLINE HOST int32_t ct_templated_no_cursor_user_constant_sizer__cpu_template | ( | const T | input_num, |
int32_t | c, | ||
Column< T > & | output | ||
) |
Definition at line 1041 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE int32_t ct_test_nullable | ( | const Column< int32_t > & | input, |
const int32_t | i, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1789 of file TableFunctionsTesting.hpp.
References Column< T >::setNull(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_test_preflight_multicursor_qe227__cpu_ | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | col, | ||
const ColumnList< int32_t > & | lst, | ||
const int | x, | ||
const int | y, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1861 of file TableFunctionsTesting.hpp.
References ColumnList< T >::numCols(), TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_test_preflight_singlecursor_qe227__cpu_ | ( | TableFunctionManager & | mgr, |
const Column< int32_t > & | col, | ||
const ColumnList< int32_t > & | lst, | ||
const int | x, | ||
const int | y, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1837 of file TableFunctionsTesting.hpp.
References ColumnList< T >::numCols(), TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_test_preflight_sizer | ( | const Column< int32_t > & | input, |
const int32_t | i, | ||
const int32_t | j, | ||
Column< int32_t > & | out | ||
) |
Definition at line 1809 of file TableFunctionsTesting.hpp.
References Column< T >::size().
EXTENSION_NOINLINE int32_t ct_test_preflight_sizer_const | ( | const Column< int32_t > & | input, |
Column< int32_t > & | out | ||
) |
Definition at line 1818 of file TableFunctionsTesting.hpp.
References Column< T >::size().
NEVER_INLINE HOST int32_t ct_throw_if_gt_100__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< T > & | input, | ||
Column< T > & | output | ||
) |
Definition at line 1358 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_timestamp_add_interval__template | ( | TableFunctionManager & | mgr, |
const Column< Timestamp > & | input, | ||
const T | inter, | ||
Column< Timestamp > & | out | ||
) |
Definition at line 2040 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_timestamp_add_offset | ( | TableFunctionManager & | mgr, |
const Column< Timestamp > & | input, | ||
const Timestamp | offset, | ||
Column< Timestamp > & | out | ||
) |
Definition at line 1967 of file TableFunctionsTesting.hpp.
References Column< T >::isNull(), TableFunctionManager::set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_timestamp_column_list_input | ( | TableFunctionManager & | mgr, |
const ColumnList< int64_t > & | input, | ||
const Column< Timestamp > & | input2, | ||
Column< int64_t > & | out | ||
) |
Definition at line 2003 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size().
EXTENSION_NOINLINE_HOST int32_t ct_timestamp_extract | ( | TableFunctionManager & | mgr, |
const Column< Timestamp > & | input, | ||
Column< int64_t > & | ns, | ||
Column< int64_t > & | us, | ||
Column< int64_t > & | ms, | ||
Column< int64_t > & | s, | ||
Column< int64_t > & | m, | ||
Column< int64_t > & | h, | ||
Column< int64_t > & | d, | ||
Column< int64_t > & | mo, | ||
Column< int64_t > & | y | ||
) |
Definition at line 1927 of file TableFunctionsTesting.hpp.
References Column< T >::isNull(), TableFunctionManager::set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
EXTENSION_NOINLINE int32_t ct_timestamp_test_columns_and_scalars__cpu | ( | const Column< Timestamp > & | input, |
const int64_t | dummy, | ||
const int32_t | multiplier, | ||
const Column< Timestamp > & | input2, | ||
Column< Timestamp > & | out | ||
) |
Definition at line 1985 of file TableFunctionsTesting.hpp.
References Column< T >::isNull(), Column< T >::setNull(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_timestamp_truncate | ( | TableFunctionManager & | mgr, |
const Column< Timestamp > & | input, | ||
Column< Timestamp > & | y, | ||
Column< Timestamp > & | mo, | ||
Column< Timestamp > & | d, | ||
Column< Timestamp > & | h, | ||
Column< Timestamp > & | m, | ||
Column< Timestamp > & | s, | ||
Column< Timestamp > & | ms, | ||
Column< Timestamp > & | us | ||
) |
Definition at line 2012 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), and Column< T >::size().
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1a__cpu_1 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 339 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1b__cpu_2 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 346 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1c__cpu_3 | ( | const Column< int32_t > & | input1, |
const Column< int32_t > & | input2, | ||
const Column< int32_t > & | input3, | ||
const int32_t | multiplier, | ||
const Column< int32_t > & | input4, | ||
const int32_t | x, | ||
Column< int32_t > & | out | ||
) |
Definition at line 354 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1d__cpu_4 | ( | const int32_t | multiplier, |
const int32_t | x, | ||
const Column< int32_t > & | input1, | ||
Column< int32_t > & | out | ||
) |
Definition at line 365 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2a__cpu_1 | ( | const Column< int32_t > & | input1, |
const int32_t | x, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 373 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2b__cpu_2 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
const Column< int32_t > & | input2, | ||
Column< int32_t > & | out | ||
) |
Definition at line 381 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2c__cpu_3 | ( | const int32_t | x, |
const int32_t | multiplier, | ||
const Column< int32_t > & | input1, | ||
Column< int32_t > & | out | ||
) |
Definition at line 389 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3a__cpu_1 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
const int32_t | x, | ||
Column< int32_t > & | out | ||
) |
Definition at line 397 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3b__cpu_2 | ( | const Column< int32_t > & | input1, |
const int32_t | x, | ||
const Column< int32_t > & | input2, | ||
const int32_t | multiplier, | ||
Column< int32_t > & | out | ||
) |
Definition at line 405 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4a__cpu_1 | ( | const Column< int32_t > & | input1, |
const int32_t | multiplier, | ||
const Column< int32_t > & | input2, | ||
const int32_t | x, | ||
Column< int32_t > & | out | ||
) |
Definition at line 414 of file TableFunctionsTesting.hpp.
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4b__cpu_2 | ( | const int32_t | multiplier, |
const Column< int32_t > & | input, | ||
const int32_t | x, | ||
Column< int32_t > & | out | ||
) |
Definition at line 423 of file TableFunctionsTesting.hpp.
NEVER_INLINE HOST int32_t ct_union_pushdown_projection__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< K > & | input1_id, | ||
const Column< T > & | input1_x, | ||
const Column< T > & | input1_y, | ||
const Column< Z > & | input1_z, | ||
const Column< K > & | input2_id, | ||
const Column< T > & | input2_x, | ||
const Column< T > & | input2_y, | ||
const Column< Z > & | input2_z, | ||
const Column< T > & | input2_w, | ||
Column< K > & | output_id, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< Z > & | output_z, | ||
Column< T > & | output_w | ||
) |
Definition at line 1620 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
NEVER_INLINE HOST int32_t ct_union_pushdown_stats__cpu_template | ( | TableFunctionManager & | mgr, |
const TextEncodingNone & | agg_type, | ||
const Column< K > & | input1_id, | ||
const Column< T > & | input1_x, | ||
const Column< T > & | input1_y, | ||
const Column< Z > & | input1_z, | ||
const Column< K > & | input2_id, | ||
const Column< T > & | input2_x, | ||
const Column< T > & | input2_y, | ||
const Column< Z > & | input2_z, | ||
const Column< T > & | input2_w, | ||
Column< int32_t > & | output_row_count, | ||
Column< K > & | output_id, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< Z > & | output_z, | ||
Column< T > & | output_w | ||
) |
Definition at line 1574 of file TableFunctionsTesting.hpp.
References get_column_min_max(), get_min_or_max_union(), TextEncodingNone::getString(), MAX, MIN, TableFunctionManager::set_output_row_size(), Column< T >::setNull(), and Column< T >::size().
TEMPLATE_INLINE T get_min_or_max | ( | const Column< T > & | col, |
const TFAggType | min_or_max | ||
) |
Definition at line 1477 of file TableFunctionsTesting.hpp.
References get_column_min_max(), and MIN.
Referenced by ct_pushdown_stats__cpu_template().
TEMPLATE_INLINE T get_min_or_max_union | ( | const Column< T > & | col1, |
const Column< T > & | col2, | ||
const TFAggType | min_or_max | ||
) |
Definition at line 1486 of file TableFunctionsTesting.hpp.
References get_column_min_max(), and MIN.
Referenced by ct_union_pushdown_stats__cpu_template().
T safe_addition | ( | T | x, |
T | y | ||
) |
Definition at line 1096 of file TableFunctionsTesting.hpp.
Referenced by column_list_safe_row_sum__cpu_template().
NEVER_INLINE HOST int32_t sort_column_limit__cpu_template | ( | const Column< T > & | input, |
const int32_t | limit, | ||
const bool | sort_ascending, | ||
const bool | nulls_last, | ||
Column< T > & | output | ||
) |
Definition at line 797 of file TableFunctionsTesting.hpp.
References Column< T >::ptr_, set_output_row_size(), Column< T >::size(), and gpu_enabled::sort().
NEVER_INLINE HOST int32_t sum_along_row__cpu_template | ( | const Column< Array< T >> & | input, |
Column< T > & | output | ||
) |
Definition at line 2059 of file TableFunctionsTesting.hpp.
References TableFunctionManager::get_singleton(), Array< T >::getSize(), Array< T >::isNull(), Column< T >::setNull(), and heavydb.dtypes::T.
NEVER_INLINE HOST int32_t tf_metadata_getter__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< bool > & | input, | ||
Column< bool > & | success | ||
) |
Definition at line 2338 of file TableFunctionsTesting.hpp.
References anonymous_namespace{Utm.h}::f, TableFunctionManager::get_metadata(), run_benchmark_import::result, and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t tf_metadata_getter_bad__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< bool > & | input, | ||
Column< bool > & | success | ||
) |
Definition at line 2381 of file TableFunctionsTesting.hpp.
References anonymous_namespace{Utm.h}::f, TableFunctionManager::get_metadata(), and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t tf_metadata_setter__cpu_template | ( | TableFunctionManager & | mgr, |
Column< bool > & | success | ||
) |
Definition at line 2280 of file TableFunctionsTesting.hpp.
References anonymous_namespace{Utm.h}::f, TableFunctionManager::set_metadata(), and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t tf_metadata_setter_repeated__cpu_template | ( | TableFunctionManager & | mgr, |
Column< bool > & | success | ||
) |
Definition at line 2303 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_metadata(), and TableFunctionManager::set_output_row_size().
NEVER_INLINE HOST int32_t tf_metadata_setter_size_mismatch__cpu_template | ( | TableFunctionManager & | mgr, |
Column< bool > & | success | ||
) |
Definition at line 2321 of file TableFunctionsTesting.hpp.
References TableFunctionManager::set_metadata(), and TableFunctionManager::set_output_row_size().