[SPARK-2254] [SQL] ScalaRefection should mark primitive types as non-nullable.