Hyukjin Kwon created SPARK-16674: ------------------------------------ Summary: Avoid per-record type dispatch in JDBC when reading Key: SPARK-16674 URL: https://issues.apache.org/jira/browse/SPARK-16674 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-16434 Currently, {{JDBCRDD.compute}} is doing type dispatch for each row to read appropriate values. It might not have to be done like this because the schema is already kept in {{JDBCRDD}}. So, appropriate converters can be created first according to the schema, and then apply them to each row. -- 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