Open
Description
Bug Description:
Given following SQL query:
CALL AUTOCOMPLETE('hello', 'my_index', 1 as append);
When using the /sql
endpoint, Manticore will respond with data such as [{"query": "hello"}, {"query": "helloer"}]
When using a numeric value, things change:
CALL AUTOCOMPLETE('123', 'my_index', 1 as append);
When using the /sql
endpoint, Manticore will respond with data such as [{"query": 123}, {"query": 12345}]
It seems like some auto-magic casting is occurring? Is that intentional?
Manticore Search Version:
7.4.6
Operating System Version:
irrelevant
Have you tried the latest development version?
No
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.
- Implementation completed
- Tests developed
- Documentation updated
- Documentation reviewed