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

Jark Wu closed FLINK-28751.
---------------------------
    Fix Version/s: 1.16.0
                       (was: 1.17.0)
       Resolution: Fixed

Fixed in master: 2220f24925ab5146d5771c3782ed8c0837bb0bc4

> Poor performance of the built in json_value function
> ----------------------------------------------------
>
>                 Key: FLINK-28751
>                 URL: https://issues.apache.org/jira/browse/FLINK-28751
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Runtime
>            Reporter: Aitozi
>            Assignee: Aitozi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.16.0
>
>         Attachments: image-2022-07-30-15-47-34-788.png
>
>
> When I use the JSON_VALUE function, I found the performance is very poor. 
> It's mainly affected by the heavy lock operation in jsonpath inner LRUCache 
> which is also observed by other systems, eg: 
> [https://github.com/apache/pinot/pull/7409|https://github.com/apache/pinot/pull/7409]
> !image-2022-07-30-15-47-34-788.png|width=500,height=250!
> So I proposal to use a different cache to replace the current one for better 
> performance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to