This is an automated email from the ASF dual-hosted git repository.
yjshen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 84bee8999 make the function from_proto_binary_op public (#3490)
84bee8999 is described below
commit 84bee899958aaf70372ef84811c6787f53fa25eb
Author: askoa <[email protected]>
AuthorDate: Wed Sep 14 21:44:57 2022 -0400
make the function from_proto_binary_op public (#3490)
Co-authored-by: askoa <askoa@local>
---
datafusion/proto/src/from_proto.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/proto/src/from_proto.rs
b/datafusion/proto/src/from_proto.rs
index 5402b03ce..b82237788 100644
--- a/datafusion/proto/src/from_proto.rs
+++ b/datafusion/proto/src/from_proto.rs
@@ -1515,7 +1515,7 @@ fn unwrap_timezone(proto_value: &str) -> Option<String> {
}
}
-fn from_proto_binary_op(op: &str) -> Result<Operator, Error> {
+pub fn from_proto_binary_op(op: &str) -> Result<Operator, Error> {
match op {
"And" => Ok(Operator::And),
"Or" => Ok(Operator::Or),