| 951 | } |
| 952 | |
| 953 | void CheckUnifyAsymmetric( |
| 954 | const std::shared_ptr<Field>& field1, const std::shared_ptr<Field>& field2, |
| 955 | const std::shared_ptr<Field>& expected, |
| 956 | const Field::MergeOptions& options = Field::MergeOptions::Defaults()) { |
| 957 | ARROW_SCOPED_TRACE("options: ", options); |
| 958 | ARROW_SCOPED_TRACE("field2: ", field2->ToString()); |
| 959 | ARROW_SCOPED_TRACE("field1: ", field1->ToString()); |
| 960 | ASSERT_OK_AND_ASSIGN(auto merged, field1->MergeWith(field2, options)); |
| 961 | AssertFieldEqual(merged, expected); |
| 962 | } |
| 963 | |
| 964 | void CheckPromoteTo( |
| 965 | const std::shared_ptr<Field>& field1, const std::shared_ptr<Field>& field2, |
nothing calls this directly
no test coverage detected