lriggs commented on code in PR #49986:
URL: https://github.com/apache/arrow/pull/49986#discussion_r3314450339
##########
cpp/src/gandiva/function_registry.h:
##########
@@ -85,6 +85,10 @@ class GANDIVA_EXPORT FunctionRegistry {
private:
std::vector<NativeFunction> pc_registry_;
SignatureMap pc_registry_map_;
+ // Tracks name+param-types (return type ignored) to detect call-shape
collisions
+ // where the same `name(args)` could resolve to two functions with different
+ // return types.
+ std::unordered_map<std::string, const FunctionSignature*> call_shape_map_;
std::vector<std::shared_ptr<arrow::Buffer>> bitcode_memory_buffers_;
Review Comment:
fixed.
--
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]