SparkSQL PostgresQL Dataframe partitions
问题 I have a very simple setup of SparkSQL connecting to a Postgres DB and I'm trying to get a DataFrame from a table, the Dataframe with a number X of partitions (lets say 2). The code would be the following: Map<String, String> options = new HashMap<String, String>(); options.put("url", DB_URL); options.put("driver", POSTGRES_DRIVER); options.put("dbtable", "select ID, OTHER from TABLE limit 1000"); options.put("partitionColumn", "ID"); options.put("lowerBound", "100"); options.put("upperBound"