You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2023/04/07 00:12:23 UTC

[GitHub] [arrow] kou commented on issue #34781: [Ruby] Query a parquet file on S3 without downloading it (using byte ranges)

kou commented on issue #34781:
URL: https://github.com/apache/arrow/issues/34781#issuecomment-1499781524

   Sorry, I missed this.
   
   We can't use byte ranges directly but we can use condition push down to reduce download size.
   
   We doesn't provide DSL to build condition yet (#29928) but the following will work:
   
   ```ruby
   require 'arrow-dataset'
   
   s3_uri = URI('s3://bucket/public.parquet')
   Arrow::Table.load(s3_uri, filter: [:equal, :column_name, 100]) # "column_name == 100"
   ```
   
   See https://arrow.apache.org/docs/cpp/compute.html for available functions.


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