manticoresoftware / manticoresearch

Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
https://manticoresearch.com
GNU General Public License v3.0
8.92k stars 494 forks source link

Queries using JSON SI don't work correctly in ram chunk #2590

Closed glookka closed 2 hours ago

glookka commented 3 hours ago

Bug Description:

Queries using JSON SI, e.g.:

select id, in(j.str,'str1','str3') as check from t where check!=1 order by id asc option threads=2;

don't work correctly in ram chunks because expression eval stages are modified in TransformForJsonSI when searching disk chunks. This needs to be fixed.

Manticore Search Version:

6.3.1

Operating System Version:

Any

Have you tried the latest development version?

Yes

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

- [x] Implementation completed - [x] Tests developed - [x] Documentation updated - [x] Documentation reviewed - [x] [Changelog](https://docs.google.com/spreadsheets/d/1mz_3dRWKs86FjRF7EIZUziUDK_2Hvhd97G0pLpxo05s/edit?pli=1&gid=1102439133) updated
glookka commented 2 hours ago

Fixed in dc897b2b488dc0f1d12278d62f460be6d4404265