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

   `main` doesn't compile at the moment:
   
   ```
   table/conflict_validation.go:63:2: 
"github.com/apache/iceberg-go/internal/uuid" imported and not used
   ```
   
   #2764 switched the canonical partition key code in `conflict_validation.go` 
to `internal/uuid`, and #2749 then moved that code into 
`table/internal/partition_key.go`. Each passed CI on its own, but together they 
leave an unused import in `conflict_validation.go`. The moved code also still 
imported `github.com/google/uuid` directly, and since #2766 `iceberg.UUID` is 
the standard library type on Go 1.27 and later, so its `case uuid.UUID` no 
longer matched UUID partition values there. Conflict validation, compaction 
grouping and delete matching would then reject UUID partitions with 
"unsupported partition value type".
   
   This removes the unused import and switches `partition_key.go` and its test 
to `internal/uuid`.
   
   `go build ./...`, `go vet ./table/...`, `go test ./table/internal` and `go 
test ./table -run 'Conflict|Partition|UUID|Compaction|EqualityDelete|DV'` pass 
on both go1.27.1 and go1.26.8, and `golangci-lint run ./table/...` reports 0 
issues. #2780's depguard rule would have caught the direct import.
   


-- 
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