check type of schema
verify schema with the first few rows