Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Cannot use some go types after upgrade (uint8) #465

Open
vbmithr opened this issue Jan 6, 2023 · 0 comments
Open

Cannot use some go types after upgrade (uint8) #465

vbmithr opened this issue Jan 6, 2023 · 0 comments

Comments

@vbmithr
Copy link

vbmithr commented Jan 6, 2023

panic: cannot convert Go values of type uint8 to parquet value

goroutine 1 [running]:
github.com/segmentio/parquet-go.writeRowsFuncOf({0x965a40, 0x826660}, 0x0?, {0xc00021c0a0, 0x1, 0x1})
        /home/vb/go/pkg/mod/github.com/segmentio/[email protected]/column_buffer_go18.go:73 +0x486
github.com/segmentio/parquet-go.writeRowsFuncOfStruct({0x965a40?, 0x87d7a0?}, 0x0?, {0x0, 0x0, 0x0?})
        /home/vb/go/pkg/mod/github.com/segmentio/[email protected]/column_buffer_go18.go:305 +0x33a
github.com/segmentio/parquet-go.writeRowsFuncOf({0x965a40, 0x87d7a0}, 0x0?, {0x0, 0x0, 0x0})
        /home/vb/go/pkg/mod/github.com/segmentio/[email protected]/column_buffer_go18.go:67 +0x39e
github.com/segmentio/parquet-go.makeWriteFunc[...]({0x965a40, 0x87d7a0?}, 0x0?)
        /home/vb/go/pkg/mod/github.com/segmentio/[email protected]/writer_go18.go:125 +0x3c
github.com/segmentio/parquet-go.writeFuncOf[...]({0x965a40, 0x87d7a0}, 0x0)

After some upgrade, I got this. Why is converting uint8 values is a problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant