manticoresoftware / manticoresoftware/manticoresearch-python
`UtilsApi` will return MVA type list value as string
Open
@Nick-S-2018 is already working on this.
Since Apr 29, 2024.
- Dominant language
- Python
- Stars
- 62
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
According to your document:
https://manual.manticoresearch.com/Creating_a_table/Data_types#Multi-value-integer-(MVA)
We will be able to obtain a list for MVA type value.
However, by using UtilsApi to query the index, it won't act as the same:
>>> utilsApi.sql('CREATE TABLE products(title text, product_codes multi)')
[{'total': 0, 'error': '', 'warning': ''}]
>>> utilsApi.sql('select * from products')[0]['columns']
[{'id': {...}}, {'product_codes': {...}}, {'title': {...}}]
>>> utilsApi.sql('select * from products')[0]['columns'][1]
{'product_codes': {'type': 'string'}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.