[ https://issues.apache.org/jira/browse/FLINK-26270 ]


    fengjk deleted comment on FLINK-26270:
    --------------------------------

was (Author: JIRAUSER284851):
The current fix is repackaged by modifying the source code Settings , But not 
dynamic parameter configuration:

this.csvMapper.configure(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN, true);

!image-2022-03-07-14-56-00-328.png|width=471,height=240!

> Flink SQL write data to kafka by CSV format , decimal type was converted to 
> scientific notation
> -----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-26270
>                 URL: https://issues.apache.org/jira/browse/FLINK-26270
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.12.4
>            Reporter: fengjk
>            Priority: Minor
>             Fix For: 1.12.4
>
>         Attachments: image-2022-02-21-14-11-49-617.png, 
> image-2022-02-21-14-12-17-845.png, image-2022-02-21-14-13-28-605.png, 
> image-2022-02-25-17-38-06-764.png, image-2022-03-07-14-56-00-328.png
>
>
> Source:Oracle
> field type:decimal
> !image-2022-02-21-14-12-17-845.png|width=362,height=137!
> !image-2022-02-25-17-38-06-764.png!
>  
> Sink::kafka
> field type:decimal
> format:CSV
> !image-2022-02-21-14-13-28-605.png|width=259,height=184!
>  
> Cannot set not to convert to scientific notation
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to