You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/12/24 15:34:58 UTC

[jira] [Resolved] (SPARK-18943) Avoid per-record type dispatch in CSV when reading

     [ https://issues.apache.org/jira/browse/SPARK-18943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-18943.
---------------------------------
       Resolution: Fixed
         Assignee: Hyukjin Kwon
    Fix Version/s: 2.2.0

> Avoid per-record type dispatch in CSV when reading
> --------------------------------------------------
>
>                 Key: SPARK-18943
>                 URL: https://issues.apache.org/jira/browse/SPARK-18943
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>             Fix For: 2.2.0
>
>
> This is similar with https://issues.apache.org/jira/browse/SPARK-16434
> {{CSVRelation.csvParser}} does type dispatch for each value in each row.
> We can prevent this because the schema is already kept in {{CSVRelation}}.
> So, converters can be created first according to the schema, and then apply them to each.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org