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

partition retrieval via JDO is inconsistent between by-name and by-filter method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Metastore
    • None

    Description

      When we get partitions by name, we call retrieveAll, forcing the retrieval of all fields of the partition. Retrieving by filter has:

       // pm.retrieveAll(mparts); // retrieveAll is pessimistic. some fields may not be needed
      

      The code moved around recently but it was there for a while. This may cause inconsistent results from two methods in terms of what fields are set.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: