[ https://issues.apache.org/jira/browse/HIVE-22929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047310#comment-17047310 ]
Gopal Vijayaraghavan commented on HIVE-22929: --------------------------------------------- bq. Could you please provide a sample query for this? it might be interesting to take a look at it - in case it heats up something like a "String.replaceAll" function This was from a profile with 100k queries running on a system - the best approximation is that it is 56 different queries with varying predicates & giant list of projection column names, with 256 concurrent users. Wasn't from a single query or a single user. > Performance: quoted identifier parsing uses throwaway Regex via > String.replaceAll() > ----------------------------------------------------------------------------------- > > Key: HIVE-22929 > URL: https://issues.apache.org/jira/browse/HIVE-22929 > Project: Hive > Issue Type: Bug > Reporter: Gopal Vijayaraghavan > Assignee: Krisztian Kasa > Priority: Major > Attachments: HIVE-22929.1.patch, String.replaceAll.png > > > !String.replaceAll.png! > https://github.com/apache/hive/blob/master/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g#L530 > {code} > '`' ( '``' | ~('`') )* '`' { setText(getText().substring(1, > getText().length() -1 ).replaceAll("``", "`")); } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)