/** * Derive additional attributes to be rendered by EXPLAIN. * TODO: this method is relied upon by custom input formats to set jobconf properties. * This is madness? - This is Hive Storage Handlers! */ public void deriveExplainAttributes() { if (pathToPartitionInfo != null) { for (Map.Entry<Path, PartitionDesc> entry : pathToPartitionInfo.entrySet()) { entry.getValue().deriveBaseFileName(entry.getKey()); } } MapredLocalWork mapLocalWork = getMapRedLocalWork(); if (mapLocalWork != null) { mapLocalWork.deriveExplainAttributes(); } }
/** * Derive additional attributes to be rendered by EXPLAIN. * TODO: this method is relied upon by custom input formats to set jobconf properties. * This is madness? - This is Hive Storage Handlers! */ public void deriveExplainAttributes() { if (pathToPartitionInfo != null) { for (Map.Entry<Path, PartitionDesc> entry : pathToPartitionInfo.entrySet()) { entry.getValue().deriveBaseFileName(entry.getKey()); } } MapredLocalWork mapLocalWork = getMapRedLocalWork(); if (mapLocalWork != null) { mapLocalWork.deriveExplainAttributes(); } }
/** * Derive additional attributes to be rendered by EXPLAIN. */ public void deriveExplainAttributes() { if (pathToPartitionInfo != null) { for (Map.Entry<String, PartitionDesc> entry : pathToPartitionInfo .entrySet()) { entry.getValue().deriveBaseFileName(entry.getKey()); } } if (mapLocalWork != null) { mapLocalWork.deriveExplainAttributes(); } }
/** * Derive additional attributes to be rendered by EXPLAIN. * TODO: this method is relied upon by custom input formats to set jobconf properties. * This is madness? - This is Hive Storage Handlers! */ public void deriveExplainAttributes() { if (pathToPartitionInfo != null) { for (Map.Entry<String, PartitionDesc> entry : pathToPartitionInfo .entrySet()) { entry.getValue().deriveBaseFileName(entry.getKey()); } } MapredLocalWork mapLocalWork = getMapRedLocalWork(); if (mapLocalWork != null) { mapLocalWork.deriveExplainAttributes(); } }