Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Yikun committed Jun 26, 2023
1 parent a16cd1a commit 62a5132
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spark/README-short.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters.
Apache Spark - A unified analytics engine for large-scale data processing
11 changes: 6 additions & 5 deletions spark/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,42 @@ Apache Spark™ is a multi-language engine for executing data engineering, data
%%LOGO%%

## Online Documentation

You can find the latest Spark documentation, including a programming guide, on the [project web page](https://spark.apache.org/documentation.html). This README file only contains basic setup instructions.

## Interactive Scala Shell

The easiest way to start using Spark is through the Scala shell:

```
```console
docker run -it spark /opt/spark/bin/spark-shell
```

Try the following command, which should return 1,000,000,000:

```
```scala
scala> spark.range(1000 * 1000 * 1000).count()
```

## Interactive Python Shell

The easiest way to start using PySpark is through the Python shell:

```
```console
docker run -it spark:python3 /opt/spark/bin/pyspark
```

And run the following command, which should also return 1,000,000,000:

```
```python
>>> spark.range(1000 * 1000 * 1000).count()
```

## Interactive R Shell

The easiest way to start using R on Spark is through the R shell:

```
```console
docker run -it apache/spark-r /opt/spark/bin/sparkR
```

Expand Down

0 comments on commit 62a5132

Please sign in to comment.