[ https://issues.apache.org/jira/browse/SPARK-12997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118745#comment-15118745 ]
Hyukjin Kwon edited comment on SPARK-12997 at 1/27/16 7:00 AM: --------------------------------------------------------------- I would like to try this; however, how about just using {{CatalystTypeConverters.convertToScala()}}? I mean like this, https://github.com/apache/spark/blob/b3ba1be3b77e42120145252b2730a56f1d55fd21/sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextRelation.scala#L115-L121. was (Author: hyukjin.kwon): I would like to try this; however, how about just using {{CatalystTypeConverters.convertToScala()}}? > Use cast expression to perform type cast in csv > ----------------------------------------------- > > Key: SPARK-12997 > URL: https://issues.apache.org/jira/browse/SPARK-12997 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > > CSVTypeCast.castTo should probably be removed, and just replace its usage > with a projection that uses a sequence of Cast expressions. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org