augustoasilva commented on a change in pull request #11193: URL: https://github.com/apache/arrow/pull/11193#discussion_r713891180
########## File path: cpp/src/gandiva/engine.h ########## @@ -54,6 +54,13 @@ class GANDIVA_EXPORT Engine { functions_to_compile_.push_back(fname); } + /// Set BaseObjectCache. + template <class KeyType> + Status SetLLVMObjectCache(GandivaObjectCache<KeyType>& object_cache) { + execution_engine_->setObjectCache(&object_cache); + return Status::OK(); Review comment: It was failling on appveyor with the message: `error C2039: 'hasError': is not a member of 'llvm::ExecutionEngine'` -- 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