Was there stack trace following the error ? Which Spark release are you using ?
Cheers > On Dec 19, 2015, at 10:43 PM, Sree Eedupuganti <s...@inndata.in> wrote: > > i had 9 rows in my Mysql table > > > options.put("dbtable", "(select * from employee"); > options.put("lowerBound", "1"); > options.put("upperBound", "8"); > options.put("numPartitions", "2"); > Error : Parameter index out of range (1 > number of parameters, which is 0) > > -- > Best Regards, > Sreeharsha Eedupuganti > Data Engineer > innData Analytics Private Limited