[ 
https://issues.apache.org/jira/browse/SPARK-12997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118745#comment-15118745
 ] 

Hyukjin Kwon commented on SPARK-12997:
--------------------------------------

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

Reply via email to