Implicit class to easily invoke JDBC provider on SparkSession and avoid double query execution of pushdown queries (one for schema determination and other the actual query).
Implicit class to easily invoke JDBC provider on SparkSession and avoid double query execution of pushdown queries (one for schema determination and other the actual query).
Instead of: spark.read.jdbc(jdbcUrl, "(pushdown query) q1", properties) one can simply do spark.snappyQuery(query). This will also register dialects that avoid double execution, use proper JDBC driver argument to avoid ClassNotFound errors. In addition this provides "snappyExecute" implicits for non-query executions that will return an update count.
Implicit class to easily invoke DataFrameWriter operations on SnappyData's JDBC provider.
Implicit class to easily invoke DataFrameWriter operations on SnappyData's JDBC provider.
Instead of: spark.write.jdbc(url, table, properties) one can simply do spark.write.snappy(table). This will also register dialects for proper type conversions, use proper JDBC driver argument to avoid ClassNotFound errors.
In future this will also provide spark.write.snappyPut(table) to perform a PUT INTO.
Base implementation of various dialect implementations for SnappyData.
Default dialect for SnappyData using pooled client Driver.
Default dialect for SnappyData using pooled client Driver.