You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/06/12 17:20:49 UTC

[GitHub] [arrow-datafusion] izveigor commented on a diff in pull request #6651: Minor: add test cases for coercion bitwise shifts

izveigor commented on code in PR #6651:
URL: https://github.com/apache/arrow-datafusion/pull/6651#discussion_r1227001917


##########
datafusion/physical-expr/src/expressions/binary.rs:
##########
@@ -1696,6 +1696,18 @@ mod tests {
             DataType::UInt64,
             vec![11u64, 6u64, 7u64],
         );
+        test_coercion!(
+            UInt16Array,
+            DataType::UInt16,
+            vec![3u16, 2u16, 3u16],
+            UInt64Array,
+            DataType::UInt64,
+            vec![10u64, 6u64, 5u64],
+            Operator::BitwiseOr,
+            UInt64Array,
+            DataType::UInt64,
+            vec![11u64, 6u64, 7u64],
+        );

Review Comment:
   Yes, I messed up. Thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org