Ok- thanks Michael I will do another series of tests to confirm this and then report an issue.
Regards, Marek 2015-03-22 22:19 GMT+01:00 Michael Armbrust <mich...@databricks.com>: > I have not heard this reported yet, but your invocation looks correct to > me. Can you open a JIRA? > > On Sun, Mar 22, 2015 at 8:39 AM, Marek Wiewiorka < > marek.wiewio...@gmail.com> wrote: > >> Hi All - I try to use the new SQLContext API for populating DataFrame from >> jdbc data source. >> like this: >> >> val jdbcDF = sqlContext.jdbc(url = >> "jdbc:postgresql://localhost:5430/dbname?user=user&password=111", table = >> "se_staging.exp_table3" ,columnName="cs_id",lowerBound=1 ,upperBound = >> 10000, numPartitions=12 ) >> >> No matter how I set lower and upper bounds I always get all the rows from >> my table. >> The API is marked as experimental so I assume there might by some bugs in >> it but >> did anybody come across a similar issue? >> >> Thanks! >> Marek >> > >