jsonata-js / jsonata

JSONata query and transformation language - http://jsonata.org
MIT License
2.05k stars 220 forks source link

$sort fails for >6000-element arrays #696

Closed Gonosz94 closed 1 week ago

Gonosz94 commented 4 months ago

Unfortunately the title says it all. I'm using jsonata in Grafana Infinity datasource, and I need to sort larger datasets (3500-4000 elements for now but will be more in the future). I experimented with sorting, and 5000-5100 element arrays are good, but anything above that will fail.

CommanderStorm commented 1 month ago

Failing can mean a lot of things. What do you mean specifically?

mattbaileyuk commented 1 week ago

Closing as inactive; agree I don't know what failing means here, I suspect large data sets may run into performance issues but I've not seen evidence of it falling over.