aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/test/scala
diff options
context:
space:
mode:
authorhyukjinkwon <gurwls223@gmail.com>2016-07-26 17:14:58 +0800
committerWenchen Fan <wenchen@databricks.com>2016-07-26 17:14:58 +0800
commit3b2b785ece4394ca332377647a6305ea493f411b (patch)
treecaf1f45dcc784d570b57b346bbbb065f0bc3b435 /sql/core/src/test/scala
parent03c27435aee4e319abe290771ba96e69469109ac (diff)
downloadspark-3b2b785ece4394ca332377647a6305ea493f411b.tar.gz
spark-3b2b785ece4394ca332377647a6305ea493f411b.tar.bz2
spark-3b2b785ece4394ca332377647a6305ea493f411b.zip
[SPARK-16675][SQL] Avoid per-record type dispatch in JDBC when writing
## What changes were proposed in this pull request? Currently, `JdbcUtils.savePartition` is doing type-based dispatch for each row to write appropriate values. So, appropriate setters for `PreparedStatement` can be created first according to the schema, and then apply them to each row. This approach is similar with `CatalystWriteSupport`. This PR simply make the setters to avoid this. ## How was this patch tested? Existing tests should cover this. Author: hyukjinkwon <gurwls223@gmail.com> Closes #14323 from HyukjinKwon/SPARK-16675.
Diffstat (limited to 'sql/core/src/test/scala')
0 files changed, 0 insertions, 0 deletions