Commit 47f4b5a 1 parent 2b69acc commit 47f4b5a Copy full SHA for 47f4b5a
File tree 1 file changed +3
-3
lines changed
datafusion/common/src/scalar
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4528,18 +4528,18 @@ mod tests {
4528
4528
assert_eq ! ( expected, data_type. try_into( ) . unwrap( ) )
4529
4529
}
4530
4530
4531
- // this test fails on aarch, so don't run it there
4532
- #[ cfg( not( target_arch = "aarch64" ) ) ]
4533
4531
#[ test]
4534
4532
fn size_of_scalar ( ) {
4535
4533
// Since ScalarValues are used in a non trivial number of places,
4536
4534
// making it larger means significant more memory consumption
4537
4535
// per distinct value.
4538
4536
//
4537
+ // Thus this test ensures that no code change makes ScalarValue larger
4538
+ //
4539
4539
// The alignment requirements differ across architectures and
4540
4540
// thus the size of the enum appears to as well
4541
4541
4542
- // The value can be changed depending on rust version
4542
+ // The value may also change depending on rust version
4543
4543
assert_eq ! ( std:: mem:: size_of:: <ScalarValue >( ) , 64 ) ;
4544
4544
}
4545
4545
You can’t perform that action at this time.
0 commit comments