You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/07/22 03:42:20 UTC

[jira] [Created] (SPARK-16675) Avoid per-record type dispatch in JDBC when writing

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org