Open comunidadio opened 1 year ago
Looks like unmerged PR at https://github.com/segmentio/parquet-go/pull/472 could allow a workaround - tho not using time.Time directly but int64.
Apologies to make more work for you, but we've decided to move development on this project to a new organization at https://github.com/parquet-go/parquet-go to ensure its long term success. We appreciate your contribution and would appreciate if you could reopen this ticket there if it is still relevant.
When using GenericWriter[ExampleRow].Write, it panics with:
I also tried optional time.Time without pointer, assuming "zero" time (time.IsZero) would be counted as NULL, but it writes 'invalid' (zero) date to parquet instead (0001-01-01...). Perhaps handling time.IsZero as NULL is indeed a simpler/better way to handle optionality for timestamps.