Skip to content

Commit

Permalink
Explain why ParquetFlog was necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-bijapur committed Dec 14, 2023
1 parent 087c0f0 commit 27bfe5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ type Flog struct {
Referer string `json:"referer"`
}

// Same as `Flog`, but all fields are pointers, because `parquet-go` is only
// working when fields are pointers.
type ParquetFlog struct {
Host *string `parquet:"name=host, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
UserId *string `parquet:"name=user-identifier, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
Expand Down

0 comments on commit 27bfe5d

Please sign in to comment.