You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marton Bod (Jira)" <ji...@apache.org> on 2020/04/24 10:46:00 UTC

[jira] [Created] (HIVE-23297) Precompile statements where needed across TxnHandler

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)