Details
Description
Running following:
#fix schema for gaid which should not be Double
from pyspark.sql.types import *
customSchema = StructType()
for (col,typ) in tsp_orig.dtypes:
if col=='Agility_GAID':
typ='string'
customSchema.add(col,typ,True)
Getting
ValueError: Could not parse datatype: bigint
Looks like pyspark.sql.types doesn't know anything about bigint..
Should it be aliased to LongType in pyspark.sql.types?