You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ze...@apache.org on 2025/10/22 17:29:34 UTC
(arrow-go) branch main updated: fix: update iceberg substrait URN (#541)
This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git
The following commit(s) were added to refs/heads/main by this push:
new a489ef01 fix: update iceberg substrait URN (#541)
a489ef01 is described below
commit a489ef0147d697eefa561639da7177014703e584
Author: Matt Topol <zo...@gmail.com>
AuthorDate: Wed Oct 22 13:29:28 2025 -0400
fix: update iceberg substrait URN (#541)
### Rationale for this change
Updating the correct URN for the is_in function with substrait based on
the updated URN style
---
arrow/compute/exprs/types.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrow/compute/exprs/types.go b/arrow/compute/exprs/types.go
index c8b798ac..58fa1e94 100644
--- a/arrow/compute/exprs/types.go
+++ b/arrow/compute/exprs/types.go
@@ -42,7 +42,7 @@ const (
SubstraitComparisonFuncsURI = SubstraitDefaultURIPrefix + "functions_comparison"
SubstraitBooleanFuncsURI = SubstraitDefaultURIPrefix + "functions_boolean"
- SubstraitIcebergSetFuncURI = "https://github.com/apache/iceberg-go/blob/main/table/substrait/functions_set.yaml"
+ SubstraitIcebergSetFuncURN = "extension:apache.iceberg:functions_set"
TimestampTzTimezone = "UTC"
)
@@ -132,7 +132,7 @@ func init() {
for _, fn := range []string{"is_in"} {
err := DefaultExtensionIDRegistry.AddSubstraitScalarToArrow(
- extensions.ID{URN: SubstraitIcebergSetFuncURI, Name: fn},
+ extensions.ID{URN: SubstraitIcebergSetFuncURN, Name: fn},
setLookupFuncSubstraitToArrowFunc)
if err != nil {
panic(err)