BELUGA BEHR created HIVE-18913:
----------------------------------

             Summary: Change DataType to Collection or Set
                 Key: HIVE-18913
                 URL: https://issues.apache.org/jira/browse/HIVE-18913
             Project: Hive
          Issue Type: Improvement
          Components: HiveServer2
    Affects Versions: 3.0.0, 2.4.0
            Reporter: BELUGA BEHR


https://github.com/apache/hive/blob/9b36ffa92cc4e0f47ea03d8d167debe743342f5b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java

Please change the signature of these methods to be {{Set}} or {{Collection}}

{code}
public static List<String> getColumnNames*
{code}

Often these calls are being used to get a list of columns, then searched 
through.  It would be more performant (and database set-theory correct) if the 
returned data type was a {{Set}} and not a {{List}}.  And they should probably 
be immutable collections returned as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to