bkietz commented on a change in pull request #7026: URL: https://github.com/apache/arrow/pull/7026#discussion_r417364778
########## File path: cpp/src/arrow/dataset/filter.h ########## @@ -191,6 +197,10 @@ class ARROW_DS_EXPORT Expression { /// returns a debug string representing this expression virtual std::string ToString() const = 0; + /// serialize/deserialize an Expression. + Result<std::shared_ptr<Buffer>> Serialize() const; Review comment: I'll translate the python tests into a case in filter_test.cc ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org