kou commented on issue #35915:
URL: https://github.com/apache/arrow/issues/35915#issuecomment-1577518604
Ah, we need to create an option object for `match_substring`:
```ruby
match_substring_options = Arrow::MatchSubstringOptions.new
match_substring_options.pattern = 'foo'
table = Arrow::Table.load(s3_uri, format: :parquet, filter: [:and, [:equal,
:status, 200], [:match_substring, :message, match_substring_options]])
```
But `filter: [:and, [:equal, :status, 200], [:match_substring, :message,
{pattern: 'foo'}]]` shortcut should be implemented.
--
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]