parameters: (pcollection)
docstring: 获取SchemaPCollection schema, 类似sql操作describe, 查看特定表的详细设计信息
  
      .. note::  该方法不是一个transform
  
      Args:
          pcollection (SchemaPCollection): 输入一个SchemaPCollection(FieldsDict)
  
      Returns:
          dict: key是字段，value是字段类型
docstring_summary: 获取SchemaPCollection schema, 类似sql操作describe, 查看特定表的详细设计信息
docstring_tokens: 获取SchemaPCollection schema 类似sql操作describe 查看特定表的详细设计信息
function: def describe(pcollection):
      """
      获取SchemaPCollection schema, 类似sql操作describe, 查看特定表的详细设计信息
  
      .. note::  该方法不是一个transform
  
      Args:
          pcollection (SchemaPCollection): 输入一个SchemaPCollection(FieldsDict)
  
      Returns:
          dict: key是字段，value是字段类型
  
      """
      sd = pcollection.serde()
      if isinstance(sd, serde.Optional):
          sd = sd.origin_serde()
      if isinstance(sd, FieldsDictSerde):
          return sd.get_fields_to_types()
      else:
          raise ValueError("SchemaPCollection's serde should be FieldsDictSerde")
function_tokens: def describe ( pcollection ) : sd = pcollection . serde ( ) if isinstance ( sd , serde . Optional ) : sd = sd . origin_serde ( ) if isinstance ( sd , FieldsDictSerde ) : return sd . get_fields_to_types ( ) else : raise ValueError ( "SchemaPCollection's serde should be FieldsDictSerde" )