Apache DataFusion SQL Query Engine
Fix the test failure of `size_of_scalar` failure on M1/M2 Mac (#3398)
Remzi Yang1d4a928eb766
diff --git a/datafusion/common/src/scalar.rs b/datafusion/common/src/scalar.rsindex be06f7b3ac..6c60bc373f 100644--- a/datafusion/common/src/scalar.rs+++ b/datafusion/common/src/scalar.rs@@ -2575,12 +2575,7 @@ mod tests {// The alignment requirements differ across architectures and// thus the size of the enum appears to as as well- let expected = match cfg!(target_arch = "aarch64") {- true => 64,- false => 48,- };-- assert_eq!(std::mem::size_of::<ScalarValue>(), expected);+ assert_eq!(std::mem::size_of::<ScalarValue>(), 48);}#[test]