laskoviymishka opened a new pull request, #2792:
URL: https://github.com/apache/iceberg-go/pull/2792

   Main has been red on the go1.27.1 jobs (ubuntu, macos) and the linux/s390x 
cross-compile since #2487 landed. That's my merge, sorry about that. The new 
`identityPartitionValue` switches on `github.com/google/uuid`'s `UUID` and 
passes it to `iceberg.NewLiteral`. `iceberg.UUID` only aliases that type before 
go1.27. On go1.27 it's the standard library's `uuid.UUID`, so the case stops 
satisfying `iceberg.LiteralType` and `table` doesn't compile:
   
   ```
   table/arrow_scanner.go:2878:27: "github.com/google/uuid".UUID does not 
satisfy iceberg.LiteralType
   ```
   
   The PR's own go1.27.1 checks passed because each change builds fine on its 
own. The break only shows up once both are on main.
   
   The fix switches on `iceberg.UUID`, so the case follows whichever type the 
toolchain picks, and drops the direct google/uuid import. I also added a small 
unit test for the UUID branch, which had no coverage before. Vet (with and 
without `-tags integration`) and the `table` tests pass on go1.26.8 and 
go1.27.1, and `GOOS=linux GOARCH=s390x go build ./...` builds.
   
   This pull request and its description were written by Isaac.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to