bkietz commented on a change in pull request #10397: URL: https://github.com/apache/arrow/pull/10397#discussion_r660115795
########## File path: cpp/src/arrow/compute/exec/expression.cc ########## @@ -61,13 +61,22 @@ Expression call(std::string function, std::vector<Expression> arguments, call.function_name = std::move(function); call.arguments = std::move(arguments); call.options = std::move(options); + + call.hash = std::hash<std::string>{}(call.function_name); + for (const auto& arg : call.arguments) { + call.hash ^= arg.hash(); Review comment: thanks, will replace -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org