static Map<Object, Object> map(Object[] obs) {
    Map<Object, Object> m = new LinkedHashMap<Object, Object>();
    for (int i = 0; i < obs.length - 1; i += 2) {
      m.put(obs[i], obs[i + 1]);
    }
    return Collections.unmodifiableMap(m);
  }
Split the line into an array by tokenizing on space characters

@param line
         the line to break up
@return an array of individual words
beeline/src/java/org/apache/hive/beeline/BeeLine.java