You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2022/02/23 11:44:00 UTC

[jira] [Closed] (FLINK-24571) elasticsearch dynamic index support the use of proctime

     [ https://issues.apache.org/jira/browse/FLINK-24571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Paul closed FLINK-24571.
-------------------------------

>  elasticsearch dynamic index support the use of proctime
> --------------------------------------------------------
>
>                 Key: FLINK-24571
>                 URL: https://issues.apache.org/jira/browse/FLINK-24571
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / ElasticSearch
>    Affects Versions: 1.15.0
>            Reporter: jinfeng
>            Assignee: jinfeng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> When use eleasticsearch dynamic index, we must  special  a field. If there is no  time-attribute field,  we can't  use dynamic index.  so support dynamic index using proctime may be a good choice.  
> Before implement this feature, we should discuss the  proctime index pattern.   
> The current dynamic index is : 
> {code:sql}
> Create table esSink (
> 	f1 timestamp(3)
> ) with (
> 	'index' = 'myusers_{f1|yyyy-MM-dd}'
> );
> {code}
> When using proctime as dynamic index, It would be like this. 
> {code:sql}
> Create table esSink (
>            f1 varchar
> ) with (
>           'index' = 'myusers_{|yyyy-MM-dd}'
> );
> {code}
> When field name is not specified, we use proctime to generate the dynamic index. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)