-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for null values in Elastic-like bulk requests #2363
Comments
fixed at 8193943 now HTTP JSON POST requests that populate data accepts null as full-text or string value |
Could you please add support for manticore fields with bigint attributes and timestamp with Null value? |
could be better to write your suggestions there along with requests examples #2312 |
Manticore supports bigint attributes - https://manual.manticoresearch.com/Creating_a_table/Data_types#Big-Integer Is there any problem with it?
The related issue seems to be #2236 |
Yes, my test data is as follows, create a RT table:
logstash synchronization file:
MySQL table structure and data:
I created two examples, one with number(bigint in RT table) as Null value and the other with pub_date(timestamp in RT table) as Null value. When using logstash to synchronize data to manticore, an error is reported:
|
Because in MySQL, the content of a datetime type field cannot be set to an empty string, but it can be set to Null. Therefore, when I try to synchronize the datetime field (part of the content is Null) in the MySQL database to manticore through logstash, an error occurs and the data cannot be synchronized. |
@zhangsanhuo did you close this issue as a duplicate of #2236? |
I'm sorry, I don't understand what this means. I don't know much about Githup. Could you explain what it means? Thank you for your patience. |
Nevermind, @zhangsanhuo. My apologies. I thought you had closed this issue and was wondering why, since there seem to be unresolved matters. However, I now see it was initially created for a different topic and was closed after the initial request was addressed. If there's another known problem left can you please create a separate issue about it, so we don't get confused about different topics in the same issue? |
Thanks for your help, I created a new issue of #2380 |
…nd string attributes; fixed #2363; added case to test 454, 338
Bug Description:
As of now, Manticore is unable to process fields with null values that can be passed in
_bulk
requests. E.g.:We need to add support for them since it's necessary for integration with different Elastic tools, like Logstash.
Manticore Search Version:
Manticore 6.3.3 1de3cb364@24062617 dev
Operating System Version:
Ununtu 22.04 LTS
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.
The text was updated successfully, but these errors were encountered: