Skip to content

Commit 19873df

Browse files
Merge pull request #109 from astrolabsoftware/0.3.0
Bump version: 0.2.2 --> 0.3.0
2 parents 8b35c67 + 5e19ffd commit 19873df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+70
-534
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.3.0
2+
3+
- Complete change of the interface ([PR](https://github.com/astrolabsoftware/spark3D/pull/108)). This includes:
4+
- DataFrame API
5+
- Extension of the Spark SQL module (new methods + implicits on DataFrame)
6+
- Metadata are propagated (not just 3D coordinates).
7+
- Seamless interface with Python
8+
- Compiling against Apache Spark 2.3.2: fix incompatibilities ([PR](https://github.com/astrolabsoftware/spark3D/pull/107))
9+
- Website update: spark-fits version + vulnerability fix ([PR](https://github.com/astrolabsoftware/spark3D/pull/105))
10+
- Fix wrong angle definition in cartesian to spherical coordinate change! ([PR](https://github.com/astrolabsoftware/spark3D/pull/102))
11+
12+
113
## 0.2.2
214

315
- Add the conversion from FITS file (single HDU) to parquet ([PR](https://github.com/astrolabsoftware/spark3D/pull/92))

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [07/2018] **Release**: version 0.1.3, 0.1.4, 0.1.5
1313
- [08/2018] **Release**: version 0.2.0, 0.2.1 (pyspark3d)
1414
- [09/2018] **Release**: version 0.2.2
15+
- [11/2018] **Release**: version 0.3.0 (new DataFrame API)
1516

1617
<p align="center"><img width="300" src="https://github.com/astrolabsoftware/spark3D/raw/master/pic/spark3d_newapi.png"/>
1718
</p>

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Julien Peloton
2+
* Copyright 2018 AstroLab Software
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ import xerial.sbt.Sonatype._
1919
lazy val root = (project in file(".")).
2020
settings(
2121
inThisBuild(List(
22-
version := "0.2.2"
22+
version := "0.3.0"
2323
)),
2424
// Name of the application
2525
name := "spark3D",
@@ -46,7 +46,7 @@ lazy val root = (project in file(".")).
4646
"org.apache.spark" %% "spark-core" % "2.3.2" % "provided",
4747
"org.apache.spark" %% "spark-sql" % "2.3.2" % "provided",
4848
// For loading FITS files
49-
"com.github.astrolabsoftware" %% "spark-fits" % "0.7.0",
49+
"com.github.astrolabsoftware" %% "spark-fits" % "0.7.1",
5050
// "org.datasyslab" % "geospark" % "1.1.3",
5151
// Uncomment if you want to trigger visualisation
5252
// "com.github.haifengl" % "smile-plot" % "1.5.1",

docs/01_installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ another version, feel free to contact us. In addition to Spark, the library has
2020
You can link spark3D to your project (either `spark-shell` or `spark-submit`) by specifying the coordinates:
2121

2222
```bash
23-
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark3d_2.11:0.2.2" <...>
23+
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark3d_2.11:0.3.0" <...>
2424
```
2525

2626
It might not contain the latest features though (see *Building from source*).
@@ -69,7 +69,7 @@ result on the screen, plus details of the coverage at
6969
First produce a jar of the spark3D library, and then launch a spark-shell by specifying the external dependencies:
7070

7171
```bash
72-
toto:~$ JARS="target/scala-2.11/spark3d_2.11-0.2.2.jar,lib/jhealpix.jar"
72+
toto:~$ JARS="target/scala-2.11/spark3d_2.11-0.3.0.jar,lib/jhealpix.jar"
7373
toto:~$ PACKAGES="com.github.astrolabsoftware:spark-fits_2.11:0.7.0"
7474
toto:~$ spark-shell --jars $JARS --packages $PACKAGES
7575
```
@@ -83,7 +83,7 @@ scala> // etc...
8383
Note that if you make a fat jar (that is building with `sbt ++${SCALA_VERSION} assembly` and not `sbt ++${SCALA_VERSION} package`), you do not need to specify external dependencies as they are already included in the resulting jar:
8484

8585
```bash
86-
toto:~$ FATJARS="target/scala-2.11/spark3D-assembly-0.2.2.jar"
86+
toto:~$ FATJARS="target/scala-2.11/spark3D-assembly-0.3.0.jar"
8787
toto:~$ spark-shell --jars $FATJARS
8888
```
8989

@@ -188,7 +188,7 @@ and then launch a pyspark shell:
188188

189189
```bash
190190
toto:~$ PYSPARK_DRIVER_PYTHON=ipython pyspark \
191-
--jars /path/to/target/scala-2.11/spark3D-assembly-0.2.2.jar
191+
--jars /path/to/target/scala-2.11/spark3D-assembly-0.3.0.jar
192192
```
193193

194194
# Batch mode and provided examples

docs/_pages/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ header:
88
cta_url: "/docs/installation/"
99
caption:
1010
intro:
11-
- excerpt: '<p><font size="6">Spark extension for processing large-scale 3D data sets: Astrophysics, High Energy Physics, Meteorology, ...</font></p><br /><a href="https://github.com/astrolabsoftware/spark3D/releases/tag/0.2.2">Latest release v0.2.2</a>'
11+
- excerpt: '<p><font size="6">Spark extension for processing large-scale 3D data sets: Astrophysics, High Energy Physics, Meteorology, ...</font></p><br /><a href="https://github.com/astrolabsoftware/spark3D/releases/tag/0.3.0">Latest release v0.3.0</a>'
1212
excerpt: '{::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=astrolabsoftware&repo=spark3D&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=astrolabsoftware&repo=spark3D&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
1313
feature_row:
1414
- image_path:

pyspark3d/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 Julien Peloton
1+
# Copyright 2018 AstroLab Software
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

pyspark3d/checkers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 Julien Peloton
1+
# Copyright 2018 AstroLab Software
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

pyspark3d/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 Julien Peloton
1+
# Copyright 2018 AstroLab Software
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

pyspark3d/geometryObjects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 Julien Peloton
1+
# Copyright 2018 AstroLab Software
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

pyspark3d/pyspark3d_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 Julien Peloton
1+
# Copyright 2018 AstroLab Software
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)