@@ -60,29 +60,32 @@ The Almaren Framework provides a simplified consistent minimalistic layer over A
60
60
To add Almaren Framework dependency to your sbt build:
61
61
62
62
```
63
- libraryDependencies += "com.github.music-of-the-ainur" %% "almaren-framework" % "0.9.10 -3.1"
63
+ libraryDependencies += "com.github.music-of-the-ainur" %% "almaren-framework" % "0.9.11 -3.1"
64
64
```
65
65
66
66
To run in spark-shell:
67
67
68
68
```
69
- spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10 -3.1"
69
+ spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11 -3.1"
70
70
```
71
71
72
72
Almaren Connector is available in
73
73
[ Maven Central] ( https://mvnrepository.com/artifact/com.github.music-of-the-ainur )
74
74
repository.
75
75
76
- | version | Connector Artifact |
77
- | ----------------------------| ------------------------------------------------------------------|
78
- | Spark 3.4.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.10-3.4 ` |
79
- | Spark 3.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.4 ` |
80
- | Spark 3.3.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.10-3.3 ` |
81
- | Spark 3.3.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.3 ` |
82
- | Spark 3.2.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.2 ` |
83
- | Spark 3.1.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.1 ` |
84
- | Spark 2.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-2.4 ` |
85
- | Spark 2.4.x and scala 2.11 | ` com.github.music-of-the-ainur:almaren-framework_2.11:0.9.10-2.4 ` |
76
+ | version | Connector Artifact |
77
+ | ----------------------------| -------------------------------------------------------------------|
78
+ | Spark 3.5.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.5 ` |
79
+ | Spark 3.5.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.5 ` |
80
+ | Spark 3.4.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.4 ` |
81
+ | Spark 3.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.4 ` |
82
+ | Spark 3.3.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.3 ` |
83
+ | Spark 3.3.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.3 ` |
84
+ | Spark 3.2.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.2 ` |
85
+ | Spark 3.1.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.1 ` |
86
+ | Spark 2.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-2.4 ` |
87
+ | Spark 2.4.x and scala 2.11 | ` com.github.music-of-the-ainur:almaren-framework_2.11:0.9.11-2.4 ` |
88
+
86
89
87
90
### Batch Example
88
91
``` scala
@@ -352,6 +355,12 @@ Cache/Uncache both DataFrame or Table
352
355
cache(true )
353
356
```
354
357
358
+ Cache Dataframe with Storage Level
359
+
360
+ ``` scala
361
+ cache(true ,storageLevel = MEMORY_AND_DISK )
362
+ ```
363
+
355
364
#### Coalesce
356
365
357
366
Decrease the number of partitions in the RDD to numPartitions. Useful for running operations more efficiently after filtering down a large dataset.
0 commit comments