renodesu opened a new issue #11746:
URL: https://github.com/apache/arrow/issues/11746


   Where is the `filter()` functionality? I'm using version `6.0.1` of 
`apache-arrow`.
   
   The two examples in the README 
([here](https://observablehq.com/@theneuralbit/introduction-to-apache-arrow) 
and 
[here](https://observablehq.com/@lmeyerov/manipulating-flat-arrays-arrow-style))
 both make use of the `sometable.filter(/**/)` functionality on a table.
   
   Seems like it did exist on previous versions based on the example code? Why 
isn't such a core feature present on a library like this (and why was it 
seemingly removed)?
   Based on the examples, it was present on versions `0.16` and `4.0.0`.
   
   Simple reproduction would be:
   ```
   import { Int8Vector, Table, Utf8Vector } from 'apache-arrow'
   
   const arrowTable = Table.new(
     [
       Utf8Vector.from(['John', 'Mary']),
       Int8Vector.from([10, 20])
     ],
     ['name', 'age']
   )
   
   // @ts-ignore
   arrowTable.filter() // "TypeError: arrowTable.filter is not a function"
   ```


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