[refactor](jni) unified jni framework for java udf (#25302)
Use the unified jni framework to refactor java udf. The unified jni framework takes VectorTable as the container to transform data between c++ and java, and hide the details of data format conversion. In addition, the unified framework supports complex and nested types. The performance of basic types remains consistent, with a 30% improvement in string types and an order of magnitude improvement in complex types.
This commit is contained in:
@ -44,7 +44,7 @@ MockJniReader::MockJniReader(const std::vector<SlotDescriptor*>& file_slot_descs
|
||||
int index = 0;
|
||||
for (auto& desc : _file_slot_descs) {
|
||||
std::string field = desc->col_name();
|
||||
std::string type = JniConnector::get_hive_type(desc->type());
|
||||
std::string type = JniConnector::get_jni_type(desc->type());
|
||||
column_names.emplace_back(field);
|
||||
if (index == 0) {
|
||||
required_fields << field;
|
||||
|
||||
Reference in New Issue
Block a user