Skip to content

Commit 460f500

Browse files
chore: Bump github.com/substrait-io/substrait-go/v3 from 3.6.0 to 3.7.0 (#287)
Bumps [github.com/substrait-io/substrait-go/v3](https://github.com/substrait-io/substrait-go) from 3.6.0 to 3.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/substrait-io/substrait-go/releases">github.com/substrait-io/substrait-go/v3's releases</a>.</em></p> <blockquote> <h1>v3.7.0 (2025-02-16)</h1> <h3>Features</h3> <ul> <li>add support for NewDecimalFromApdDecimal (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/119">#119</a>) (<a href="https://github.com/substrait-io/substrait-go/commit/e64c78608a0cae9552e35bd4fea3efbe75e83049">e64c786</a>)</li> <li>load the default extension collection lazily (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/118">#118</a>) (<a href="https://github.com/substrait-io/substrait-go/commit/261dc94fc7c25ace64696e96e1f839f05075e200">261dc94</a>)</li> <li>Add AggregateRel.ToBuilder() (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/114">#114</a>) (<a href="https://github.com/substrait-io/substrait-go/commit/3be7ba38b3cae32415fa528bd22859feee820677">3be7ba3</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/substrait-io/substrait-go/commit/e64c78608a0cae9552e35bd4fea3efbe75e83049"><code>e64c786</code></a> feat: add support for NewDecimalFromApdDecimal (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/119">#119</a>)</li> <li><a href="https://github.com/substrait-io/substrait-go/commit/261dc94fc7c25ace64696e96e1f839f05075e200"><code>261dc94</code></a> feat: load the default extension collection lazily (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/118">#118</a>)</li> <li><a href="https://github.com/substrait-io/substrait-go/commit/3be7ba38b3cae32415fa528bd22859feee820677"><code>3be7ba3</code></a> feat: Add AggregateRel.ToBuilder() (<a href="https://redirect.github.com/substrait-io/substrait-go/issues/114">#114</a>)</li> <li>See full diff in <a href="https://github.com/substrait-io/substrait-go/compare/v3.6.0...v3.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/substrait-io/substrait-go/v3&package-manager=go_modules&previous-version=3.6.0&new-version=3.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Topol <[email protected]>
1 parent e888669 commit 460f500

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

arrow/compute/exprs/builders.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ import (
3636
// Arrow Extension registry and the default collection of substrait extensions
3737
// from the Substrait-go repo.
3838
func NewDefaultExtensionSet() ExtensionIDSet {
39-
return NewExtensionSetDefault(expr.NewEmptyExtensionRegistry(&extensions.DefaultCollection))
39+
return NewExtensionSetDefault(
40+
expr.NewEmptyExtensionRegistry(extensions.GetDefaultCollectionWithNoError()))
4041
}
4142

4243
// NewScalarCall constructs a substrait ScalarFunction expression with the provided

arrow/compute/exprs/exec.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func GetExtensionIDSet(ctx context.Context) ExtensionIDSet {
173173
v, ok := ctx.Value(extCtxKey{}).(ExtensionIDSet)
174174
if !ok {
175175
return NewExtensionSet(
176-
expr.NewEmptyExtensionRegistry(&extensions.DefaultCollection),
176+
expr.NewEmptyExtensionRegistry(extensions.GetDefaultCollectionWithNoError()),
177177
GetExtensionRegistry(ctx))
178178
}
179179
return v
@@ -434,7 +434,8 @@ func ExecuteScalarSubstrait(ctx context.Context, expression *expr.Extended, part
434434
}
435435

436436
reg := GetExtensionRegistry(ctx)
437-
set := NewExtensionSet(expr.NewExtensionRegistry(expression.Extensions, &extensions.DefaultCollection), reg)
437+
set := NewExtensionSet(expr.NewExtensionRegistry(expression.Extensions,
438+
extensions.GetDefaultCollectionWithNoError()), reg)
438439
sc, err := ToArrowSchema(expression.BaseSchema, set)
439440
if err != nil {
440441
return nil, err

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ require (
3939
github.com/pterm/pterm v0.12.80
4040
github.com/stoewer/go-strcase v1.3.0
4141
github.com/stretchr/testify v1.10.0
42-
github.com/substrait-io/substrait-go/v3 v3.6.0
42+
github.com/substrait-io/substrait-go/v3 v3.7.0
4343
github.com/tidwall/sjson v1.2.5
4444
github.com/zeebo/xxh3 v1.0.2
4545
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
164164
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
165165
github.com/substrait-io/substrait v0.66.1-0.20250205013839-a30b3e2d7ec6 h1:XqtxwYFCjS4L0o1QD4ipGHCuFG94U0f6BeldbilGQjU=
166166
github.com/substrait-io/substrait v0.66.1-0.20250205013839-a30b3e2d7ec6/go.mod h1:MPFNw6sToJgpD5Z2rj0rQrdP/Oq8HG7Z2t3CAEHtkHw=
167-
github.com/substrait-io/substrait-go/v3 v3.6.0 h1:t+mb4WskugKDVRqAZvV6Y0m34AQcDrd0cZ3NOXDcUjU=
168-
github.com/substrait-io/substrait-go/v3 v3.6.0/go.mod h1:VG7jCqtUm28bSngHwq86FywtU74knJ25LNX63SZ53+E=
167+
github.com/substrait-io/substrait-go/v3 v3.7.0 h1:rBxnPXTtxgPJTLpMvZgcEXuVyzmO0SkM2EpEUEvdN5s=
168+
github.com/substrait-io/substrait-go/v3 v3.7.0/go.mod h1:VG7jCqtUm28bSngHwq86FywtU74knJ25LNX63SZ53+E=
169169
github.com/tidwall/gjson v1.14.2 h1:6BBkirS0rAHjumnjHF6qgy5d2YAJ1TLIaFE2lzfOLqo=
170170
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
171171
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=

0 commit comments

Comments
 (0)