@@ -50,16 +50,6 @@ double gdv_fn_random_with_seed(int64_t ptr, int32_t seed, bool seed_validity) {
5050 return (*holder)();
5151}
5252
53- int64_t gdv_fn_to_date_utf8_utf8 (int64_t context_ptr, int64_t holder_ptr,
54- const char * data, int data_len, bool in1_validity,
55- const char * pattern, int pattern_len, bool in2_validity,
56- bool * out_valid) {
57- gandiva::ExecutionContext* context =
58- reinterpret_cast <gandiva::ExecutionContext*>(context_ptr);
59- gandiva::ToDateHolder* holder = reinterpret_cast <gandiva::ToDateHolder*>(holder_ptr);
60- return (*holder)(context, data, data_len, in1_validity, out_valid);
61- }
62-
6353int64_t gdv_fn_to_date_utf8_utf8_int32 (int64_t context_ptr, int64_t holder_ptr,
6454 const char * data, int data_len, bool in1_validity,
6555 const char * pattern, int pattern_len,
@@ -229,21 +219,6 @@ void ExportedStubFunctions::AddMappings(Engine* engine) const {
229219 types->i1_type () /* return_type*/ , args,
230220 reinterpret_cast <void *>(gdv_fn_like_utf8_utf8));
231221
232- // gdv_fn_to_date_utf8_utf8
233- args = {types->i64_type (), // int64_t execution_context
234- types->i64_type (), // int64_t holder_ptr
235- types->i8_ptr_type (), // const char* data
236- types->i32_type (), // int data_len
237- types->i1_type (), // bool in1_validity
238- types->i8_ptr_type (), // const char* pattern
239- types->i32_type (), // int pattern_len
240- types->i1_type (), // bool in2_validity
241- types->ptr_type (types->i8_type ())}; // bool* out_valid
242-
243- engine->AddGlobalMappingForFunc (" gdv_fn_to_date_utf8_utf8" ,
244- types->i64_type () /* return_type*/ , args,
245- reinterpret_cast <void *>(gdv_fn_to_date_utf8_utf8));
246-
247222 // gdv_fn_to_date_utf8_utf8_int32
248223 args = {types->i64_type (), // int64_t execution_context
249224 types->i64_type (), // int64_t holder_ptr
0 commit comments