private void extractColumnInfos(Table table, List<String> colNames, List<String> colTypes) {
    for (FieldSchema col : table.getAllCols()) {
      colNames.add(col.getName());
      colTypes.add(col.getType());
    }
  }
Planner specific stuff goes in here.
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java