BiteTheDDDDt commented on a change in pull request #8448:
URL: https://github.com/apache/incubator-doris/pull/8448#discussion_r826626668



##########
File path: be/src/exprs/table_function/table_function_factory.cpp
##########
@@ -21,25 +21,30 @@
 #include "exprs/table_function/explode_bitmap.h"
 #include "exprs/table_function/explode_json_array.h"
 #include "exprs/table_function/explode_split.h"
+#include "vec/exprs/table_function/vexplode_split.h"
 
 namespace doris {
 
-Status TableFunctionFactory::get_fn(const std::string& fn_name, ObjectPool* 
pool, TableFunction** fn) {
+Status TableFunctionFactory::get_fn(const std::string& fn_name, ObjectPool* 
pool,
+                                    TableFunction** fn) {
     if (fn_name == "explode_split") {
         *fn = pool->add(new ExplodeSplitTableFunction());
-        return Status::OK(); 
+        return Status::OK();
+    } else if (fn_name == "vexplode_split") {
+        *fn = pool->add(new VExplodeSplitTableFunction());
+        return Status::OK();
     } else if (fn_name == "explode_bitmap") {
         *fn = pool->add(new ExplodeBitmapTableFunction());
-        return Status::OK(); 
+        return Status::OK();

Review comment:
       This pr will only support a example like explode_split. other functions 
will return a error.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to