This is an automated email from the ASF dual-hosted git repository.

Abacn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new a5238291749 [Go SDK] Replace deprecated reflect.PtrTo in schema test 
(#40544)
a5238291749 is described below

commit a52382917495b3cf0dcb97feb96d9e315f87a33f
Author: Elia Liu <[email protected]>
AuthorDate: Tue Oct 13 14:09:35 2026 +1100

    [Go SDK] Replace deprecated reflect.PtrTo in schema test (#40544)
---
 sdks/go/pkg/beam/core/runtime/graphx/schema/schema_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/go/pkg/beam/core/runtime/graphx/schema/schema_test.go 
b/sdks/go/pkg/beam/core/runtime/graphx/schema/schema_test.go
index 56386954629..08916e3898d 100644
--- a/sdks/go/pkg/beam/core/runtime/graphx/schema/schema_test.go
+++ b/sdks/go/pkg/beam/core/runtime/graphx/schema/schema_test.go
@@ -1116,7 +1116,7 @@ func TestToType_UnregisteredTopLevelLogicalType(t 
*testing.T) {
                                t.Run(name, func(t *testing.T) {
                                        opts, want := test.opts, storage
                                        if nillable {
-                                               opts, want = 
append(append([]*pipepb.Option{}, opts...), optGoNillable()), 
reflect.PtrTo(storage)
+                                               opts, want = 
append(append([]*pipepb.Option{}, opts...), optGoNillable()), 
reflect.PointerTo(storage)
                                        }
                                        s := &pipepb.Schema{Id: "unregistered-" 
+ name, Options: opts, Fields: fields}
                                        got, err := reg.ToType(s)

Reply via email to