diff options
author | Huaxin Gao <huaxing@oc0558782468.ibm.com> | 2015-11-05 09:41:14 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-11-05 09:41:14 -0800 |
commit | b072ff4d1d05fc212cd7036d1897a032a395f0b3 (patch) | |
tree | 50a10a4bdd4c9b4f9a0ed0e537b2b8a598ea9e67 /mllib/src/main/scala/org | |
parent | a4b5cefcf1a196e6b257e6127d6b43a7e50200ac (diff) | |
download | spark-b072ff4d1d05fc212cd7036d1897a032a395f0b3.tar.gz spark-b072ff4d1d05fc212cd7036d1897a032a395f0b3.tar.bz2 spark-b072ff4d1d05fc212cd7036d1897a032a395f0b3.zip |
[SPARK-11474][SQL] change fetchSize to fetchsize
In DefaultDataSource.scala, it has
override def createRelation(
sqlContext: SQLContext,
parameters: Map[String, String]): BaseRelation
The parameters is CaseInsensitiveMap.
After this line
parameters.foreach(kv => properties.setProperty(kv._1, kv._2))
properties is set to all lower case key/value pairs and fetchSize becomes fetchsize.
However, in compute method in JDBCRDD, it has
val fetchSize = properties.getProperty("fetchSize", "0").toInt
so fetchSize value is always 0 and never gets set correctly.
Author: Huaxin Gao <huaxing@oc0558782468.ibm.com>
Closes #9473 from huaxingao/spark-11474.
Diffstat (limited to 'mllib/src/main/scala/org')
0 files changed, 0 insertions, 0 deletions