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

   ### Describe the enhancement requested
   
   I have this code:
   
   ```ruby
   table = Arrow::Table.load(s3_uri, format: :parquet)
   puts table.slice { |slicer| (slicer['status'] == 200) & 
(slicer['message'].match_substring? 'foo') }
   ```
   
   Now I would like to rewrite it more efficiently using condition pushdown:
   
   ```ruby
   table = Arrow::Table.load(s3_uri, format: :parquet, filter: [[:equal, 
:status, 200], [:match_substring, :message, 'foo']])
   puts table
   ```
   
   However this code doesn't work (`invalid argument Array` for the filter). 
   
   Any idea how to rewrite it correctly? I can't find any documentation about 
multiple filter conditions.
   
   
   
   ### Component(s)
   
   Ruby


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