You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/29 15:21:18 UTC

[GitHub] [arrow-datafusion] Dandandan opened a new issue #220: Filter without column names are removed

Dandandan opened a new issue #220:
URL: https://github.com/apache/arrow-datafusion/issues/220


   **Describe the bug**
   
   
   **To Reproduce**
   CREATE EXTERNAL TABLE csv (price INT) 
   STORED AS CSV
   LOCATION './tests/example.csv';
   
   `./tests/example.csv`:
   ```
   1
   2
   3
   ```
   ```sql
   CREATE EXTERNAL TABLE example (price INT) 
   STORED AS CSV
   LOCATION './tests/example.csv';
   > select * from example where 1=2 ;
   +-------+
   | price |
   +-------+
   | 1     |
   | 2     |
   | 3     |
   +-------+
   ```
   
   **Expected behavior**
   Should return an empty result set. When inspecting the optimized plan, the filter clause is removed (without changing the rest of the plan).
   
   **Additional context**
   The problem goes away when removing `FilterPushDown` so this is likely the offender


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

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



[GitHub] [arrow-datafusion] jorgecarleitao closed issue #220: Filter / where clause without column names is removed in optimization pass

Posted by GitBox <gi...@apache.org>.
jorgecarleitao closed issue #220:
URL: https://github.com/apache/arrow-datafusion/issues/220


   


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

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