ES 中的类型是 index/_mapping 中对应的数据类型,非 _source 里面数据的类型。

Hive type Elasticsearch type
void null
boolean boolean
tinyint byte
smallint short
int int
bigint long
double double
float float
string string
binary binary
timestamp date
struct map
map map
array array
union not supported (yet)
decimal string
date date
varchar string
char string


来源:

https://juejin.im/post/5c4d52476fb9a049b82ad73e

相关文章:

  • 2022-03-11
  • 2022-12-23
  • 2021-07-03
猜你喜欢
  • 2021-09-21
  • 2021-09-07
  • 2021-10-02
  • 2021-07-13
相关资源
相似解决方案