Its much more efficient to store and compute on numeric types than string types.
On Tue, Oct 14, 2014 at 1:25 AM, invkrh <inv...@gmail.com> wrote: > Thank you, Michael. > > In Spark SQL DataType, we have a lot of types, for example, ByteType, > ShortType, StringType, etc. > > These types are used to form the table schema. As for me, StringType is > enough, why do we need others ? > > Hao > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/SparkSQL-StringType-for-numeric-comparison-tp16295p16361.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >