Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20607

TxnHandler should use PreparedStatement to execute direct SQL queries.

    XMLWordPrintableJSON

Details

    Description

      TxnHandler uses direct SQL queries to operate on Txn related databases/tables in Hive metastore RDBMS.
      Most of the methods are direct calls from Metastore api which should be directly append input string arguments to the SQL string.
      Need to use parameterised PreparedStatement object to set these arguments.

      Attachments

        1. HIVE-20607.01-branch-3.patch
          73 kB
          Sankar Hariappan
        2. HIVE-20607.01.patch
          75 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              sankarh Sankar Hariappan
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: