Peter Murphy created ARROW-9496: ----------------------------------- Summary: toArray() called on filtered Table returns all rows Key: ARROW-9496 URL: https://issues.apache.org/jira/browse/ARROW-9496 Project: Apache Arrow Issue Type: Bug Components: JavaScript Environment: OSX 10.15.2 Behavior seen in runkit and node.js Jest test runner Reporter: Peter Murphy
Trying to experiment with building a library on top of Apache Arrow's Javascript implementation, but ran into this: Example: [https://runkit.com/pjm17971/pond-arrow] {code:java} const filtered = table.filter(predicate.col("pressure").lt(28.5)) filtered.count() // 2 (correct) {code} However: {code:java} const result = filtered.toArray().map(row => row.toJSON()) // 4 rows (??){code} Is this expected behavior? -- This message was sent by Atlassian Jira (v8.3.4#803005)