使用产品: iobjects for spark: 10.1.0
OS: windows 10
spark version: 2.3.2
问题详细描述: 使用PostGISFeatureRDDProvider读取postgis数据源失败:
// 读取数据源
val provider = new PostGISFeatureRDDProvider()
val sourceRDD = provider.rdd(new Configuration(), sc, readParam, new Query(tableName))
Exception in thread "main" java.lang.NullPointerException: DataStore is null
at com.supermap.bdt.rddprovider.jdbc.PostGISFeatureRDDProvider.rdd(PostGISFeatureRDDProvider.scala:49)
此外, provider的param设置与编程指南中的一致, 数据库连接信息确认无误.
期待早日收到您的解答.