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

Remove ArrayList Instantiation For Empty Arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1.1, 3.0.0
    • 3.0.0
    • Metastore
    • None
    • Patch

    Description

      Class org.apache.hadoop.hive.metastore.MetaStoreDirectSql uses a lot of empty arrays in the code. Please replace with a static empty array instead of all the instantiation.

      Attachments

        1. HIVE-16880.2.patch
          8 kB
          David Mollitor
        2. HIVE-16880.1.patch
          8 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: