Skip to content

Commit 37b1bda

Browse files
authored
Make DFSchema::datatype_is_semantically_equal public (#13429)
1 parent 172cf8d commit 37b1bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/common/src/dfschema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ impl DFSchema {
686686
/// name and type), ignoring both metadata and nullability.
687687
///
688688
/// request to upstream: <https://github.com/apache/arrow-rs/issues/3199>
689-
fn datatype_is_semantically_equal(dt1: &DataType, dt2: &DataType) -> bool {
689+
pub fn datatype_is_semantically_equal(dt1: &DataType, dt2: &DataType) -> bool {
690690
// check nested fields
691691
match (dt1, dt2) {
692692
(DataType::Dictionary(k1, v1), DataType::Dictionary(k2, v2)) => {

0 commit comments

Comments
 (0)