apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
8.02k stars 1.82k forks source link

[Feature]elasticsearch source nested type #4381

Open zhangyandeng opened 1 year ago

zhangyandeng commented 1 year ago

Search before asking

Description

How does elasticsearch source specify the nested type, and how to formulate the type under the nested type

Usage Scenario

I need to synchronize this mapping relationship to another es index { "test" : { "mappings" : { "properties" : { "comments" : { "type" : "nested", "properties" : { "firsttime" : { "type" : "keyword" }, "id" : { "type" : "text" }, "name" : { "type" : "text" } } }, "time" : { "type" : "date", "format" : "yyyy-MM-dd HH:mm:ss" } } } } }

Related issues

no

Are you willing to submit a PR?

Code of Conduct

zhangshenghang commented 5 months ago

@hailin0 Can be assigned to me, I can try to support ElasticSearch nested write, I also need this function. Does the community have any good suggestions? Or is there a general implementation idea? If not, I will implement it according to my own ideas.