When unloading a large amount of data from Databricks to SAS, the Java Virtual Machine (JVM) might run out of memory, which might cause an error message similar to the following to occur:
This issue occurs due to a memory allocation issue in the CData JDBC driver for Databricks (cdata-jdbc-databricks-23.0.8806.0.jar). This issue can occur when you use the driver version 23.0.8806.0, which is available on the SAS® Viya® platform.
You can reference this driver in a SAS/ACCESS Interface to Spark LIBNAME statement by either specifying platform=databricks without a driverClass option or by specifying the CData Java class directly (driverClasss='cdata.jdbc.databricks.DatabricksDriver').
The workaround for this issue is to use the Simba Spark JDBC driver for Databricks with the driverClass='com.databricks.client.jdbc.Driver' LIBNAME option. This driver is available from the databricks.com website.