spark dataframe check column type