zanmato1984 opened a new issue, #47825:
URL: https://github.com/apache/arrow/issues/47825

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   A C++ repro:
   ```
   TEST(TestIfElse, Reproduce) {
     auto cond = ArrayFromJSON(boolean(), "[true, true]");
     auto if_true = ChunkedArrayFromJSON(boolean(), {"[true]", "[true]"});
     auto if_false = ArrayFromJSON(boolean(), "[true, true]");
     ASSERT_OK_AND_ASSIGN(auto result, CallFunction("if_else", {cond, if_true, 
if_false}));
     ASSERT_OK(result.chunked_array()->ValidateFull());
     AssertDatumsEqual(ChunkedArrayFromJSON(boolean(), {"[true, true]"}), 
result);
   }
   ```
   
   Error:
   ```
   $116│ │ Failure @ src/arrow/testing/gtest_util.cc:204
   $116│ │ │ Failed
   $116│ │ │ Got:
   $116│ │ │   [
   $116│ │ │     [
   $116│ │ │       false,
   $116│ │ │       true
   $116│ │ │     ]
   $116│ │ │   ]
   $116│ │ │ Expected:
   $116│ │ │   [
   $116│ │ │     [
   $116│ │ │       true,
   $116│ │ │       true
   $116│ │ │     ]
   $116│ │ │   ]
   $116│ │ │ 
   $116│ [  FAILED  ] TestIfElse.Reproduce (0 ms)
   ```
   
   ### Component(s)
   
   C++


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to