kou commented on code in PR #47204:
URL: https://github.com/apache/arrow/pull/47204#discussion_r2315337345
##########
cpp/src/arrow/compare.h:
##########
@@ -83,6 +83,38 @@ class EqualOptions {
return res;
}
+ /// Whether the \ref arrow::Schema property is used in the comparison.
+ ///
+ /// This option only affects the Equals methods
+ /// and has no effect on ApproxEquals methods.
+ bool use_schema() const { return use_schema_; }
+
+ /// Return a new EqualOptions object with the "use_schema_" property changed.
+ ///
+ /// Setting this option is false making the value of \ref
EqualOptions::use_metadata_
+ /// is ignored.
+ EqualOptions use_schema(bool v) const {
+ auto res = EqualOptions(*this);
+ res.use_schema_ = v;
+ return res;
+ }
+
+ /// Whether the "metadata" in \ref arrow::Schema is used in the comparison.
+ ///
+ /// This option only affects the Equals methods
+ /// and has no effect on the ApproxEquals methods.
+ ///
+ /// Note: This option is only considered when \ref
arrow::EqualOptions::use_schema_ is
Review Comment:
Ah, I understand.
Unfortunately, we don't have any style guide for documentation... Could you
open a new issue for it? Someone may have an opinion for it.
--
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]