You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Light-City (via GitHub)" <gi...@apache.org> on 2024/04/10 08:25:06 UTC

[I] SwissJoin Filter Empty Rows Failed! [arrow]

Light-City opened a new issue, #41121:
URL: https://github.com/apache/arrow/issues/41121

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   table :
   ```
   gpadmin=# select * from stu;
    id | name | age 
   ----+------+-----
     2 | hack |  28
   (1 row)
   
   gpadmin=# select * from score;
    id | stu_id | subject | score 
   ----+--------+---------+-------
     1 |     10 | Jack    |    95
     2 |     10 | Jack    |    98
     3 |     12 | math    |    97
     4 |     15 | TOM     |    92
   (4 rows)
   
   ```
   
   **expected result : when we execute sql :**
   ```
   SELECT * FROM stu st WHERE NOT  EXISTS (SELECT stu_id FROM score 
   where score.stu_id = st.id and st.age>25);
    id | name | age 
   ----+------+-----
     2 | hack |  28
   (1 row)
   ```
   
   **actual result: crash, since arrow swiss filter crash!**
   
   ```
   Running main() from /Users/light/workspace/arrow/cpp/build/_deps/googletest-src/googletest/src/gtest_main.cc
   Note: Google Test filter = HashJoin.FilterEmptyRows
   [==========] Running 1 test from 1 test suite.
   [----------] Global test environment set-up.
   [----------] 1 test from HashJoin
   [ RUN      ] HashJoin.FilterEmptyRows
   /Users/light/workspace/arrow/cpp/src/arrow/compute/light_array.cc:754:  Check failed: num_rows() > 0 
   ```
   
   ### 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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [C++] SwissJoin Filter Empty Rows Failed! [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #41121:
URL: https://github.com/apache/arrow/issues/41121#issuecomment-2057223655

   Issue resolved by pull request 41122
   https://github.com/apache/arrow/pull/41122


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


Re: [I] [C++] SwissJoin Filter Empty Rows Failed! [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #41121: [C++] SwissJoin Filter Empty Rows Failed!
URL: https://github.com/apache/arrow/issues/41121


-- 
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: issues-unsubscribe@arrow.apache.org

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