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

Hao Dang updated FLINK-13789:
-----------------------------
    Fix Version/s: 1.7.2

> Transactional Id Generation fails due to user code impacting formatting string
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-13789
>                 URL: https://issues.apache.org/jira/browse/FLINK-13789
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Hao Dang
>            Priority: Major
>             Fix For: 1.7.2, 1.8.0, 1.8.1
>
>
> In [TransactionalIdsGenerator.java|#L94]], prefix contains taskName of the 
> particular task which could ultimately contain user code.  In some cases, 
> user code contains conversion specifiers like %, the string formatting could 
> fail.
> For example, in Flink SQL code, user could have a LIKE statement with a % 
> wildcard, the % wildcard will end up in the prefix and get mistreated during 
> formatting, causing task to fail.
> Think we should move prefix out of the string formatting.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to