def parse_column(name, type_string, comment=None):
 type_string = type_string.lower()
 column = {'name': name, 'comment': (comment or '')}
 (simple_type, inner) = _parse_type(type_string)
 column['type'] = simple_type
 if inner:
  column.update(_parse_complex(simple_type, inner))
 return column

def parse_column ( name , type_string , comment = None ) : type_string = type_string . lower ( ) column = { 'name' : name , 'comment' : ( comment or '' ) } ( simple_type , inner ) = _parse_type ( type_string ) column [ 'type' ] = simple_type if inner : column . update ( _parse_complex ( simple_type , inner ) ) return column
returns a dictionary of a hive columns type metadata and any complex or nested type info .