VMware Tanzu Greenplum Connector for Apache Spark 2.x Release Notes
The VMware Tanzu Greenplum Connector for Apache Spark provides high speed, parallel data transfer between Greenplum Database and an Apache Spark cluster using Spark’s Scala API for programmatic access (including the
Refer to the Pivotal Greenplum Database documentation for detailed information about Pivotal Greenplum Database.
See the Apache Spark documentation for information about Apache Spark version 2.4.
The following table identifies the supported component versions for the VMware Tanzu Greenplum Connector for Apache Spark 2.x:
|Connector Version||Greenplum Version||Spark Version||Scala Version||PostgreSQL JDBC Driver Version|
|2.1, 2.0||5.x, 6.x||2.3.x , 2.4.x
The Connector is certified against the Greenplum, Spark, and Scala versions listed above. The Connector is bundled with, and certified against, the listed PostgreSQL JDBC driver version.
Released: November 24, 2020
VMware Tanzu Greenplum Connector for Apache Spark 2.1.0 includes new and changed features and bug fixes.
Greenplum Connector for Apache Spark 2.1.0 includes this new and changed feature:
The Connector now uses external temporary tables when it loads data between Greenplum and Spark. Benefits include the following:
- Greenplum Database external temporary tables are created and reside in their own schema; the Greenplum user reading the data is no longer required to have
CREATEprivileges on the schema in which the accessed Greenplum table resides.
- Greenplum Database removes external temporary tables when the session is over; manual clean-up of orphaned external tables is no longer required. (Cleaning Up Orphaned Greenplum External Tables in previous versions of the documentation describes this now-unnecessary procedure.)
- The Connector reuses external temporary tables; it creates fewer tables and has less of an impact on Greenplum Database catalog bloat.
The following issues were resolved in Greenplum Connector for Apache Spark version 2.1.0:
|31083||Resolves an issue where the Connector failed to read data from Greenplum Database when the
|31075||The developer had no way to specify the schema in which the Connector created its external tables; the Connector always created external tables in the same schema as the Greenplum table. An undesirable side effect of this behaviour was that the Greenplum user reading a table was required to have
Released: September 30, 2020
VMware Tanzu Greenplum Connector for Apache Spark 2.0.0 includes new and changed features and bug fixes.
Greenplum Connector for Apache Spark 2.0.0 includes these new and changed features:
- The Connector is certified against the Scala, Spark, and JDBC driver versions identified in Supported Platforms above.
- The Connector is now bundled with the PostgreSQL JDBC driver version 42.2.14.
The Connector package that you download from Pivotal Network is now a
.tar.gzfile that includes the product open source license and the Connector JAR file. The naming format of the file is
gpfdistserver connection activity timeout changes from 30 seconds to 5 minutes.
server.timeoutoption is provided that a developer can use to specify the
gpfdistserver connection activity timeout.
The Connector improves read performance from Greenplum Database by using the internal Greenplum table column named
gp_segment_idas the default
partitionColumnwhen the developer does not specify this option.
The following issues were resolved in VMware Tanzu Greenplum Connector for Apache Spark version 2.0.0:
|30731||Resolved an issue where the Connector timed out with a serialization exception when writing aggregated results to Greenplum Database. The Connector now exposes the
|174495848||Resolved an issue where predicate pushdown was not working correctly because the Connector did not use parentheses to join the predicates together when it constructed the filter string.|
The Greenplum Connector for Apache Spark version 2.x removes:
- Support for Greenplum Database 4.x.
connector.portoption (deprecated in 1.6).
partitionsPerSegmentoption (deprecated in 1.5).
Known issues and limitations related to the 2.x release of the VMware Tanzu Greenplum Connector for Apache Spark include the following:
- (Resolved in 2.1.0) The Connector cannot use
partitionColumn(the default) when reading data from Greenplum Database and mirroring is enabled in the Greenplum cluster.
- The Connector does not support reading from or writing to Greenplum Database when your Spark cluster is deployed on Kubernetes.
- The Connector supports basic data types like Float, Integer, String, and Date/Time data types. The Connector does not yet support more complex types. See Greenplum Database <-> Spark Data Type Mapping for additional information.