badalprasadsingh commented on code in PR #524:
URL: https://github.com/apache/iceberg-go/pull/524#discussion_r2343038086


##########
manifest.go:
##########
@@ -1468,33 +1595,127 @@ func mapToAvroColMap[K comparable, V any](m map[K]V) 
*[]colMap[K, V] {
        return &out
 }
 
-func avroPartitionData(input map[int]any, logicalTypes 
map[int]avro.LogicalType) map[int]any {
+func avroPartitionData(input map[int]any, logicalTypes 
map[int]avro.LogicalType, fixedSizes map[int]int) map[int]any {

Review Comment:
   Well, the `avroPartitionData` func is used to write into the manifest in the 
`addEntry` func which would ultimately do the avro encoding by 
`w.writer.Encode(toEncode)`
   
   So, converting the partition values become a necessity here.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to