Gopal Vijayaraghavan created HIVE-22929:
-------------------------------------------

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

Reply via email to