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

Direct SQL fallback broken on Postgres

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.12.0
    • 0.12.0
    • None
    • None

    Description

      See HIVE-5264. Postgres aborts transaction on any failed query, so the fallback doesn't work.
      Original code used to do rollback/restart tx on SQL failure, but then it was removed to allow usage in cases like dropTable/etc., where there's external tx present and we cannot partially rollback.
      Looks like the solution for now is to reinstate the rollback/reopen, and prohibit the usage inside external transactions.

      Attachments

        1. HIVE-5265.D12861.1.patch
          3 kB
          Phabricator

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: