We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
illegal_argument_exception
is_risk_control
我们在 Elasticsearch 中的 doc_join 索引遇到了异常,该索引结构为订单和订单明细的主子关系。
doc_join
{ "mappings": { "properties": { "doc_join": { "type": "join", "eager_global_ordinals": true, "relations": { "order": "detail" } }, "is_risk_control": { "type": "boolean" } } } }
在 CloudCanal 中我们收到如下异常:
CloudCanal
Elasticsearch exception [type=illegal_argument_exception, reason=mapper [is_risk_control] of different type, current_type [boolean], merged_type [short]]
我们在主单和明细中都包含了 is_risk_control 字段,字段类型为 tinyint(1)。但是,CloudCanal 提示该字段类型不一致的异常。除了这个字段外,我们还有其他相同类型的字段,例如:
tinyint(1)
"suggest_warehouse_id": { "type": "long" }
在 MySQL 中,这些字段类型为 bigint(20) unsigned,并未出现上述异常。
bigint(20) unsigned
希望能尽快得到解决方案或指导。感谢!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Elasticsearch 异常:
illegal_argument_exception
针对is_risk_control
字段问题描述
我们在 Elasticsearch 中的
doc_join
索引遇到了异常,该索引结构为订单和订单明细的主子关系。索引配置
异常信息
在
CloudCanal
中我们收到如下异常:详细情况
我们在主单和明细中都包含了
is_risk_control
字段,字段类型为tinyint(1)
。但是,CloudCanal
提示该字段类型不一致的异常。除了这个字段外,我们还有其他相同类型的字段,例如:在 MySQL 中,这些字段类型为
bigint(20) unsigned
,并未出现上述异常。版本信息
希望能尽快得到解决方案或指导。感谢!
The text was updated successfully, but these errors were encountered: