Skip to content

Commit 204a889

Browse files
updated goals
1 parent ca4d3ba commit 204a889

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Original Creator of Apache Spark <br>
3131

3232
### Author: [Mahmoud Parsian](https://www.linkedin.com/in/mahmoudparsian/)
3333

34-
### Goal of this book: enable writing efficient & simpler PySpark code for data algorithms using Spark
34+
### [Goal of this book: Data Algorithms with Spark](./docs/goal_of_book.md)
3535

3636
### [Story of this book: Data Algorithms with Spark](./docs/story_of_book.md)
3737

code/chap10/python/minmax_use_mappartitions_v2.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#-----------------------------------------------------
44
# @author Mahmoud Parsian
55
#-----------------------------------------------------
6-
export SPARK_HOME="/book/spark-3.2.0"
6+
export SPARK_HOME="/book/spark-3.4.0"
77
export INPUT_PATH="/book/code/chap10/sample_numbers.txt"
8-
export SPARK_PROG="/book/code/chap10/minmax_use_mappartitions.py"
8+
export SPARK_PROG="/book/code/chap10/minmax_use_mappartitions_v2.py"
99
#
1010
# run the PySpark program:
1111
$SPARK_HOME/bin/spark-submit $SPARK_PROG $INPUT_PATH

docs/goal_of_book.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Goal of this book: Data Algorithms with Spark
2+
3+
1. Keep it SIMPLE!
4+
5+
2. Goal of this book: enable writing efficient &
6+
simpler PySpark code for data algorithms using Spark
7+
8+
3. A lot of [working PySpark code](../code/) is provided
9+
so that the reader can understand how to use basic
10+
transformations on using RDDs and DataFrames
11+
12+
4. As much as possible, I have avoided writing complex
13+
code and functions: keep it simple so that you can
14+
debug easily and your co-workers can understand them.
15+
16+
5. CUT-and-PASTE: you may take portions of the [code](../code/)
17+
and tailor it to your needs
18+

0 commit comments

Comments
 (0)