Skip to content

Commit a489ef0

Browse files
authored
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
1 parent c8d2478 commit a489ef0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arrow/compute/exprs/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const (
4242
SubstraitComparisonFuncsURI = SubstraitDefaultURIPrefix + "functions_comparison"
4343
SubstraitBooleanFuncsURI = SubstraitDefaultURIPrefix + "functions_boolean"
4444

45-
SubstraitIcebergSetFuncURI = "https://github.com/apache/iceberg-go/blob/main/table/substrait/functions_set.yaml"
45+
SubstraitIcebergSetFuncURN = "extension:apache.iceberg:functions_set"
4646
TimestampTzTimezone = "UTC"
4747
)
4848

@@ -132,7 +132,7 @@ func init() {
132132

133133
for _, fn := range []string{"is_in"} {
134134
err := DefaultExtensionIDRegistry.AddSubstraitScalarToArrow(
135-
extensions.ID{URN: SubstraitIcebergSetFuncURI, Name: fn},
135+
extensions.ID{URN: SubstraitIcebergSetFuncURN, Name: fn},
136136
setLookupFuncSubstraitToArrowFunc)
137137
if err != nil {
138138
panic(err)

0 commit comments

Comments
 (0)