Skip to content

Commit 8f8f778

Browse files
authored
chore: Update version to 0.2.0 and add 0.1.0 changelog (#696)
* Generate changelog * fix error in release verification script * Change version from 0.1.0 to 0.2.0 * add changelog page and update release instructions * address feedback
1 parent 69997fe commit 8f8f778

File tree

18 files changed

+484
-24
lines changed

18 files changed

+484
-24
lines changed

.github/actions/setup-spark-builder/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ inputs:
2929
comet-version:
3030
description: 'The Comet version to use for Spark'
3131
required: true
32-
default: '0.1.0-SNAPSHOT'
32+
default: '0.2.0-SNAPSHOT'
3333
runs:
3434
using: "composite"
3535
steps:

.github/workflows/spark_sql_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
spark-version: ${{ matrix.spark-version.full }}
7373
spark-short-version: ${{ matrix.spark-version.short }}
74-
comet-version: '0.1.0-SNAPSHOT' # TODO: get this from pom.xml
74+
comet-version: '0.2.0-SNAPSHOT' # TODO: get this from pom.xml
7575
- name: Run Spark tests
7676
run: |
7777
cd apache-spark

.github/workflows/spark_sql_test_ansi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
spark-version: ${{ matrix.spark-version.full }}
7171
spark-short-version: ${{ matrix.spark-version.short }}
72-
comet-version: '0.1.0-SNAPSHOT' # TODO: get this from pom.xml
72+
comet-version: '0.2.0-SNAPSHOT' # TODO: get this from pom.xml
7373
- name: Run Spark tests
7474
run: |
7575
cd apache-spark

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
20+
# Apache DataFusion Comet Changelog
21+
22+
Comprehensive changelogs for each release are available [here](dev/changelog).

common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ under the License.
2626
<parent>
2727
<groupId>org.apache.comet</groupId>
2828
<artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId>
29-
<version>0.1.0-SNAPSHOT</version>
29+
<version>0.2.0-SNAPSHOT</version>
3030
<relativePath>../pom.xml</relativePath>
3131
</parent>
3232

dev/changelog/0.1.0.md

+425
Large diffs are not rendered by default.

dev/release/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ git push apache branch-0.1
5151

5252
Create and merge a PR against the release branch to update the Maven version from `0.1.0-SNAPSHOT` to `0.1.0`
5353

54+
### Update Version in main
55+
56+
Create a PR against the main branch to update the Rust crate version to `0.2.0` and the Maven version to `0.2.0-SNAPSHOT`.
57+
5458
### Generate the Change Log
5559

5660
Generate a change log to cover changes between the previous release and the release branch HEAD by running
@@ -88,10 +92,6 @@ git tag 0.1.0-rc1
8892
git push apache 0.1.0-rc1
8993
```
9094

91-
### Update Version in main
92-
93-
Create a PR against the main branch to update the Rust crate version to `0.2.0` and the Maven version to `0.2.0-SNAPHOT`.
94-
9595
## Publishing the Release Candidate
9696

9797
This part of the process can mostly only be performed by a PMC member.

dev/release/verify-release-candidate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ setup_tempdir() {
107107

108108
test_source_distribution() {
109109
set -e
110-
pushd core
110+
pushd native
111111
RUSTFLAGS="-Ctarget-cpu=native" cargo build --release
112112
popd
113113
# test with the latest supported version of Spark

dev/release/verifying-release-candidates.md

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ again is somewhat redundant.
2828
./dev/release/verify-release-candidate.sh 0.1.0 1
2929
```
3030

31+
The following command can be used to build a release for testing.
32+
33+
```shell
34+
make release-nogit
35+
```
36+
3137
We hope that users will verify the release beyond running this script by testing the release candidate with their
3238
existing Spark jobs and report any functional issues or performance regressions.
3339

docs/source/user-guide/installation.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,18 @@ Make sure the following requirements are met and software installed on your mach
3232
- JDK 8 and up
3333
- GLIBC 2.17 (Centos 7) and up
3434

35-
## Using a Published Release
35+
## Using a Published Binary Release
3636

37-
There are no public releases available yet, so it is necessary to build from source as described in the next section.
37+
There are no published binary releases yet.
3838

39-
## Building From Source
39+
## Using a Published Source Release
40+
41+
Official source releases can be downloaded from https://dist.apache.org/repos/dist/release/datafusion/
42+
43+
Building from a source release is mostly the same as building directly from the GitHub repository but requires the
44+
use of the command `make release-nogit` instead of `make release`.
45+
46+
## Building from the GitHub repository
4047

4148
Clone the repository:
4249

fuzz-testing/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ under the License.
2525
<parent>
2626
<groupId>org.apache.comet</groupId>
2727
<artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId>
28-
<version>0.1.0-SNAPSHOT</version>
28+
<version>0.2.0-SNAPSHOT</version>
2929
<relativePath>../pom.xml</relativePath>
3030
</parent>
3131

native/Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ members = ["core", "spark-expr", "proto"]
2020
resolver = "2"
2121

2222
[workspace.package]
23-
version = "0.1.0"
23+
version = "0.2.0"
2424
homepage = "https://datafusion.apache.org/comet"
2525
repository = "https://github.com/apache/datafusion-comet"
2626
authors = ["Apache DataFusion <[email protected]>"]
@@ -46,8 +46,8 @@ datafusion-expr = { git = "https://github.com/apache/datafusion.git", rev = "40.
4646
datafusion-physical-plan = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0", default-features = false }
4747
datafusion-physical-expr-common = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0", default-features = false }
4848
datafusion-physical-expr = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0", default-features = false }
49-
datafusion-comet-spark-expr = { path = "spark-expr", version = "0.1.0" }
50-
datafusion-comet-proto = { path = "proto", version = "0.1.0" }
49+
datafusion-comet-spark-expr = { path = "spark-expr", version = "0.2.0" }
50+
datafusion-comet-proto = { path = "proto", version = "0.2.0" }
5151
chrono = { version = "0.4", default-features = false, features = ["clock"] }
5252
chrono-tz = { version = "0.8" }
5353
num = "0.4"

native/core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "datafusion-comet"
20-
version = "0.1.0"
20+
version = { workspace = true }
2121
homepage = "https://datafusion.apache.org/comet"
2222
repository = "https://github.com/apache/datafusion-comet"
2323
authors = ["Apache DataFusion <[email protected]>"]

native/proto/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "datafusion-comet-proto"
20-
version = "0.1.0"
20+
version = { workspace = true }
2121
homepage = "https://datafusion.apache.org/comet"
2222
repository = "https://github.com/apache/datafusion-comet"
2323
authors = ["Apache DataFusion <[email protected]>"]

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ under the License.
2525
<modelVersion>4.0.0</modelVersion>
2626
<groupId>org.apache.comet</groupId>
2727
<artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId>
28-
<version>0.1.0-SNAPSHOT</version>
28+
<version>0.2.0-SNAPSHOT</version>
2929
<packaging>pom</packaging>
3030
<name>Comet Project Parent POM</name>
3131

spark-integration/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ under the License.
2626
<parent>
2727
<groupId>org.apache.comet</groupId>
2828
<artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId>
29-
<version>0.1.0-SNAPSHOT</version>
29+
<version>0.2.0-SNAPSHOT</version>
3030
<relativePath>../pom.xml</relativePath>
3131
</parent>
3232

spark/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ under the License.
2626
<parent>
2727
<groupId>org.apache.comet</groupId>
2828
<artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId>
29-
<version>0.1.0-SNAPSHOT</version>
29+
<version>0.2.0-SNAPSHOT</version>
3030
<relativePath>../pom.xml</relativePath>
3131
</parent>
3232

0 commit comments

Comments
 (0)