You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/04/27 20:32:40 UTC

[jira] [Created] (HIVE-10501) remove HashTableSinkDesc fields which hides base class fields

Alexander Pivovarov created HIVE-10501:
------------------------------------------

             Summary: remove HashTableSinkDesc fields which hides base class fields
                 Key: HIVE-10501
                 URL: https://issues.apache.org/jira/browse/HIVE-10501
             Project: Hive
          Issue Type: Improvement
          Components: Query Planning
            Reporter: Alexander Pivovarov
            Assignee: Alexander Pivovarov
            Priority: Minor


The following HashTableSinkDesc fields are also present in the base class.(JoinDesc)
{code}
// used to handle skew join
private boolean handleSkewJoin = false;
private int skewKeyDefinition = -1;
private Map<Byte, Path> bigKeysDirMap;
private Map<Byte, Map<Byte, Path>> smallKeysDirMap;
private Map<Byte, TableDesc> skewKeysValuesTables;

// alias to key mapping
private Map<Byte, List<ExprNodeDesc>> exprs;

// alias to filter mapping
private Map<Byte, List<ExprNodeDesc>> filters;

// outerjoin-pos = other-pos:filter-len, other-pos:filter-len, ...
private int[][] filterMap;

// used for create joinOutputObjectInspector
protected List<String> outputColumnNames;

// key:column output name, value:tag
private transient Map<String, Byte> reversedExprs;

// No outer join involved
protected boolean noOuterJoin;

protected JoinCondDesc[] conds;
protected Byte[] tagOrder;
private TableDesc keyTableDesc;
{code}

Probably we should remove them and use base class (JoinDesc) fields instead



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)