@@ -61,33 +61,35 @@ The Almaren Framework provides a simplified consistent minimalistic layer over A
61
61
To add Almaren Framework dependency to your sbt build:
62
62
63
63
```
64
- libraryDependencies += "com.github.music-of-the-ainur" %% "almaren-framework" % "0.9.10 -3.3"
64
+ libraryDependencies += "com.github.music-of-the-ainur" %% "almaren-framework" % "0.9.11 -3.3"
65
65
```
66
66
67
67
To run in spark-shell:
68
68
For scala version-2.12:
69
69
```
70
- spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10 -3.3"
70
+ spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11 -3.3"
71
71
```
72
72
For scala version-2.13:
73
73
```
74
- spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.13:0.9.10 -3.3"
74
+ spark-shell --packages "com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11 -3.3"
75
75
```
76
76
77
77
Almaren connector is available in
78
78
[ Maven Central] ( https://mvnrepository.com/artifact/com.github.music-of-the-ainur )
79
79
repository.
80
80
81
- | version | Connector Artifact |
82
- | ----------------------------| ------------------------------------------------------------------|
83
- | Spark 3.4.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.10-3.4 ` |
84
- | Spark 3.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.4 ` |
85
- | Spark 3.3.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.10-3.3 ` |
86
- | Spark 3.3.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.3 ` |
87
- | Spark 3.2.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.2 ` |
88
- | Spark 3.1.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-3.1 ` |
89
- | Spark 2.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.10-2.4 ` |
90
- | Spark 2.4.x and scala 2.11 | ` com.github.music-of-the-ainur:almaren-framework_2.11:0.9.10-2.4 ` |
81
+ | version | Connector Artifact |
82
+ | ----------------------------| -------------------------------------------------------------------|
83
+ | Spark 3.5.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.5 ` |
84
+ | Spark 3.5.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.5 ` |
85
+ | Spark 3.4.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.4 ` |
86
+ | Spark 3.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.4 ` |
87
+ | Spark 3.3.x and scala 2.13 | ` com.github.music-of-the-ainur:almaren-framework_2.13:0.9.11-3.3 ` |
88
+ | Spark 3.3.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.3 ` |
89
+ | Spark 3.2.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.2 ` |
90
+ | Spark 3.1.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-3.1 ` |
91
+ | Spark 2.4.x and scala 2.12 | ` com.github.music-of-the-ainur:almaren-framework_2.12:0.9.11-2.4 ` |
92
+ | Spark 2.4.x and scala 2.11 | ` com.github.music-of-the-ainur:almaren-framework_2.11:0.9.11-2.4 ` |
91
93
92
94
### Batch Example
93
95
``` scala
@@ -357,6 +359,12 @@ Cache/Uncache both DataFrame or Table
357
359
cache(true )
358
360
```
359
361
362
+ Cache Dataframe with Storage Level
363
+
364
+ ``` scala
365
+ cache(true ,storageLevel = MEMORY_AND_DISK )
366
+ ```
367
+
360
368
#### Coalesce
361
369
362
370
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