【解决办法】
以11.1.0版本为例,Spark组件支持Greenplum6和Greenplum7作为空间数据的存储,在使用上需注意:
//从Greenplum读取数据支持JDBC和SDX两种引擎方式,推荐JDBC方式
params.put(FeatureRDDProviderParams.ProviderType.key, "JDBC")
params.put(FeatureRDDProviderParams.ProviderType.key, "SDX")
//将空间数据写入Greenplum只支持SDX方式,不支持JDBC方式
params.put(FeatureRDDProviderParams.ProviderType.key, "SDX")