Open asfimport opened 4 years ago
Pindikura Ravindra / @pravindra: gandiva doesn't support complex types yet.
It will be easier to add support for primitive fields inside complex types to begin with (eg. integer field inside a struct type).
ZMZ91 / @ZMZ91: Hi @pravindra, besides the codes you pointed out, I see almost all gandiva udfs are implemented inside extern C. So if I add a function returning a map<string, string>, it would be incompatible in extern C. Is it doable to write a udf outside extern C?
Is it possible to return a complex datatype for a UDF, like vector or event dictionary? Checked https://github.com/apache/arrow/blob/master/cpp/src/gandiva/precompiled/types.h and found the types used there are all basic datatypes.
Reporter: ZMZ91 / @ZMZ91
Note: This issue was originally created as ARROW-8405. Please see the migration documentation for further details.