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

Fix wrong type supplied for getLatestCommittedCompaction

    XMLWordPrintableJSON

Details

    Description

      In HIVE-25753, we filter compactions by CC_ID, but I used string type as the parameter for the prepared statement. That cause a type error on some databases (at least failed on PostgreSQL).

      To correctly handle the filter, we should useĀ 

      preparedStatement.setLong(...)

      Attachments

        Issue Links

          Activity

            People

              hsnusonic Yu-Wen Lai
              hsnusonic Yu-Wen Lai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m