Marton Bod created HIVE-23297:
---------------------------------

             Summary: Precompile statements where needed across TxnHandler
                 Key: HIVE-23297
                 URL: https://issues.apache.org/jira/browse/HIVE-23297
             Project: Hive
          Issue Type: Improvement
            Reporter: Marton Bod
            Assignee: Marton Bod


There are multiple places in TxnHandler that could benefit from pre-compiling 
sql queries using prepared statements. Some queries are complex in structure 
(e.g. checkLock) and we use string concats to recreate them every time the 
query is to run, in addition to re-parsing the query structure as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to