[
https://issues.apache.org/jira/browse/FLINK-41559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147710#comment-18147710
]
Sergey Nuyanzin commented on FLINK-41559:
-----------------------------------------
2.4:
[2f0143462f56e090f82b6c574b5ca6d7e2fefe6a|https://github.com/apache/flink/commit/2f0143462f56e090f82b6c574b5ca6d7e2fefe6a]
> Skip Jackson in JsonVariantFormatter for strings without escapes
> ----------------------------------------------------------------
>
> Key: FLINK-41559
> URL: https://issues.apache.org/jira/browse/FLINK-41559
> Project: Flink
> Issue Type: Improvement
> Components: API / Core, Table SQL / Runtime
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.5.0
>
>
> JsonVariantFormatter writes each string value and object key of a VARIANT
> through a new Jackson JsonGenerator. It does this even when the text has
> nothing to escape. The setup and copying are paid on every string, so they
> dominate JSON_STRING on a VARIANT and CAST(variant AS STRING).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)