Hyukjin Kwon created SPARK-16675:
------------------------------------

             Summary: Avoid per-record type dispatch in JDBC when writing
                 Key: SPARK-16675
                 URL: https://issues.apache.org/jira/browse/SPARK-16675
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: Hyukjin Kwon


This is similar with https://issues.apache.org/jira/browse/SPARK-16351.

Currently, {{JdbcUtils.savePartition}} is doing type-based dispatch for each 
row to write appropriate values.

So, appropriate writers can be created first according to the schema, and then 
apply them to each row. This approach is similar with {{CatalystWriteSupport}}.



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