Sergey Nuyanzin created FLINK-41559:
---------------------------------------

             Summary: 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


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)

Reply via email to