Skip to content

Commit 52e3438

Browse files
authored
chore(substrait): bump to v0.71.0 (#75)
1 parent 6f79b67 commit 52e3438

15 files changed

+596
-327
lines changed

src/substrait/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
except ImportError:
44
pass
55

6-
__substrait_version__ = "0.66.1"
7-
__substrait_hash__ = "ff013aa"
6+
__substrait_version__ = "0.71.0"
7+
__substrait_hash__ = "413c7c8"
88
__minimum_substrait_version__ = "0.30.0"

src/substrait/builders/type.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def fixed_binary(length: int, nullable=True) -> stt.Type:
5555
def decimal(scale: int, precision: int, nullable=True) -> stt.Type:
5656
return stt.Type(decimal=stt.Type.Decimal(scale=scale, precision=precision, nullability=stt.Type.NULLABILITY_NULLABLE if nullable else stt.Type.NULLABILITY_REQUIRED))
5757

58-
# PrecisionTime
58+
def precision_time(precision: int, nullable=True) -> stt.Type:
59+
return stt.Type(precision_time=stt.Type.PrecisionTime(precision=precision, nullability=stt.Type.NULLABILITY_NULLABLE if nullable else stt.Type.NULLABILITY_REQUIRED))
5960

6061
def precision_timestamp(precision: int, nullable=True) -> stt.Type:
6162
return stt.Type(precision_timestamp=stt.Type.PrecisionTimestamp(precision=precision, nullability=stt.Type.NULLABILITY_NULLABLE if nullable else stt.Type.NULLABILITY_REQUIRED))

src/substrait/extensions/functions_datetime.yaml

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/substrait/extensions/functions_rounding_decimal.yaml

Lines changed: 82 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/substrait/gen/proto/algebra_pb2.py

Lines changed: 148 additions & 144 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)