Skip to content

Commit

Permalink
chore(substrait): bump to v0.52.0 (#60)
Browse files Browse the repository at this point in the history
Also updated the update script to automatically grab the latest tag from
the upstream releases
  • Loading branch information
gforsyth committed Jul 22, 2024
1 parent e99b921 commit 9fe371e
Show file tree
Hide file tree
Showing 8 changed files with 339 additions and 283 deletions.
4 changes: 2 additions & 2 deletions src/substrait/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
except ImportError:
pass

__substrait_version__ = "0.50.0"
__substrait_hash__ = "7dbbf04"
__substrait_version__ = "0.52.0"
__substrait_hash__ = "a68c1ac"
__minimum_substrait_version__ = "0.30.0"
9 changes: 7 additions & 2 deletions src/substrait/extensions/functions_aggregate_generic.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions src/substrait/extensions/functions_string.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

528 changes: 265 additions & 263 deletions src/substrait/gen/proto/algebra_pb2.py

Large diffs are not rendered by default.

36 changes: 30 additions & 6 deletions src/substrait/gen/proto/algebra_pb2.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/substrait/gen/proto/type_pb2.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions update_proto.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#!/bin/bash

if [[ -z "$1" ]]; then
echo "Usage: bash update.sh <version>" 1>&2
echo ""
echo "Example: bash update.sh v0.34.0" 1>&2
exit 1
if ! command -v curl > /dev/null 2>&1; then
echo "curl is required to grab the latest version tag"
fi

VERSION=$1
VERSION=$(curl -s https://api.github.com/repos/substrait-io/substrait/releases/latest | grep 'tag_name' | cut -d '"' -f 4)

echo "Updating substrait submodule..."
git submodule update --remote third_party/substrait
Expand Down

0 comments on commit 9fe371e

Please sign in to comment.