[
https://issues.apache.org/jira/browse/FLINK-41605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-41605:
-----------------------------------
Labels: pull-request-available (was: )
> Escape and check XML characters in a single pass in VariantToXmlWriter
> ----------------------------------------------------------------------
>
> Key: FLINK-41605
> URL: https://issues.apache.org/jira/browse/FLINK-41605
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Runtime
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
>
> VariantToXmlWriter, which XML_STRING uses, goes over every string twice:
> first a regex looks for
> characters that XML 1.0 doesn't allow, then a second loop escapes the string
> one character at a time.
> For long strings this is a large part of XML_STRING's cost.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)