This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 37b1bda061 Make DFSchema::datatype_is_semantically_equal public
(#13429)
37b1bda061 is described below
commit 37b1bda061bc442e47c7cb701962672f6c3b147c
Author: Qianqian <[email protected]>
AuthorDate: Fri Nov 15 11:07:20 2024 -0800
Make DFSchema::datatype_is_semantically_equal public (#13429)
---
datafusion/common/src/dfschema.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/common/src/dfschema.rs
b/datafusion/common/src/dfschema.rs
index aa2d93989d..e893cee089 100644
--- a/datafusion/common/src/dfschema.rs
+++ b/datafusion/common/src/dfschema.rs
@@ -686,7 +686,7 @@ impl DFSchema {
/// name and type), ignoring both metadata and nullability.
///
/// request to upstream: <https://github.com/apache/arrow-rs/issues/3199>
- fn datatype_is_semantically_equal(dt1: &DataType, dt2: &DataType) -> bool {
+ pub fn datatype_is_semantically_equal(dt1: &DataType, dt2: &DataType) ->
bool {
// check nested fields
match (dt1, dt2) {
(DataType::Dictionary(k1, v1), DataType::Dictionary(k2, v2)) => {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]