Hyukjin Kwon created SPARK-18943:
------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to