canal-adapter1.1.5数据库全量同步ES7字段为负数
canal-adapter版本:1.1.5
Elasticsearch版本:7.14
查询语句:
阿里云RDS数据库表
日记:
Elasticsearch查询索引ec_account
映射:
PUT ec_account
{
“settings”: {
“number_of_shards”: 1,
“number_of_replicas”: 1
},
“mappings”: {
“properties”: {
“id”: {
“type”: “long”
},
“username”: {
“type”: “text”
},
“phone”: {
“type”: “long”
},
“email”: {
“type”: “keyword”
},
“first_nickname_char”: {
“type”: “keyword”
},
“gender”: {
“type”: “keyword”
},
“nickname”: {
“type”: “text”
},
“status”: {
“type”: “keyword”
},
“update_time”: {
“type”: “long”,
“index”: false
},
“create_time”: {
“type”: “long”,
“index”: false
},
“delete_time”: {
“type”: “long”,
“index”: false
}
}
}
}
请问各位大佬为什么同步过去是负数?
推荐文章: