From 51ec42a8bb30f24aa8fc4bbfdb145903ee04a626 Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Mon, 25 Mar 2024 12:59:25 -0400 Subject: [PATCH] chore(substrait): bump to v0.45.0 (#51) --- src/substrait/__init__.py | 4 ++-- .../extensions/functions_arithmetic_decimal.yaml | 16 ++++++++++++++++ third_party/substrait | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/substrait/__init__.py b/src/substrait/__init__.py index 9f3ff02..9536065 100644 --- a/src/substrait/__init__.py +++ b/src/substrait/__init__.py @@ -3,6 +3,6 @@ except ImportError: pass -__substrait_version__ = "0.44.0" -__substrait_hash__ = "2e12da1" +__substrait_version__ = "0.45.0" +__substrait_hash__ = "5425ba3" __minimum_substrait_version__ = "0.30.0" diff --git a/src/substrait/extensions/functions_arithmetic_decimal.yaml b/src/substrait/extensions/functions_arithmetic_decimal.yaml index 0fc4caa..a0f93db 100644 --- a/src/substrait/extensions/functions_arithmetic_decimal.yaml +++ b/src/substrait/extensions/functions_arithmetic_decimal.yaml @@ -149,3 +149,19 @@ aggregate_functions: decomposable: MANY intermediate: "DECIMAL?" return: "DECIMAL?" + - name: "sum0" + description: > + Sum a set of values. The sum of zero elements yields zero. + + Null values are ignored. + impls: + - args: + - name: x + value: "DECIMAL" + options: + overflow: + values: [ SILENT, SATURATE, ERROR ] + nullability: DECLARED_OUTPUT + decomposable: MANY + intermediate: "DECIMAL<38,S>" + return: "DECIMAL<38,S>" diff --git a/third_party/substrait b/third_party/substrait index 2e12da1..5425ba3 160000 --- a/third_party/substrait +++ b/third_party/substrait @@ -1 +1 @@ -Subproject commit 2e12da1b9915eea01f12ece0be9c37afa1384f74 +Subproject commit 5425ba3a4618d0c83cbef94086bd96e97a708dcc