Inserting an Apache Spark DataFrame into a HPE Ezmeral Data Fabric Database JSON Table
Starting in the EEP 4.1.0 release, you can
use the insertToMapRDB
API to insert an Apache Spark DataFrame into a Data Fabric Database JSON table in Python. The
insertToMapRDB
API throws an exception if a row with the same ID already
exists.
PySpark supports only DataFrame(Dataset<Row>):
sparkSession.insertToMapRDB(df, tableName, idFieldPath, bulkInsert)