dhruv9vats commented on a change in pull request #12162:
URL: https://github.com/apache/arrow/pull/12162#discussion_r786708740



##########
File path: cpp/src/arrow/compute/kernels/scalar_nested_test.cc
##########
@@ -225,6 +225,56 @@ TEST(TestScalarNested, StructField) {
   }
 }
 
+TEST(TestScalarNested, MapArrayLookupNonRecursive) {

Review comment:
       This test passes.
   
   <details><summary> with output </summary>
   
   ```bash
   > GTEST_FILTER="TestScalarNested.MapArrayLookupNonRecursive" ctest -R 
"arrow-compute-scalar-test" -V
   UpdateCTestConfiguration  from 
:/home/dhruv/repos/arrow/cpp/out/build/ninja-debug/DartConfiguration.tcl
   UpdateCTestConfiguration  from 
:/home/dhruv/repos/arrow/cpp/out/build/ninja-debug/DartConfiguration.tcl
   Test project /home/dhruv/repos/arrow/cpp/out/build/ninja-debug
   Constructing a list of tests
   Done constructing a list of tests
   Updating test list for fixtures
   Added 0 tests to meet fixture requirements
   Checking test dependency graph...
   Checking test dependency graph end
   test 25
       Start 25: arrow-compute-scalar-test
   
   25: Test command: /home/dhruv/repos/arrow/cpp/build-support/run-test.sh 
"/home/dhruv/repos/arrow/cpp/out/build/ninja-debug" "test" 
"/home/dhruv/repos/arrow/cpp/out/build/ninja-debug/debug//arrow-compute-scalar-test"
   25: Test timeout computed to be: 10000000
   25: Running arrow-compute-scalar-test, redirecting output into 
/home/dhruv/repos/arrow/cpp/out/build/ninja-debug/build/test-logs/arrow-compute-scalar-test.txt
 (attempt 1/1)
   25: Running main() from ../googletest/src/gtest_main.cc
   25: Note: Google Test filter = TestScalarNested.MapArrayLookupNonRecursive
   25: [==========] Running 1 test from 1 test suite.
   25: [----------] Global test environment set-up.
   25: [----------] 1 test from TestScalarNested
   25: [ RUN      ] TestScalarNested.MapArrayLookupNonRecursive
   25: 
/home/dhruv/repos/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc:678: 
array[list<item: int32>]
   25: 
/home/dhruv/repos/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc:675: 
array[int32]
   25: 
/home/dhruv/repos/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc:675: 
array[int32]
   25: [       OK ] TestScalarNested.MapArrayLookupNonRecursive (37 ms)
   25: [----------] 1 test from TestScalarNested (37 ms total)
   25:
   25: [----------] Global test environment tear-down
   25: [==========] 1 test from 1 test suite ran. (37 ms total)
   25: [  PASSED  ] 1 test.
   25: ~/repos/arrow/cpp/out/build/ninja-debug/src/arrow/compute/kernels
   1/1 Test #25: arrow-compute-scalar-test ........   Passed    0.15 sec
   
   The following tests passed:
        arrow-compute-scalar-test
   
   100% tests passed, 0 tests failed out of 1
   
   Label Time Summary:
   arrow_compute    =   0.15 sec*proc (1 test)
   unittest         =   0.15 sec*proc (1 test)
   
   Total Test time (real) =   0.15 sec
   
   ```
   
   </details>




-- 
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